Find the answer to your Linux question:
Results 1 to 5 of 5
get /cgi_bin/formmail.cgi to work on fedroa3 with webmin and qmail installed hi i am trying to get /cgi_bin/formmail.cgi to work on fedroa3 with webmin and qmail installed error_log: [error] [client ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    7

    get /cgi_bin/formmail.cgi to work on fedroa3 with webmin and


    get /cgi_bin/formmail.cgi to work on fedroa3 with webmin and qmail installed

    hi i am trying to get /cgi_bin/formmail.cgi to work on fedroa3 with webmin and qmail installed

    error_log:
    [error] [client 68.113.162.255] (2)No such file or di
    rectory: exec of '/home/test/public_html/cgi-bin/formmail.cgi' failed,
    referer: http://test.com/contactus.htm

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

    Please contact the server administrator, test@test.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.

    i tryed to edit this in vi /etc/httpd/conf/httpd.conf:
    <Directory "/home/test/public_html/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>

    any help or ideas would be great
    thanks

  2. #2
    Just Joined!
    Join Date
    Apr 2005
    Posts
    88

    Apache

    Greetings,

    Make sure that the Document Root in the httpd.conf is pointing atleast to /home.

    Regards

  3. #3
    Just Joined!
    Join Date
    May 2005
    Posts
    7

    formmail.cgi and qmail

    ok
    in my script i have this

    $mailprog = '/usr/sbin/sendmail -i -t';

    i am using qmail now do u know what that shold be with qmail?

    thank you

  4. #4
    Just Joined!
    Join Date
    Apr 2005
    Posts
    88
    Greetings,

    You didnt get my point, the error message you pasted it says that the file doesnt exist. So, in order the apache shud look in that particular directory u need to make sure that in the httpd.conf you have mentioned the DcoumentRoot atleast /home. If possible, can u check and let me know the document root you have mentioned in Apache.

    Regards

  5. #5
    Just Joined!
    Join Date
    May 2005
    Posts
    7

    reply

    i got it working
    formmail must of got corrupt when i downloaded the site from my old hosting to my new box
    i used a back up formmail and it worked great
    thank you very much

Posting Permissions

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