FAQ
Hi,
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

Search Discussions

  • Roman Neuhauser at Dec 29, 2006 at 12:03 pm

    # [email protected] / 2006-12-29 12:17:12 +0530:
    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/

    --
    How many Vietnam vets does it take to screw in a light bulb?
    You don't know, man. You don't KNOW.
    Cause you weren't THERE. http://bash.org/?255991
  • Jim Lucas at Dec 29, 2006 at 4:52 pm

    Roman Neuhauser wrote:
    # [email protected] / 2006-12-29 12:17:12 +0530:
    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/
    correct/incorrect

    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
  • Jim Lucas at Dec 29, 2006 at 4:57 pm

    Jim Lucas wrote:
    Roman Neuhauser wrote:
    # [email protected] / 2006-12-29 12:17:12 +0530:
    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/
    correct/incorrect

    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
    spoke too soon. Never mind

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-general @
categoriesphp
postedDec 29, '06 at 6:48a
activeDec 29, '06 at 4:57p
posts4
users3
websitephp.net

People

Translate

site design / logo © 2023 Grokbase