moved my site and have a few questions

Fiveohhh

Diamond Member
Jan 18, 2002
3,776
0
0
Just moved a business site and have a few question, b4 I switch the name servers Iwant to make sure the sites working fine, I ftp'd the old site to my pc, and than up to the new host. and it all works fine so far, but when I try to use the page that will send me an email for a quote i get this error message:

Bad Referrer - Access Denied
The form attempting to use FormMail resides at http://aquarius.addaction.net/~trav3131/quote.html, 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 'aquarius.addaction.net' to your @referers array.


--------------------------------------------------------------------------------

FormMail V1.6 © 1995 - 1997 Matt Wright
A Free Product of Matt's Script Archive, Inc.
Anti-spam and Security fix added by Parameshwar Babu (babuWeb@mailvalley.com)





The site was made for us by someone else, and I don't know that much about site building, just wondering what needs to be done to get it up and going again.
thanks
 

DannyBoy

Diamond Member
Nov 27, 2002
8,820
2
81
www.danj.me
Have you read the readme file?

Sounds to me like the script is trying to get something from a remote point (the cgi-bin on the other server) and needs to be changed...
 

Fiveohhh

Diamond Member
Jan 18, 2002
3,776
0
0
If I knew what readme file it was talking about I would, but I don't know anything about scripts, so I probably wouldn't know what I was reading anyway
 

Mitzi

Diamond Member
Aug 22, 2001
3,775
1
76
First thing you need to do is download the latest version of the Formmail script from here, the one you are using from MSA has a number of security flaws which could turn your web server into a spam open gateway, the NMS group took over the FormMail script from Matt and re-wrote it from scratch.

Bascially you need to change the @referers array in the script to

@referers = qw('aquarius.addaction.net');


I would strongly suggest you read the readme file though...its pretty simple to follow and there are a number of examples to base your own configuration on.

 

Fiveohhh

Diamond Member
Jan 18, 2002
3,776
0
0
I've read the readme and have a much better understanding of it now, but have a few quesetions. First I found out that the script whs was using was hosted on her site and I can't get a copy of it. and second, the script she had the form pointed to was pppfile.pl, and the one that I had is formmail.pl not sure what the diff is they both seem to be formmail stuff.

I edited the page to point to where I had the script at, but I get a page cannot be displayed error when I try to submit the form. Its pointed to the right place when I look in the address bar. anyone have any ideas I tried changing the chmod to all everything for a min to see if that was it but it didn't work still, so I set it back to 744. She had the formail.pl in my site, but everything was still generic in it, just like the one I downloaded.

Any help would be appreciated and the help so far is very much appreciated
Thanks.

if it helps where the sites at now is www.travelquest.to


edit: Think I figured it out I put the pppfile.pl where the sites hosted now, and it seems to be working I think it may have wanted to work right since I was accessing it through a differnt url that the host gave me till it propagates. don't have access to the email yet, but hopefully the form went through.