English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

When I run my PHP program in my mozill web browser on Linux I got an error like following...
Forbidden

You don't have permission to access /hello.php on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Why?

2006-10-05 23:21:46 · 2 answers · asked by Ajish 1 in Computers & Internet Programming & Design

2 answers

Try chmod the directory..

chmod -R 0644 htdocs

That will fix your forbidden issue. But take a look at your Error LOG to see what the problem incase that isn't the solution.

Good Luck

2006-10-06 04:54:05 · answer #1 · answered by ? 6 · 0 0

multiple reasons, if you are using suse 10.1 most propabaly a misconfiguartion of apparmor, or ingerenal it may be configuration problem of httpd.conf you may override httpd.conf using .htaccess in your directory

2006-10-07 00:49:39 · answer #2 · answered by howsureyouare 3 · 0 0

fedest.com, questions and answers