This is a discussion on 403 forbidden problem within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello. Apache: Apache/1.3.27 PHP: Version 4.3.2 Close source client is trying to connect to my ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello.
Apache: Apache/1.3.27 PHP: Version 4.3.2 Close source client is trying to connect to my web server. Client request is: ------------------------------------- GET /page.php HTTP/1.0 Host: www.some-host.com Connection: close Accept: */* Content-Length: 0 ------------------------------------- And response from my server is: ------------------------------------- HTTP/1.1 403 Forbidden Connection: close Date: Wed, 11 Oct 2006 08:56:27 GMT Content-Type: text/html; charset=iso-8859-1 Server: Apache <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>403 Forbidden</TITLE> </HEAD><BODY> <H1>Forbidden</H1> You don't have permission to access /page.php on this server.<P> </BODY></HTML> -------------------------------- The problem is "Content-Length: 0". If this parameter is omitted by the client everything works fine. This request works fine when requesting something from my web server: ------------------------------------- GET /page.php HTTP/1.0 Host: www.some-host.com Connection: close Accept: */* ------------------------------------- The problem is i cant change the request in closesource client and this client request works in all other web servers i know. Any hints? What to change in httpd.conf? Thank you in advance. Regards, TomazZ |
| Thread Tools | |
| Display Modes | |
|
|