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

RE: [cobalt-users] Secure CGI on a RaQ4



>>>But still doesn't work.  I think it has something to do w/ the
>>>disconnect  between PATH_INFO variable and the location of the script.

Thanks for your thoughts on this.  Yes, I see where you are going with this.
I think I have an idea of how to work it, though it will be trial and error.
Just as the secure call is 'aliased', the cgi must be 'aliased' correctly
and that
is where I am devoting my efforts.

If anyone else wants to chime in about secure cgi on a RaQ4, please do.

Thanks,
Bill

-------------------------------
> Hello List Members,
>
>  I"ve searched the Cobalt Archives for the following
>
> 'secure cgi raq4'
>
> but get nothing but "The cobalt-users 2000-August Archive by Date"
> types of responses.  I narrowed my search to "secure cgi" but cannot be
> certain that the info applies to a RaQ4 and my situation.
>
> ---- WHAT I AM DOING WITH SSL -----
> I have recently enabled shared SSL on my RaQ4 (thanks to the Archives and
> someone who
> went down this path before me and who was kind enough to share their
> experience).
>
> Now, I would like to enable secure cgi callS on virtual domains.
> Currently,
> I get a 500
> Internal Server Error.
>
> here is what I did for secure SSL.  As root, I opened and edited the
> following file;
>
> /etc/httpd/conf/httpd.conf
>
> Looked up the virtual domain that has the secure cert installed
>
> /server600.net
>
> Found the lines:
> AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site3/users/$1/web/$3
>
> Then added this line directly below it:
>
> AliasMatch ^/secure/([^/]+)(/(.*))? /home/sites/$1/web/$3
>
> Saved the file, restarted the web server and now I can access any
> virtual site on this server via the following format
>
> https://www.server600.net/secure/www.nameofsite.com/filename.html
>
> Here is a working example;
> https://www.server600.net/secure/www.avidinternet.com/index.html
>
> Here is a working example of a secure cgi call (500 error is the result)
> https://www.server600.net/secure/www.avidinternet.com/formmail.pl
>
> Note, I have chmod the permissions of formmail.pl to 755 so that
> is not the
> problem;
> It works without calling securely, see for yourself;
>
> http://www.avidinternet.com/formmail.pl
>
> Thus, I am stumped.  I have seen some info about RaQ 1,2, and 3,
> but nothing
> on doing this on the RaQ4.
>
> If someone could offer some assistance, I would be very grateful.
>
> Thank You,
> Bill Micke