[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Formmail solution



Good News: Got the formmail.pl script working. thought I'd summarize for
other
users who come across the same problem.

One: #!/usr/bin/perl   <TO>  #!/usr/bin/perl --   <--Two dashes at end

Two: had to change the owner of the script to admin.  (don't ask me why, the
cgi-bin directory is in the user directory, also read in the knowledgebase
where it didn't matter that you didn't have to put the full path. arggg...
dumpkoff... I know... I uploaded the stupid website as admin... but still -
it should have automatically set the .pl file)

Three: enable cgi in /etc/httpd/conf/srm.conf  (see details in email thread)

Four: chmod 755

Five: script worked with both www.name.com and name.com in the referrer.
didn't bother testing with the ip no.

Six: Make sure the site is cgi-enabled and the formmail.pl is ascii.

Thanks everyone for your .02 cents.  Now I got a whole dollar.