Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Sep 2003

    Default Need Help with Formmail


    I am new to forms, cgi apps, don't know anything about perl. I just took over maintenance on a site that uses formmail for secure order processing.

    When I click the send button, I get the message:
    Bad Referrer - Access Denied
    The form attempting to use FormMail resides at, which is not allowed to access this cgi script.
    If you are attempting to configure FormMail to run with this form, you need to add the following to @referers, explained in detail in the README file.

    Add '' to your @referers array.
    So, I know this means I need to edit the script, but I don't know how to do that. Can someone help me?

    Thank you.

  2. #2
    Junior Member
    Join Date
    Sep 2003

    Default Edited formmail but am still having trouble

    Hi again,

    I figured out how to edit the script. I added to the @referers array, but I am still gettting the
    Bad Referrer error.

    Anyone have a clue as to what I might have done wrong?


  3. #3
    Senior Member
    Join Date
    Sep 2003
    Sun & More Sun, Florida

    Default FormMail

    Your ordering.htm is on a secure server. The .htm form call
    is to on the regular server (no https).

    Did you change FormMail on the non secure server?

    If YES then reply back showing what you have in @referers (copy/paste)


    (note: after posting this I am not sure the above is correct - at one time the secure and non-secure servers were two separate servers. It may be now under 2.0 that they are on the same physical server)

  4. #4
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Kansas City Mo


    I think it is a bug in the script itself. If I rember the script when it is checking referers it is looking for a pattern that only uses one dot in the domain name. If it is not that it could be that it is not checking using the https but I don't think that is part of the pattern match in this case. I'll go did up an old copy of it and see what I can find out.


    No I just checked and that shouldn't be problem. It should catch http or https and the amount of "dots" should not matter. You might double check the spelling and check to make sure that you got the new changed version uploaded to the server. Can't tell you how many times I thought I had uploaded the changesthe after about an hour for looking for the problem figured out I had not.
    Please remember your charity of choice:

    Handy Links: | Plain Text Editors: EditPlus | Crimson

Similar Threads

  1. nms formmail syntax/config/location?
    By rfs in forum E-mail / FTP Management
    Replies: 8
    Last Post: 10-13-2006, 06:22 PM
  2. autoresponder after formmail entry
    By SusiePattaya in forum CGI Scripts / Perl
    Replies: 3
    Last Post: 02-01-2005, 08:44 AM
  3. question on FormMail
    By ccwebb in forum CGI Scripts / Perl
    Replies: 3
    Last Post: 05-18-2004, 10:46 AM
  4. Formmail 500 error fix
    By ponyboy in forum CGI Scripts / Perl
    Replies: 5
    Last Post: 12-07-2003, 02:05 PM
  5. Formmail (path?) prob in WH2
    By kmorl in forum General Discussion
    Replies: 6
    Last Post: 09-15-2003, 08:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts