in reply to Re^3: 404 to Apache
in thread 404 to Apache

From CGI.pm docs:
print redirect(-uri=>"http://somewhere.else/in/movie/land", -nph=>1, -status=>301);
  The -status parameter will set the status of the redirect.  HTTP
       defines three different possible redirection status codes:

            301 Moved Permanently
            302 Found
            303 See Other
 The default if not specified is 302, which means "moved temporarily."
       You may change the status to another status code if you wish.  Be
       advised that changing the status to anything other than 301, 302 or
       303 will probably break redirection.


That means, I cannot return 404, if I redirect. Is there any way around?
--Artist

Replies are listed 'Best First'.
Re^5: 404 to Apache
by grep (Monsignor) on Nov 01, 2006 at 03:33 UTC
    I read that also, but I actually tried it before I posted. It does really work, my browser reported a 404.


    grep
    One dead unjugged rabbit fish later
Re^5: 404 to Apache
by Anonymous Monk on Oct 31, 2006 at 02:51 UTC
    Depends, what does the RFC say?