VirtualHosts
am 18.10.2007 20:35:51 von jm_mcgrath
Hi there ... hoping to gather some feedback on this scenario.
Is it possible to have the following scenario:
One physical server with one IP.
Apache 2.0.59
Two Virtual Hosts - on listening on 80 and the other 443 (SSL cert)
Have a VH with 80 have a unique document root. This server will have
index page off the root ("/) that will redirect users to the 443 site.
Have a VH with 443 with its unique document root.
Reverse Proxy directives and Auth directives have to be unique to the
VH and they are defined for user access to the root ("/")
Thanks.
Jeff
Re: VirtualHosts
am 19.10.2007 20:45:39 von Hans van Zijst
Hi Jeff,
I don't see why you couldn't make this. VirtualHosts really behave a
completely separate servers. I don't know about the Reverse Proxy btw.
If you want your users to *always* use the SSL side, a RewriteRule might
be a little easier in that you don't have to maintain a page on disk to
do the redirect.
Kind regards,
Hans
jm_mcgrath schreef:
> Hi there ... hoping to gather some feedback on this scenario.
>
> Is it possible to have the following scenario:
>
> One physical server with one IP.
> Apache 2.0.59
> Two Virtual Hosts - on listening on 80 and the other 443 (SSL cert)
> Have a VH with 80 have a unique document root. This server will have
> index page off the root ("/) that will redirect users to the 443 site.
> Have a VH with 443 with its unique document root.
> Reverse Proxy directives and Auth directives have to be unique to the
> VH and they are defined for user access to the root ("/")
>
> Thanks.
>
> Jeff
>