Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- lawrence k
April 15, 2006, 6:26 am
rate this thread
redirect? Or does Apache do that automatically if I use PHP to send a
On Accumulist, if you click a title, you go first to Accumulist again,
and then you are redirected to whatever article you might want to read:
Does Apache send a redirect code? Or do I have to?
Re: how does one send a "302 redirect" http header?
No, when you use PHP to send a location header you are doing that, however
the default behaviour in PHP is to do exactly what you suggest - i.e. send
a 302 header - this is most likely WRONG, and really you should be sending
a 301,303 or 307 depending on the context. RTFM.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum