Re: [PHP] 403 Forbidden
- From: lists@xxxxxxxxx (Jim Lucas)
- Date: Fri, 29 Dec 2006 08:57:38 -0800
Jim Lucas wrote:
Roman Neuhauser wrote:spoke too soon. Never mind# abhijitraje@xxxxxxxxxxx / 2006-12-29 12:17:12 +0530:correct/incorrect
When I try to run any php script on apache I get a error
"Authorization required 403 Forbidden". I don't get this error on
IIS. I am using Windows XP professional please help. I am using
Apache 2.2.1
That's a problem with your apache configuration, unrelated to PHP.
The Apache manual is at http://httpd.apache.org/docs/2.2/
there could be a line like this in his php code somewhere.
header('WWW-Authenticate: Basic realm="Someplace"');
header('HTTP/1.0 401 Unauthorized');
and if something correct is not entered, they will recieve the 403 Error
So, it could be a PHP thing, but it IS more then likely an Apache issue
Jim
.
- References:
- 403 Forbidden
- From: "Abhijit Raje"
- Re: [PHP] 403 Forbidden
- From: Roman Neuhauser
- Re: [PHP] 403 Forbidden
- From: Jim Lucas
- 403 Forbidden
- Prev by Date: Re: [PHP] 403 Forbidden
- Next by Date: Re: posting with cURL - postfields array won't work - SOLUTION
- Previous by thread: Re: [PHP] 403 Forbidden
- Next by thread: help with \n\r in strings
- Index(es):
Relevant Pages
|