On Mon, 27 Jan 2003, Fredrik Jonson wrote: > 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:
But IE and Netscape don't detect that it is a 404. More importantly, Apache doesn't seem to realize it's a 404. I placed an ErrorDocument directive in the virtualhost entry for this website. It's a simple document that says "this is a 404". Pull up nf.php and that doesn't happen. > 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? THAT'S the problem. I did have it originally in code-init and it did work there. I moved the code to the ROOT style element because I am using the code as a package which will be used for lots of clients' websites and I didn't want to always have to remember to put the code-init code into the root page. -- Steve Sobol, CTO JustThe.net LLC, Mentor On The Lake, OH http://JustTheNetLLC.com/ 888.480.4NET (4638) A practicing member of the Geek Orthodox religion! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
