View Full Version : script not working
jlasman
08-30-2003, 02:14 PM
a simple formmail script (the secure version of Matt's script) is not working on one of my new directadmin sites.
It works fine on a Cobalt RaQ and on a Plesk server.
Can anyone help me troubleshoot this?
Thanks.
Jeff
jlasman
08-30-2003, 02:37 PM
Now here's something interesting...
it works fine one domain, but not on another.
The difference appears to be that it doesn't work on a domain that has ftp turned on.
But it works on the one that doesn't.
Here's what the directory structure looks like:
[root@da1 public_html]# ls -al /home/freepark/domains/freeparking.nobaloney.net/public_html/cgi-bin/FormMail.pl
-rwxr-xr-x 1 freepark freepark 35433 Aug 30 14:27 /home/freepark/domains/freeparking.nobaloney.net/public_html/cgi-bin/FormMail.pl
[root@da1 public_html]# ls -al /home/nobalone/domains/nobaloney.net/public_html/cgi-bin/FormMail.pl
-rwxr-xr-x 1 nobalone nobalone 35433 Aug 30 14:01 /home/nobalone/domains/nobaloney.net/public_html/cgi-bin/FormMail.pl
[root@da1 public_html]#
And the httpd.conf include files are substantially the same (that is they're the same in every important respect :( .
Any ideas?
Jeff
DirectAdmin Support
08-30-2003, 11:47 PM
For anyone else reading this thread, the cgi-bin directory *must* be chmodded to 755. Suexec will not run if it's set to writeable by any other users. (fixed)
John
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.