Forum Moderators: phranque
What I'm wondering, is if this looks right? Particularly the allow from none part. (I replaced the domain name and directories with *** for this post)
DocumentRoot "/var/www/***/html"
ServerName www.***.com
<Directory "/var/www/***/html">
allow from none
Options +Indexes
</Directory>
ErrorLog /var/www/***/logs/error_log
LogLevel emerg
TransferLog /var/www/***/logs/access_log
ServerAlias example.com www.***.com ***.com
[edited by: jdMorgan at 2:53 pm (utc) on Oct. 23, 2006]
[edit reason] Example.com [/edit]
<Directory /var/www/*/html>
Order Deny,Allow
Allow from all
</Directory>
[httpd.apache.org...]
See the "Protect server files by default" section.