Re: What controls which directories httpd can serve from?

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

 



On 4/9/07, Ken Morley <Ken@xxxxxxxx> wrote:

When I run the app, here's what I see in /var/log/httpd/error_log:

[error] [client 192.168.168.41] (13)Permission denied: access to
/samples/directory.php denied.

If I move the file back to /var/www/html, it runs just fine.  I
originally thought that it might have something to do with permissions,
but I've pretty much proven that's not the issue.  I also made sure that
the file and it's subdirectory were owned by the user running httpd and
it made no difference.

This error log message occurs only when apache does not have the unix
permissions necessary to access the file in the filesystem. Check the
permissions of the samples directory to make sure it is searchable
(chmod +x). Also check to see if you are using anything fancy like
symlinks or SELinux.

Joshua.

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