Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Different context

by Jaap (Curate)
on Apr 07, 2011 at 20:03 UTC ( #898184=note: print w/replies, xml ) Need Help??


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

Yes, it knows the un-mod_rewritten url. See This broken URL 404 not_found for instance

Replies are listed 'Best First'.
Re^3: Different context
by ikegami (Pope) on Apr 07, 2011 at 20:40 UTC

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

    $ GET -S http://tis.spaghetticoder.org/test/e34/M5_%28S38%29_SAL/Brake +s/Brake_lines/ GET http://tis.spaghetticoder.org/test/e34/M5_%28S38%29_SAL/Brakes/Bra +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/friendlyNew.pl 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.

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

        Huh? You didn't say this was the problem :/

        If you want to avoid ErrorDocument getting appended, see http://search.cpan.org/~gozer/mod_perl-1.31/faq/mod_perl_faq.pod#So_how_do_I_use_mod_perl_in_conjunction_with_ErrorDocument%3F

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2020-09-25 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (137 votes). Check out past polls.

    Notices?