At 11:45 PM 8/12/01 +0200, you wrote:
>On Sun, Aug 12, 2001 at 05:24:36PM -0400, Tony Nelson wrote:
> > I've been through the documentation and FAQ several times.. and I'm very
> > close to having my server setup the way I want, but not quite.. and it
> > should be pretty simple.
>
>Have you got two vhosts - on that runs plain HTTP on port 80 and one
>that runs SSL on port 443?
>Then it could be as simple as:
>RedirectMatch ^/bar/(.*)$ https://foo/bar/$1
I hadn't considered using vhosts. I haven't set them up before, but I'll
check out the documentation..
> >
> > I'm not sure what the SSL* options are used for, but any time I uncomment
> > any of them my server won't start, complaining as follows:
> >
> > [root@itwatch conf]# ../bin/apachectl
> > configtest
> > Syntax error on line 364 of /usr/local/apache/conf/httpd.conf:
> > Invalid command 'SSLVerifyClient', perhaps mis-spelled or defined by a
> > module not included in the server configuration
> >
>Looks like your server doesn't support SSL. Check to see if it is compiled
>in with: /path/to/apache/bin/httpd -l
>Does it list mod_ssl? or if it lists mod_so - do you have the LoadModule
>and AddModule directives for mod_ssl?
I have the following ...
[root@itwatch conf]# ../bin/httpd -l
Compiled-in modules:
http_core.c
mod_so.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
and in httpd.conf
[ .. more above .. ]
LoadModule setenvif_module libexec/mod_setenvif.so
<IfDefine SSL>
LoadModule ssl_module libexec/libssl.so
LoadModule php4_module libexec/libphp4.so
</IfDefine>
[ .. deleted ..]
AddModule mod_setenvif.c
<IfDefine SSL>
AddModule mod_ssl.c
AddModule mod_php4.c
</IfDefine>
I can access my server on 80 and 443 w/ SSL.. that was pretty easy to
setup.. :)
I'll check into the vhosts now..
>vh
>
>Mads Toftum
>--
>With a rubber duck, one's never alone.
> -- "The Hitchhiker's Guide to the Galaxy"
>______________________________________________________________________
>Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>User Support Mailing List [EMAIL PROTECTED]
>Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]