in reply to Re^2: Redirect Eliminate
in thread Redirect Eliminate

A "404" error means that the URL you typed in was not found. This has nothing to do with Perl or your script and everything with how your webserver is set up. Consult with your webserver administrator how to solve this problem.

I recommend looking in the webserver error log to see if it gives more information about what URL fails.

Replies are listed 'Best First'.
Re^4: Redirect Eliminate
by cjohnson419 (Initiate) on Jan 26, 2011 at 09:02 UTC

    I believe the 404 error is a result of using characters following the script. Which would be

    ?http://www.theredirectedsite.com

      Again, this is a webserver configuration issue. Your webserver should recognize that there is a query string following the path to your file, and act accordingly.

        I put the url in without the query string and still got a 404.

        I changed the attributes to 755 and then 777. Still the same. Thanks for your help. Im really stuck. The web server is working fine on the other scripts that redirects it by query.