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

RE: [cobalt-users] Formmail solution



Hello there,
I've been monitoring this thread because I do have a problem with my cgi
script.
I've also checked the knowledgebase but it does not provide the solution.
I'm out of options...Hope you can help.

I get the error message:
CGIWrap Error: Execution of script not permitted
Execution of (httpd) is not permitted for the following reason:
User not Privlidged.

I have this same formmail.pl on another server (not a cobalt) and it works
fine.
(I have an RAQ3)
1) the script has been transferred in ascii  (one can check this by typing
head -50 filename  and if you see strange characters... it's in binary)
2) chmod 755 has been done
3) the site that it is under has been cgi enabled
4) I did the following according to that article
    You must enable cgi in /etc/httpd/conf/srm.conf. You'll need to
uncomment
    the AddHandler directive, ie.,
    # To use CGI scripts:
    Action cgi-wrapper /cgi-bin/cgiwrap/
    #AddHandler cgi-wrapper .cgi
    #AddHandler cgi-wrapper .pl
         by removing the '#' in front of the AddHandler directives.
(if the above is new to some of you... it was one of the last changes I
tried... I even restarted the server... so it's not like it compounded the
problem, but it didn't work).

5) I even removed the IP no, and left only the www.name.com  in the referral
6) case is correct... everything is lowercase.

www.captainjohngriffiths.com/reserve.htm   goes to the script on the cobalt
server where I have the problem.  This is the one that needs to the script.

www.captainjohngriffiths.com/reservation.htm goes to the script on another
server which works fine.

Appreciate your help...
Ivanov



-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Michael Wass
Sent: Friday, May 12, 2000 6:29 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] Formmail solution


G'day ...

The solution here has been;

1. Make sure of the case (rename the file if necessary).
2. Transfer in right mode - ascii.
3. Delete IP address in referrer and just use www.domain.nam.
4. Make sure chmod is 755.

We've found #3 to be important on the RAQ3 - we've used IP numbers on plain
beige boxes, but the RAQ will only work on the domain name/s.

Hope it helps.



_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users