If you have mod_perl, check out an article I wrote for take23 a while
back at
http://take23.org/articles/2001/03/12/redirect.xml?style=printable

If you don't, maybe mod_rewrite would help?

Then again, maybe I'm misreading what you need?

--- Christopher Piggott HOME <[EMAIL PROTECTED]> wrote:
> Is it reasonable to expect to run some http and some https traffic on
> the same instance of apache 1.3 ?
> 
> I have named virtual hosts, and I understand they don't work with
> mod_ssl, but what if I want something like this:
> 
> NameVirtualHost 192.168.0.101
> 
> ### Definition for some http (non SSL) virtual hosts
> 
> <Virtual 192.168.0.101:80>
>    ServerName "host1.blah.blah.blah.com"
>    # definition for this virtual host
> </Virtual>
> 
> <Virtual 192.168.0.101:80>
>    ServerName "host2.blah.blah.blah.com"
>    # definition for this virtual host
> </Virtual>
> 
> ### Definition for SSL - ALL port 443!
> <Virtual _default_:443>
>    <Location />
>       SSLRequireSSL
>    </Location>
> </Virtual>
> 
> ####################
> 
> In other words, I don't care if the virtual named hosts work properly
> for
> SSL, I just want it to work - and it's ok if HTTPS exists outside of
> any
> virtual host.
> 
> I have thought of adding a second instance of the server, with its
> own
> config file (or switches in httpd.conf using <IfDefine SSL>) ... but
> I don't
> really want to lose the usefulness of apachectl.  I don't know of a
> convenient way to do this other than brute force.
> 
> Thanks,
> 
> --Chris
> 
> 
> 
>
______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                  
> www.modssl.org
> User Support Mailing List                     
> [EMAIL PROTECTED]
> Automated List Manager                           
[EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to