in reply to Need to respond with a 403 status code?

Learn how to set up the appropriate Apache configuration for error pages. This isn't a Perl problem - it's an Apache problem.

You can have the error page be a CGI script, but the actual hookup is an Apache config.


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re: Need to respond with a 403 status code?

Replies are listed 'Best First'.
Re^2: Need to respond with a 403 status code?
by grep (Monsignor) on Apr 19, 2007 at 17:52 UTC
    That would normally be the correct answer, but the OP is "faking" a 403, not dealing with real 403's. From what I understand, the OP is using an existing script and throwing a 403 based on input. So unless the script is always called by a real 403 then this would not work (well).

    grep
    1)Gain XP 2)??? 3)Profit