Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Different context

by ikegami (Pope)
on Apr 07, 2011 at 16:09 UTC ( #898104=note: print w/replies, xml ) Need Help??

in reply to Different context
in thread mod_perl give 404 not_found with content

Full blown browsers tend to replace 404 responses with their own, especially if the responses are small. Are you sure that the problem in on the server side?

Replies are listed 'Best First'.
Re^2: Different context
by Jaap (Curate) on Apr 07, 2011 at 20:03 UTC

      Definitely server side, but hey, got some more information to help you debug:

      $ GET -S +s/Brake_lines/ GET +ke_lines/ --> 200 OK <html> <head><title>handler</title></head> <body> Hello from ME.<br /> </body> </html> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>200 OK</title> </head><body> <h1>OK</h1> <p>The requested URL /s/ was not found on this server.</ +p> </body></html>

      Note that the server returned a 200 status with two responses merged into one.

        Ah thanks so apache prints the content and then appends its own 404 document to it.
        Must be an apache config thing then.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://898104]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2021-10-21 15:41 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (83 votes). Check out past polls.