[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [users@httpd] RE: access website or webpage not work



On Fri, 13 Dec 2002, martin f krafft wrote:

> also sprach eric lin <fsshl@centurytel.net> [2002.12.13.0434 +0100]:
> > use CGI ':standrard';
> 
> this seems to be the problem.. a typo.
> 
> > print "Content-type: text/html\n\n";
> 
> \r\n\r\n is the standard.

Yes, but that print statement is to the web server, not to the remote
client.  The web server rewrites the headers.

\n\r\n\r is the standard for http, but \n\n is the standard in perl.

Use some dump utility and look at what Apache sends when you send \n\n.

-- 
Bill Moseley moseley@hank.org



Reply to: