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

    Default formmail server problem

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

    It's located at

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

    The simple form code is:
    <form action="" method="post">
    <input type=hidden name="recipient" value="">
    <p>Email Address:
    <input name="Email_Address" type="text">
    <input type="submit" name="Submit" value="Submit">

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

    @referers = ('','','','');

    @recipients = &fill_recipients('','','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, 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


    Quote Originally Posted by scullyb
    I edited the 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
    Kansas City Mo


    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.
    Please remember your charity of choice:

    Handy Links: | 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