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

RE: [cobalt-users] CGI scripts problem



add this to your /etc/httpd/conf/access.conf file


<Directory /home/sites/*/web/cgi-bin/>
AllowOverride None
Options  ExecCGI
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
</Directory>

Sim

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Chris
Fragogiannis
Sent: Sunday, August 05, 2001 3:29 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [cobalt-users] CGI scripts problem


When I upload .pl or .cgi scripts in a virtual site (which has cgi scripts
enable from the cp)
the browser always returns me the message "CGI Wrapper .... etc etc User Not
Privileged".
The permissions of the script files are ok. So I read somewhere that I have
to edit the httpd.conf file and inactive the lines:

AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl

So, I have to change them to:

#AddHandler cgi-wrapper .cgi
#AddHandler cgi-wrapper .pl

I did it and it worked. But I cannot do this for every virtual site! Is
there any other way to
solve this problem? Thank you.

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