On Sat, Jan 16, 2010 at 11:16 AM, Raja Subramanian
<[email protected]>wrote:

> On Sat, Jan 16, 2010 at 10:51 AM, Raja Chinnathambi
> <[email protected]> wrote:
> > 2. Is name based virtual host supports SSL?
> >
> > 3. If yes, then how.
>
> >HTTPS cannot work with named vhosts.  You need a dedicated
> >IP address or different TCP port numbers for every HTTPS site
> >you want to host.
>
> >This is clearly explained in the apache ssl faq:
>

sir, can u plz clarify these part mentioned below "multiple ports (eg:
running ssl)" and how to achieve it and also can u tell me the Maximum
number of name based virtual hosts apache supports?

To use name-based virtual hosting, you must designate the IP address (and
possibly port) on the server that will be accepting requests for the hosts.
This is configured using the
NameVirtualHost<http://httpd.apache.org/docs/2.0/mod/core.html#namevirtualhost>directive.
In the normal case where any and all IP addresses on the server
should be used, you can use * as the argument to
NameVirtualHost<http://httpd.apache.org/docs/2.0/mod/core.html#namevirtualhost>.
If you're planning to use multiple ports (e.g. running SSL) you should add a
Port to the argument, such as *:80. Note that mentioning an IP address in a
NameVirtualHost<http://httpd.apache.org/docs/2.0/mod/core.html#namevirtualhost>directive
does not automatically make the server listen to that IP address.
See Setting which addresses and ports Apache
uses<http://httpd.apache.org/docs/2.0/bind.html>for more details. In
addition, any IP address specified here must be
associated with a network interface on the server.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to