#25169 [Opn->Bgs]: Why do I get a "Forbidden/You don't have permission to access / on this server"
| From: | sniper@php.net | Date: | Wed, 20 Aug 2003 08:50:25 +0000 |
| Subject: | #25169 [Opn->Bgs]: Why do I get a "Forbidden/You don't have permission to access / on this server" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46294@lists.php.net to get a copy of this message | ||
ID: 25169
Updated by: sniper@php.net
Reported By: anjp2003 at indiatimes dot com
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: Linux
PHP Version: 4.3.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
..
Previous Comments:
------------------------------------------------------------------------
[2003-08-20 03:44:24] anjp2003 at indiatimes dot com
Description:
------------
Why do I get a "Forbidden/You don't have permission to access / on this
server" message whenever I try to open a uploaded file(access my
server) ?
Sir, I want to know about the user behind the (PHP) net.
Actually we are not giving executing permissions to "other" users after
uploading a file. and we are adding "Apache" to the existing users of a
login created. And Apache has all the "read- write-execute"
permissions . But we are not even able to read the file when we don't
give "executing" permissions to "other" users.
Reproduce code:
---------------
NOTE: DADE-I can be any login name.
sudo -u root /bin/chmod 710 /home/DADE-I
sudo -u root /bin/chmod 710 /home/DADE-I/public_html
sudo -u root /bin/chmod 710 /home/DADE-I/public_html/uploads/source
sudo -u root /bin/chmod 710 /home/DADE-I/public_html/uploads
sudo -u root /bin/chmod 710 /home/DADE-I/public_html/uploads/reports
sudo -u root /bin/chmod 710
/home/DADE-I/public_html/uploads/presentations
sudo -u root /bin/chmod 710
/home/DADE-I/public_html/uploads/references
sudo -u root /bin/chmod 710 /home/DADE-I/public_html/uploads/misc
Expected result:
----------------
we shud be able to read the files....we should have access to the
files...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25169&edit=1