According to my school material as I understand it this should be a
basic httpd.conf file for a computer on an internal network. I'm
getting errors on DirectoryIndex, <Directory> directory Order
statement. I even copied these statements from the from the default
httpd.conf file. me?
#Global
User apache
Group apache
ServerName
www.blair.tld
ServerRoot /etc/httpd
DocumentRoot /var/www/html
Listen 80
ServerTokens OS
DirectoryIndex index.html index.cgi index.php index.html.var
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%
{UserAgent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log common
</IfModule>
<IfModule prefork.c>
StartServers 4
MinSpareServers 4
MaxSpareServers 10
MaxClients 200
</IfModule>
<Directory />
Order deny,allow
Deny from all
</Directory>
<Directory /var/www/html>
Order allow,deny
Allow from all
</Directory>