Advertisement
Advertisement
| 08.06.2008 at 01:02AM PDT, ID: 23624880 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: |
httpd.conf
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
virtuals.conf
<VirtualHost AAA.BBB.CCC.DDD:80>
ServerAdmin xxx@yyy.com
ServerName xxxx.com
DocumentRoot /serv/xxxx.com/www
HostnameLookups Off
UseCanonicalName Off
ServerSignature Off
<IfModule mod_userdir.c>
UserDir public_html
Include /etc/apache2/mod_userdir.conf
</IfModule>
<Directory "/serv/xxxx.com/www">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
|