Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a client using "", which I believe is taken from some perl repository around the net. We recently migrated her site to a new server and this script stopped working. I found a few items that weren't configured on the new Apache installation, and I now have the script running... but the HTML output isn't being rendered and the "Location:" redirect is also not working. Again -- the script worked fine on the old server.

print "Location: $safeConfig{'redirect'}\n\n";
print "Content-type: text/html\n\n";

Both of these statements just put something like "Location: thankYou.html" on the screen rather than any content. The HTML is not rendered.


share|improve this question
This is not an answer to your question, but I'd beware of scripts - the last time I was looking at them (admittedly a few years ago) they were notoriously insecure and tended to become spammer magnets. – pjmorse Oct 18 '10 at 17:14
Is any other Perl rendered on this site at all? Sounds like an issue there? – Khushil Oct 18 '10 at 18:13

There's a danger you have a notorious piece of poor code from Matt Wright's Script Archive. Replace it with the equivalent from

share|improve this answer

Do you have something like:

AddHandler cgi-script .pl

in your Apache config file?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.