ich krieg einfach dieses formmail.cgi nicht zum laufen, ich erhalte immer die meldung:
Code: Alles auswählen
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@meinedomain.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.
Apache/1.3.27 Server at meinedomain.com Port 80
Code: Alles auswählen
# Define Variables #
# Detailed Information Found In README File. #
# $mailprog defines the location of your sendmail program on your unix #
# system. The flags -i and -t should be passed to sendmail in order to #
# have it ignore single dots on a line and to read message for recipients #
$mailprog = '/usr/lib/sendmail -i -t';
# @referers allows forms to be located only on servers which are defined #
# in this field. This security fix from the last version which allowed #
# anyone on any server to use your FormMail script on their web site. #
@referers = ('meinedomain.com','209.196.21.3');
# @recipients defines the e-mail addresses or domain names that e-mail can #
# be sent to. This must be filled in correctly to prevent SPAM and allow #
# valid addresses to receive e-mail. Read the documentation to find out how #
# this variable works!!! It is EXTREMELY IMPORTANT. #
@recipients = &fill_recipients(@referers);
# ACCESS CONTROL FIX: Peter D. Thompson Yezek #
# @valid_ENV allows the sysadmin to define what environment variables can #
# be reported via the env_report directive. This was implemented to fix #
# the problem reported at http://www.securityfocus.com/bid/1187 #
@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');
# Done #
##############################################################################
<form name=form1 method=post action=https://meinedomain.com/cgi-bin/FormMail.cgi>
<div align="center">
<input type=hidden name=recipient value=main@meinedomain.com>
<input type=hidden name=subject value="Thema">
<input type=hidden name=redirect value=https://www.meinedomain.com/danke.html>
</div>
<p align=center>
<input name=eMail type=text id=eMail size=20>
<input name=Senden type=submit id=Senden value=Senden>
</p>
</form>