Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Set HTTP Status code

by molybtek (Novice)
on Mar 09, 2012 at 02:09 UTC ( [id://958586]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Set HTTP Status code
in thread Set HTTP Status code

I'm not quite sure what critical details you need...

It is hosted on a CentOS 5 machine.

  • Apache is Apache/2.2.3
  • Perl is 5.8.8
  • CGI module is 3.5.9
  • mod_perl is 2.0.4-6.el5

Replies are listed 'Best First'.
Re^5: Set HTTP Status code
by Anonymous Monk on Mar 09, 2012 at 03:01 UTC

    I'm not quite sure what critical details you need...

    Basically all details needed to reproduce the problem you're seeing

    Are you running the program under mod_cgi? under mod_perl and ModPerl::Registry? What filename is the program saved under? What url is mapped to the filename?

      it is just saved as test.pl, it is run under mod_perl. No url mapping...

      test.pl works as expected, the custom ErrorDocument gets displayed.

      test.pl?query has 404 error, but custom ErrorDocument doesn't display, instead the error as specified above.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-19 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found