Nov 21, 2001, 4:43 AM
Post #1 of 1
Should I be escaping the - in www.ottawa-mysite.com for this to work? If so how do I do that? I tried putting a \ before the - that didn't work. I have read the readme file but see no mention of this.
@referer error in FormMail
The error message
The form attempting to use FormMail resides at http//www.ottawa-mysite.com/forms/InformationForm3.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 'www.ottawa' to your @referers array.
The line I have in there right now is like the following
@referers = ('fax.xyz.net','www.ottawa-mysite.com','www.othersite.com')
The problem definitely seems to come from the "-" sign.
Thanks for any response to this, Perl Newbie