The main configuration file of Apache server is httpd.conf
Tag Archives: Linux
Apache Ports
http – port 80
https – port 443
Document Root
It is a location of files which are accessible by clients. By default, the Apache HTTP server in RedHat Enterprise Linux is configured to serve files from the /var/www/html/ directory.
Apache Stop
Use the following command to stop Apache service
service httpd stop
Apache Version
root@hp-Compaq-Presario-CQ40-Notebook-PC:~# apache2 -v
Server version: Apache/2.4.7 (Ubuntu)
Server built: Mar 10 2015 13:05:59
Apache Restart
Use the following command to restart Apache service
service httpd restart
Apache Start
Use the following command to start Apache service
service httpd start
Apache Types Of Virtual Hosts
Name-based
Name-based virtual host means that multiple names are running on each IP address.
IP-based.
IP-based virtual host means that a different IP address exists for each website served.
Most configurations are named-based because it only requires one IP address.
Apache Location Of Log Files
/var/log/httpd is the location of log files
Customize unity launcher Ubuntu 11.10
Install the CompizConfig Settings Manager (CCSM).
Hit Alt-F2 and input about:config and hit enter.