Apache Configuration

From LinuxFanBoy

Jump to: navigation, search

Web / Internet services are the way people use computers these days.

Installing Apache

yum groupinstall "Web Server"


Configuring Apache

/etc/httpd/conf and conf.d
<Directory /var/www/html>
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    AuthType Basic
    AuthUserFile /etc/httpd/testpass
    Allow from all
</Directory>
/var/www/html
htpasswd
.htaccess
chkconfig --list httpd
service httpd restart
apachectl stop/start