
August 13th, 2003, 06:56 PM
|
|
Registered User
|
|
Join Date: Jul 2003
Location: Florida
Posts: 13
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
problem running an ASP script from a secure server
Hi,
I have an ASP form script that is used for users to put their data in and it is processed and emailed back to me. The script works like the following:
form.html --> formmail.asp --> my inbox
The domain name is drpoef.com, and when they are on the drpoef server, the script works great. Recently, I put the form.html into a secured folder on another server, impacthosting.com. So, I uploaded the form.html and formmail.asp both to the secured folder, and tested the script.
The first time I ran it, I got the error, "Invalid Referer, impacthosting.com."
Next, I modified the formmail.asp file so the referer array was 'http://www.impacthosting.com' and 'impacthosting.com' instead of 'http://www.drpoef.com' and 'drpoef.com'.
After I tested that (both on secure server), I got the error, "mail host was not found" So, I changed the referer array back to the original.
So, I modified the post attribute in form.html to go to the drpoef server, after the secure form, so it was like
form.html (impacthosting.com) --> formmail.asp (drpoef.com)
and I get the error "No Referer"
I am not sure what the problem could be. Any help would be greatly appreciated. Thanks
Last edited by subhashls : August 13th, 2003 at 06:59 PM.
|