apache SSL help

Craig White craigwhite at azapple.com
Tue Oct 17 09:17:53 MST 2006


On Tue, 2006-10-17 at 10:56 -0500, alex at crackpot.org wrote:
> Quoting alex at crackpot.org:
> 
> > You need 2 virtual hosts.  One for normal http, and the other for
> > https.  I just wrote these samples off the top of my head, so you
> > might need to check the syntax in the docs, but this setup will work.
> >
> > NameVirtualHost 0.0.0.0
> >
> > <VirtualHost 0.0.0.0:80>
> >    ServerName cms.tobyhouse.com
> >    Redirect / https://cms.tobyhouse.com/
> > </VirtualHost>
> >
> > <VirtualHost 0.0.0.0:443>
> >    ServerName cms.tobyhouse.com
> >    SSLRequireSSL
> >    # other directives
> > </VirtualHost>
> 
> Sorry, Craig, I should have read your post a little closer.   
> SSLRequireSSL need to be in a <Directory> like you have it, not in the  
> <VirtualHost>.  How to relax the SSLRequireSSL in a subdirectory?  I  
> don't know that one, but I'll keep looking.
----
actually, the killer seems to be the Redirect Permanent /drupal line
because even if I just do a 'wget
http://localhost/drupal/modules/civicrm/extern/soap.php' the Redirect is
in play and it shifts automatically to an https request

Craig



More information about the PLUG-discuss mailing list