On Mon, 7 May 2001, Mark on GCI Server wrote:
> I would like to run cgi scripts within the Virtual server. Which directive
> do I modify with what path. I thought if I set it to use anywhere, that
> should do the trick, it didn't. I would like the ability to run cgi scripts
> on the secured server separate to the regular http server.
You should create a separate cgi dreictory just for use under SSL and use
the same directives you would use under the non-SSL virutal server but
with the different paths.
Here is how you might do it for mod_perl, where you are keeping your
scripts under perl_secure:
#settings for mod_perl and Mason
Alias /perl/ "/www/perl_secure/"
PerlModule Apache::DBI DBI CGI Apache::Session::Postgres
<Location /perl>
SSLOptions +StdEnvVars
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Location>
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
I'm not the person your mother warned you about... her imagination isn't
that good.
-- Amy Gorin
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]