online 1
gast (50)

/ Forum / Skripte(PHP,ASP,Perl...)

Skripte(PHP,ASP,Perl...)Skripte(PHP,ASP,Perl...)

Fragevon babzig vom 13.03.2019, 09:01 Options

Bad Referers obwohl im Script angepasst

Hallo zusammen

Das mit dem Schreibfehler bei der Location habe ich korrigiert. nun taucht ein anderer Fehler auf. Bad referers: Die Fehlermeldung sieht wie folgt aus:

The form attempting to use FormMail resides at http://tiercare.gr.geroweb.com/start.htm, 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 'tiercare.gr.geroweb.com' to your @referers array.

im Script sieht es wie folgt aus:

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 = ('scriptarchive.com','tiercare.gr.geroweb.com');

# @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 #


Wo habe ich den Fehler gemacht?

Vielen Dank im voraus
Babzig


Antwort schreiben

Ähnliche Themen

SMART Status BAD
EdgarWallace  08.07.2007 - 124 Hits - 3 Antworten

Zusammenhengender php script in guten, funktionierenden php script
derfehler  15.09.2007 - 58 Hits - 2 Antworten

MBR zerschossen, aber Partitionen gültig
MisterL  04.10.2007 - 124 Hits - 3 Antworten

Http/1.1 Bad Request
engel-blue  18.02.2008 - 501 Hits -

Hinweis

Diese Frage ist schon etwas älter, Sie können daher nicht mehr auf sie antworten. Sollte Ihre Frage noch nicht gelöst sein, stellen Sie einfach eine neue Frage im Forum..

Neue Einträge

Version: supportware 1.9.150 / 10.06.2022, Startzeit:Mon Jan 26 01:23:17 2026