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

[cobalt-users] CGI Scripts and Shared SSL on RaQ4r



Hello List,

Ok, I had a problem with my CGI scripts not running when I shared my ssl
cert on my RaQ4r like so:

https://secure.securedomain.com/sites/www.otherdomain.com

Well, I couldn't find a definitive answer to it in the archives, so I solved
it on my own..  I edited "access.conf" in my "/etc/httpd/conf" directory and
added "ExecCGI" to the "Options" line below:

<**BEGIN access.conf CLIP**>
<Directory /home/sites/>

# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".

# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.

Options Indexes FollowSymLinks Includes MultiViews ExecCGI
<**END access.conf CLIP**>

And in my "httpd.conf" file I changed the "AddHandler" lines for
"secure.mydomain.com" like so:

AddHandler cgi-script .cgi
AddHandler cgi-script .pl

They use to say "AddHandler cgi-wrapper .cgi" etc..  And now it works like a
charm..  I am able to run my cgi-scripts using the following urls:

https://secure.mydomain.com/sites/www.otherdomain.com/cgi-bin/cgiscript.cgi
or
https://secure.mydomain.com/sites/site100/cgi-bin/cgiscript.cgi

and so on and so forth..

Can someone tell me if this will cause any probs..  I'm still a newbie, and
I am unsure if this is opening up a security hole or something..  Thank you
list..

-Jamie-
http://w-c.net
WebConnection.Net, Inc.