httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Khine <nor...@khine.net>
Subject [users@httpd] Permission denied on sub directories for one VirtualHost
Date Wed, 28 May 2008 08:38:58 GMT
Hello,
I seem to have one problem with a virtual host that for the images and 
css sub-directory I get the following error:

[Wed May 28 19:27:07 2008] [error] [client 90.42.77.188] (13)Permission 
denied: access to /images/btn.jpg denied, referer: 
http://demo.domain.net/index.html
[Wed May 28 19:27:32 2008] [error] [client 90.42.77.188] (13)Permission 
denied: access to /css/style.css denied

Here is my config file:

#demo.domain.net configuration file
<VirtualHost *:80>
     ServerAdmin admin@demo.domain.net
     DocumentRoot /var/www/demo.domain.net/htdocs/
     ServerName demo.domain.net
     <Directory "/var/www/demo.domain.net/htdocs">
         Options Indexes FollowSymLinks
         AllowOverride None
         Order allow,deny
         Allow from all
     </Directory>
     ErrorLog /var/log/apache2/demo.domain.net-error_log
     CustomLog /var/log/apache2/demo.domain.net-access_log common
</VirtualHost>

How can I have multiple directory directives?

I have another VirtualHost with a similar setup of flat html files and a 
css sub-directory and the above config file works fine, so I am cofused!

Many thanks
Norman


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message