in reply to Perl Redirect - Complete Perl Newbie

First, try REALLY HARD to get access to the server logs (either somewhere under /usr/local/apache or in /var logs. They're typically world-readable (if you have an account on the server, anyway!) and will tell you what's going on. They might be called anything, but you'll usually see 'http' and 'error' in the filename.

Second, I would try seeing if the redirects work without making a transition to the https: server. In other words, see if you can get yourself to a pure HTML page. Do the https: pages come up if you manually type the URL in?
  • Comment on Re: Perl Redirect - Complete Perl Newbie

Replies are listed 'Best First'.
Re^2: Perl Redirect - Complete Perl Newbie
by Tomster (Initiate) on Feb 11, 2005 at 14:22 UTC
    All of the paths work, I've tested them. I managed to find my logs and make sure I was uploading with ASCII.

    Logs said this:
    Fri Feb 11 12:13:32 2005 error (2)No such file or directory: exec of /var/www/virtual/rhp/www/cgi/shop/cart.pl failed
    Fri Feb 11 12:13:32 2005 error client 83.166.176.8 Premature end of script headers: /var/www/virtual/rhp/www/cgi/shop/cart.pl

    cart.pl is the file I'm working on. Any idea why this is happening?
      In your Apache httpd.conf, is '.pl' defined as a cgi-executable extension?

      Also, how are you _calling_ this cgi? In CGI, you must reference a web-centric directory, which must then (in httpd.conf) be aliased to a real filesystem directory.