Announcement

Collapse
No announcement yet.

Referrer.pl

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Referrer.pl

    Hi,

    Trying to setup referrer.pl to use on our version of Actinic Catalog, v.0.4.0.7.0.2 which is old and intricately customised and I can't get it past the typical but uninformative error message

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    I have followed the setup instructions from the Advanced Guide, changing referrer.pl and posting it to cgi-local and then chmod to 755.

    The call is:
    http://www.gameslore.co.uk/cgi-local...%2facatalog%2f

    (For some reason the full URL doesn't display but it should all be there if you select it).

    I have done this with all sorts of variations, have looked up lots of other threads on this subject and still can't find the answer.

    The 1st few lines of referrer.pl are:
    #!/usr/bin/perl
    # CUSTOMIZE - specify the correct path to perl above by replacing "NETQUOTEVAR:PERLPATH" with the perl path (usually /usr/bin/perl)

    require al000001; # CUSTOMIZE put the correct actinic package name on this line (e.g. "al000000")

    and nothing else has been changed.

    We are running on a Unix server.

    Anyone care to make any suggestions which might help save my sanity ?

    Thanks, Paul.
    www.gameslore.co.uk

    #2
    Hi Paul

    Hmmm... the referrer string you have put, looks correct to me. I can't see any errors in there. Might i suggest for this issue, if you open a support ticket, and someone can check your referrer script and test it on your website. To open an email ticket, simply go to the following address: http://www.actinic.co.uk/support/register.htm

    Kind Regards
    Nadeem Rasool
    SellerDeck Development

    Comment


      #3
      If you strip off all of the parameters, and just leave http://www.gameslore.co.uk/cgi-local/referrer.pl and run that in the browser, you still get an internal server error.

      The most common reason for this is if the referrer script has been uploaded to the cgi-bin in 'binary' mode. Try explicitly selecting 'ascii' mode in your FTP client and uploading the script again (some older versions of CuteFTP for example, do not have pl or pm in the text files extension list, meaning that the 'Auto' option would select 'binary' to upload the files).
      "OK Venus?"
      "OK Steve!"
      "Right then, lets go!

      Comment


        #4
        Thanks

        Originally posted by Steve Zodiac
        If you strip off all of the parameters, and just leave http://www.gameslore.co.uk/cgi-local/referrer.pl and run that in the browser, you still get an internal server error.

        The most common reason for this is if the referrer script has been uploaded to the cgi-bin in 'binary' mode. Try explicitly selecting 'ascii' mode in your FTP client and uploading the script again (some older versions of CuteFTP for example, do not have pl or pm in the text files extension list, meaning that the 'Auto' option would select 'binary' to upload the files).
        Hi Steve,

        Many thanks for advice, have just tried this and it has worked, though it has thrown up some other issues but this is a major step forward.

        Rgds, Paul.
        www.gameslore.co.uk

        Comment

        Working...
        X