------=_Part_42857_10074525.1192492564515
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Are these IP-based virtual hosts or name-based virtual hosts? See
http://httpd.apache.org/docs/2.0/vhosts/name-based.html

--Cliff


On 10/15/07, Bernard Barton wrote:
>
> In my main httpd.conf file, I have numerous include files which include
> virtual hosts like so:
>
> Include /usr/local/apache/conf/conf.d/devl00.conf
> Include /usr/local/apache/conf/conf.d/devl01.conf
> Include /usr/local/apache/conf/conf.d/devl02.conf
>
>
> So if I access http://devl02.mydomain.com/ then I see the virtual host
> defined
> in devl02.conf, etc. In the devl02.conf file, I have enabled SSL. I CAN
> access the secure site https://devl02.mydomain.com/. However, when I now
> access the non-secure site of http://devl02.mydomain.com, the main server
> web site is displayed, and not the virtual host. What I'm trying to do
> is a
>
> RedirectPermanent / https://cj-devl02.mydomain.net/
>
> But when I do this I get errors that I posted previously about cookies not
> being enabled. So I guess the questions is, having the "Include"
> statements
> above, and knowing that each include file like devl08.conf is a virtual
> host
> container with SSL enabled, how do I redirect from the port 80 version to
> the SSL enabled port 443 version like:
>
> http://cj-devl02.mydomain.net/ ------> https://cj-devl02.mydomain.net/
>
> FYI, I've tried including .conf files, and also pasting the contents of my
> .conf files into an email, but they evidently are rejected by the
> mailing list.
>
> __________________________________________________ ____________________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@modssl.org
>


------=_Part_42857_10074525.1192492564515
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


Are these IP-based virtual hosts or name-based virtual hosts?  See http://httpd.apache.org/docs/2.0/vhosts/name-based.html

--Cliff



On 10/15/07, Bernard Barton <bfb21@comcast.net> wrote:

In my main httpd.conf file, I have numerous include files which include
virtual hosts like so:

Include /usr/local/apache/conf/conf.d/devl00.conf
Include /usr/local/apache/conf/conf.d/devl01.conf
Include /usr/local/apache/conf/conf.d/devl02.conf



So if I access http://devl02.mydomain.com/ then I see the virtual host
defined
in devl02.conf, etc.  In the devl02.conf file, I have enabled SSL.  I CAN
access the secure site
https://devl02.mydomain.com/.  However, when I now
access the non-secure site of http://devl02.mydomain.com, the main server
web site is displayed, and not the virtual host.  What I'm trying to do

is a

   RedirectPermanent / https://cj-devl02.mydomain.net/

But when I do this I get errors that I posted previously about cookies not
being enabled.  So I guess the questions is, having the "Include" statements

above, and knowing that each include file like devl08.conf is a virtual host
container with SSL enabled, how do I redirect from the port 80 version to
the SSL enabled port 443 version like:


http://cj-devl02.mydomain.net/
  ------>  https://cj-devl02.mydomain.net/

FYI, I've tried including .conf files, and also pasting the contents of my
.conf files into an email, but they evidently are rejected by the

mailing list.

__________________________________________________ ____________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      
modssl-users@modssl.org
Automated List Manager                            majordomo@modssl.org



------=_Part_42857_10074525.1192492564515--
__________________________________________________ ____________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org