Re: 403 not working -- apache 2 / php5 / linux

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

 



Jason Morehouse  wrote / napísal (a):

Hello. I'm not sure if this is an apache problem or php... but wondering if anyone has come across the same problem.

-rw-------    1 root     root    test.html
-rw-------    1 root     root    test.php

Trying to access test.html via a browser servers up the apache 403 error page. The test.php however produces:

Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Warning: Unknown: Failed opening '/www/test.php' for inclusion (include_path='.:/www/php') in Unknown on line 0

Any ideas?

Thanks!

What about: as root:
chmod 775 test.php then
chmod 775 test.html


Theese comands gives the right to read and execute to web server runing with nobody rights
to read and execute above mentioned files.


trobi

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux