Forum Moderators: phranque
#CheckSpelling On
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
#<Directory />
#AllowOverride All
#ErrorDocument 404 [mydomain.com...]
#ErrorDocument 404 /404.htm
#</Directory>
<VirtualHost 11.1.11.1>
ServerName www.mydomain.com
ServerAdmin admin
DocumentRoot /home/sites/site1/web
ServerAlias mydomain.org mydomain.net
RewriteEngine on
RewriteCond %{HTTP_HOST} !^11.1.11.1(:80)?$
RewriteCond %{HTTP_HOST} !^www.mydomain.com(:80)?$
RewriteRule ^/(.*) [mydomain.com...] [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site1/users/$1/web/$3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType text/html .shtml
</VirtualHost>
[Fri Jul 8 08:42:17 2005] [error] [client 197.46.86.162] File does not exist: /home/sites/site1/web/abc (multiple times)
[Fri Jul 8 13:41:31 2005] [alert] [client 197.46.86.162] /home/sites/site1/web/.htaccess: ErrorDocument not allowed here
[Fri Jul 8 13:50:36 2005] [alert] [client 197.46.86.162] /home/sites/site1/web/.htaccess: Options not allowed here (multiple times)
[Fri Jul 8 13:53:38 2005] [alert] [client 197.46.86.162] /home/sites/site1/web/.htaccess: Invalid command 'CheckSpelling', perhaps mis-spelled or defined by a module not included in the server configuration (multiple times until i commented it out)
[Fri Jul 8 13:57:16 2005] [alert] [client 197.46.86.162] /home/sites/site1/web/.htaccess: RewriteEngine not allowed here
[Fri Jul 8 13:57:59 2005] [alert] [client 197.46.86.162] /home/sites/site1/web/.htaccess: ErrorDocument not allowed here (multiple times)