Mess with symbolic links, directory owners and "403 Forbidden" error

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

 



Hi.

Using Apache 2.0.51, I've got a VirtualHost 'mydomain.com' mounted on:
'/var/www/mydomain/'

Within this directory, I've got another directory ('test'), and within it
one symbolic link:
/var/www/mydomain/test/images -> /var/www/mydomain/dir/common_images/
------

If I make 'images' owner be 'root.root' it works ok when accessing
'http://www.mydomain.com/test/images/foo.php', but if the owner is
'apache.apache' I get a '403 Forbidden error'. In both cases,
'foo.php' script's got execution permissions (also 'images'
directory).

How can I execute this script with 'apache.apache' owner? Thank you very much.

---------------------------------------------------------------------
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