Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Dec 2004
    Posts
    2

    Default formmail server problem

    I have a site billscully.com (Never set up or tested forms on main site). I have set up a simple form on a virtual website.

    It's located at http://air-xtreme.com/SAMPLE_CART/form.html.

    I was told I had to use the main site's cgi-bin/formmail/FormMail.pl file for virtural site form posting.

    The simple form code is:
    <form action="http://www.billscully.com/cgi-bin/formmail/FormMail.pl" method="post">
    <input type=hidden name="recipient" value="namewithheld@yahoo.com">
    <p>Email Address:
    <input name="Email_Address" type="text">
    </p>
    <p>
    <input type="submit" name="Submit" value="Submit">
    </p>
    </form>

    I edited the formmail.pl file in notepad and uploaded it with these settings:

    @referers = ('billscully.com','206.130.106.56','air-xtreme.com','airxtreme.com');

    @recipients = &fill_recipients('air-xtreme.com','billscully.com','namewithheld@yahoo.c om')

    When I submit the form I get an error:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, Postmaster@billscully.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.

    Any Ideas?

  2. #2
    Senior Member jalal's Avatar
    Join Date
    May 2003
    Location
    Germany
    Posts
    1,377

    Default

    Quote Originally Posted by scullyb
    I edited the formmail.pl file in notepad and uploaded it with these settings:
    There is your problem right there: notepad/windows

    Notepad has saved the file in WIndows format, you will need it in Unix format for it to work.
    If you can shell in to your account (SSH) then there is a scipt there that will convert it to unix format (called 'dos2unix').
    Otherwise edit in an editor that understands how to save in Unix format. I don't use Windows, so I can't suggest anything, maybe someone else can.

  3. #3
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,721

    Default

    I use EditPlus. Anouther editor you can use is Vim which I know many use but I have never used it. It can run on both Unix and Windows but from what I understand it is not as user friendly.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

Similar Threads

  1. Manually installing webmail on Westhost
    By marysmithdesign in forum E-mail / FTP Management
    Replies: 10
    Last Post: 03-06-2007, 03:28 PM
  2. Miva Admin Login Problem on Different Server
    By macrat7 in forum Miva Merchant
    Replies: 1
    Last Post: 11-24-2005, 01:07 PM
  3. DNS problem on my dedicated server
    By hcl in forum General Discussion
    Replies: 4
    Last Post: 09-10-2004, 09:26 AM
  4. Problem with Shared Secure Server
    By giftandsmile in forum Miva Merchant
    Replies: 0
    Last Post: 01-29-2004, 08:31 PM
  5. 500 Internal Server Error / missing.html file problem
    By samp in forum General Discussion
    Replies: 3
    Last Post: 06-19-2003, 01:18 PM

Posting Permissions

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