Hi,

Thanks. Just want to ask why when i type https://mysite.com/servlet/Hello, 
it will automatically go to 443 not 4444. And that when i type 
https://mysite.com:8080/servlet/Hello, it will not go to 4444.

Sandy

>From: Owen Boyle <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: two sets of virtual hosts
>Date: Mon, 28 Aug 2000 09:17:52 +0200
>
>Sandy Yung wrote:
> >
> > I would like to configure my apache as:
> > first set:
> > port : 80  non-ssl
> > port : 443 ssl
> >
> > second set:
> > port : 8080 non-ssl
> > port : 4444 ssl
> >
> > because i want the 2 sets having different DocumentRoot
> > How should i configure my httpd.conf?
> > Thanks!
> >
>
>Since you are happy to use different ports for all the VirtualHosts this
>is just Port-based Hosting (cf. p64 of Lauries' Apache Book). You just
>have to:
>
>- "Listen" on all the ports
>- define the port numbers in the <VirtualHost > tags...
>
>E.g.
>
>Listen 80
><VirtualHost www.mydomain.com:80>
>...
></VirtualHost>
>
>Listen 443
><VirtualHost www.mydomain.com:443>
>...
></VirtualHost>
>
>Listen 8080
><VirtualHost www.mydomain.com:8080>
>...
></VirtualHost>
>
>Listen 4444
><VirtualHost www.mydomain.com:4444>
>...
></VirtualHost>
>
>Strictly speaking, apache listens to ports 80 and 443 by default anyway
>so the first two Listen directives are not really needed, but I'd keep
>them in as a reminder of the standard form.
>
>Best regards,
>
>Owen Boyle
>--
>SWX Swiss Exchange,  10 Cours de Rive, 1211 Geneve 3
>--------------------------+-------------------------
>Phone: +41 (0)22 849 5648 | Fax: +41 (0)22 849 5643
>______________________________________________________________________
>Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
>User Support Mailing List                      [EMAIL PROTECTED]
>Automated List Manager                            [EMAIL PROTECTED]

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.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