NameVirtualHost *
<VirtualHost *>
ServerAdmin turikiti@pet.707.to
DocumentRoot /var/www/html
DirectoryIndex index.html index.shtml index.htm
<Directory />
Options FollowSymLinks
AllowOverride none
</Directory>
<Directory /var/www/html>
Options Includes Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /index.shtml #/apache2-default/
</Directory>
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
<Directory "/var/www/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
SetEnvIf Request_URI default\.ida virus
SetEnvIf Request_URI root\.exe virus
SetEnvIf Request_URI cmd\.exe virus
SetEnvIf Request_URI NULL\.IDA virus
SetEnvIf Request_URI awstats\.pl virus
SetEnvIf Request_URI xmlrpc\.php virus
SetEnvIf Request_URI index\.php virus
SetEnvIf Request_URI index2\.php virus
SetEnvIf Request_URI sumthin virus
CustomLog /var/log/apache2/virus.log combined env=virus
CustomLog /var/log/apache2/access.log combined env=!virus
ServerSignature off
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>