script not working

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
26,113
Location
California
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
 
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:

Code:
[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
 
Last edited:
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
 
Back
Top