Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Location redirect

by flexvault (Monsignor)
on Nov 02, 2012 at 14:26 UTC ( #1001981=note: print w/replies, xml ) Need Help??

in reply to Location redirect


You don't mention what web server you're working with. But if it's apache 2.x, I've found that the Perl scripts that worked with apache 1.x don't work without some modification. Apparently for redirects to work, additional information is needed in the headers that let's the server know that a redirect is possible. This was as a result of a RFC requirement.

This may not be your problem and I'm not an expert on web servers, but I know I had to add some header information to get the re-directs to work with 2.x.

Good Luck!

"Well done is better than well said." - Benjamin Franklin

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001981]
[thanos1983]: same here...
[choroba]: marto ;-)
[Discipulus]: after an error now is back
[shmem]: looks like a 302 loop - "The document has moved here"
[Discipulus]: ..but only http not https
[shmem]: hmm after some looping I get it via http
[choroba]: After submitting the form, I'm getting "Sorry, we're really busy right now, please wait for a bit. This page will automagically refresh soon"

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2018-02-20 11:57 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (271 votes). Check out past polls.