On Sun, 26 Jan 2003, Steven J. Sobol wrote: > Look closely at the title bar on your web browser when you visit > http://stevesobol.com:8001/nf.php - it's a midgard site but that > particular page is served off the filesystem.
When I use 'wget -S http://stevesobol.com:8001/nf.php' it seems fixed now. I get an 404: HTTP request sent, awaiting response... 1 HTTP/1.1 404 Not Found 2 Date: Mon, 27 Jan 2003 10:15:36 GMT 3 Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) Midgard/1.4.4/SG [...] 4 X-Powered-By: PHP/4.3.0 5 Connection: close 6 Content-Type: text/html 7 X-Pad: avoid browser bug 10:16:24 ERROR 404: Not Found > header("Status: HTTP/1.0 404 Not Found"); > echo "testing"; In my midgard sites i placed the 404-code in the <[code-init]> sections in nadmin[*], to make sure that the header() code would be executed before any page content output has been sent to the client. Otherwise that is a common error: all headers must be sent before page content is sent. Dunno if it helps, but... [*] = I don't remember if <[code-init]> is nadmin specific or general for any midgard app. I think it's general for all midgard though? Fredrik Jonson -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
