Perl Redirect

admin

Administrator
Staff member
I wanted to set up a redirect using perl, rather than using Apache.<br /><br />I've used this kind of redirect elsewhere, but it fails here: 500 error.<br /><br />#!/usr/bin/perl<br />print "Content-type: text/html\n";<br />print "Location: <a href="http://www.vcrbiketeam.org\n\n";" target="_blank">http://www.vcrbiketeam.org\n\n";</a><br />exit;<br /><br />Any ideas? <br /><br />Thanks<br /> TCH Rocks<!--content-->
Solved by Bill Gish: permissions on index.cgi were 644 -- once chmoded to 755, everthing was happy!<!--content-->
 
Back
Top