1. Status line in HTTP header with Apache
We are working with apache as a reverse proxy, to access an internal host.
When we access certain CGI, the proxy is adding an additional header(status
line). The consequences are that the browser displays a first line with :
HTTP/1.0 200 OK date Server: 1.0 Content-type: text/html Content-length:
In fact the browser receives two headers, and uses the first one. This is
not really nice for text, but disastrous for images, since they cannot be
After a long troubleshooting session, we found out that the reason is that
our application is sending back a status header with two spaces instead of
just one. The normal syntax is :
HTTP/1.0 SP 200 SP OK
with SP: Space character (20hex)
and what our application delivers is
HTTP/1.0 SP SP 200 SP OK
Once we removed the additional space, the proxy worked correctly.
IE and Netscape are accepting the two SP as if just one was present. So is
this a bug or the normal way for a proxy to work ?
TIA for your advice
Christian ALT go to security alert:
Telecom and Logistics Associates
10, rue des Savoises CH-1205 Geneva
2. Question about Linux Memory management
3. Linux permanent Line (connection two linux machines over a leased line (permanent telephone line)
4. problems -- RedHat v5.0 PPP and PAP
5. line by line reading of the lines in list
6. Error while installing chkrootkit
7. one liner which prints n lines before and m lines after the line found by grep
8. Linux bridge thruput problem
9. line by line without using echo "$i" | while read line?
10. Find a string, delete that line, delete 1 line before it and all lines after it...
11. Setting status code in Http Response using ApacheWebServer and Weblogic
12. status line problem with telnet
13. Shell problem: How to change text in a line depending on data in the following line.