Permission denied on sub directories for one VirtualHost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
    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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux