Install Apache Web Server » History » Revision 8
Revision 7 (Neil Voss, 05/12/2010 02:56 PM) → Revision 8/14 (Christopher Irving, 05/17/2010 03:56 PM)
h1. Install Apache Web Server 1. Install the Apache Web Server with the YaST or yum utility. 2. Find "httpd.conf". This is /etc/httpd/conf/httpd.conf on CentOS and /etc/apache2/httpd.conf /etc/php5/apache2/httpd.conf on SuSE 3. Edit the "httpd.conf" configuration file with the following: <pre> DirectoryIndex index.htm index.shtm index.html index.shtml index.php HostnameLookups On </pre> *Note:* It may be possible to edit httpd.conf in YaST2 as well. 4. Restart the web server. <pre> apachectl restart or sudo /sbin/service httpd restart (ON CentOS/RHEL/Fedora) or /etc/sbin/rcapache2 /etc/init.d/apache2 restart (ON SuSE) or /sbin/service httpd restart </pre> If you want to start the web server automatically at boot on SuSE <pre> sudo /sbin/chkconfig apache2 on #SuSE sudo /sbin/chkconfig httpd on #CentOS/RHEL/Fedora </pre> ______ [[Configure php.ini|< Configure php.ini]] | [[Check php information|Check php information >]] ______