Forbidden
You don't have permission to access /html"view.php on this server.
--------------------------------------------------------------------------------
Apache/1.3.33 Server at localhost Port 80
i have got this strange error for only one file in the folder
all files are accessible from the folder except this one(view.php)
so where is the error
i dont think its do with the setting
the root and details of problem is here
viewtopic.php?t=38381&highlight=
since i was not able to get real answer so i posted here..
(not a double post)
thanks
rami
forbidden 403
Moderator: General Moderators
I think you mean /html/view.php/html"view.php
On view.php, is there any code that would redirect to a forbidden page?
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
This can have a couple of reasons:
1. check the file permissions. If it is not at least world readable or probably even world executable you get that error
2. check the directory permissions. dir permissions are also important
3. check if there is a .htaccess doing something like rewrite
4. the script execution could be somehow limited inside httpd.conf
5. check if the file calls anything that has a problem with 1-4
1. check the file permissions. If it is not at least world readable or probably even world executable you get that error
2. check the directory permissions. dir permissions are also important
3. check if there is a .htaccess doing something like rewrite
4. the script execution could be somehow limited inside httpd.conf
5. check if the file calls anything that has a problem with 1-4
thanks for such quick replyAGISB wrote:This can have a couple of reasons:
1. check the file permissions. If it is not at least world readable or probably even world executable you get that error
2. check the directory permissions. dir permissions are also important
3. check if there is a .htaccess doing something like rewrite
4. the script execution could be somehow limited inside httpd.conf
5. check if the file calls anything that has a problem with 1-4
any way i am new to user dont know much about these but i have leaened a lot in these few days from this forum as well
i have just installed easyphp from http://www.easyphp.org and have not done any thing like permission restriction
how ever from my commen sense i can say that
its not directory permission restriction error and other all files in that folder can be access in that login page there is
ob_end_clean();
header ("Location: http://" . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) .
""view.php?aid={$row['user_id']}">");
even if i give just index.php removing all other aid=....
it works
all files are in folder html inside www
i think i have not used .ttaccess
i think 5 th may be solution ..the code might have been causing the problem
the link i have provided has complete code of both
login.php and view.php
viewtopic.php?t=38381&highlight=
so can any body please help me saying what is casuing error...
thanks for quick help