Quote:
Originally Posted by otacon
error.log
Code:
[Thu Mar 24 19:23:05 2011] [error] [client 98.226.168.246] client denied by server configuration: /
[Thu Mar 24 20:26:32 2011] [error] [client 98.226.168.246] client denied by server configuration: /
[Thu Mar 24 21:24:36 2011] [error] [client 98.226.168.246] client denied by server configuration: /
[Thu Mar 24 21:24:36 2011] [error] [client 98.226.168.246] File does not exist: /var/www/testing2.remcycle.net/web/favicon.ico, referer: http://testing2.remcycle.net/
testing2.remcycle.net/index.html works.
I guess I could fix it with an htaccess file , but I would prefer to figure out why the directory isn't forwarding to index.html.
|
should these errorlogs be saying client denied by / "root"? Why would it be trying to access root?
Is this normal or should it be /var/www/testing600.remcycle.net/web?
-----------------------------------------------------
Ok I think that was the problem. I added
<Directory />
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
to testing600.remcycle.net.vhost and now it works.
Now I have to find out why it needs to go to the root directory.
Will adding this to the vhost create a security risk?
------------------------------------------------------------------
another update. I have found the issue inside the vhost.
in the vhosts that are created through API
PHP Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^test.remcycle.net [NC]
RewriteRule ^/(.*)$ /$1
RewriteCond %{HTTP_HOST} ^www.test.remcycle.net [NC]
RewriteRule ^/(.*)$ /$1
is added once this is removed the domain works perfectly. I am not sure what this means, but I will be doing a little googling to find out.
Recent comments
1 day 4 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 13 hours ago
2 days 5 hours ago
2 days 6 hours ago
2 days 10 hours ago