Re: [users@httpd] virtual host over a port in 1.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 30 Mar 2005 16:14:18 -0700, Hunter Peress <hunterp@xxxxxxxxx> wrote:
> On Wed, 30 Mar 2005 19:07:43 -0400, Ivan Barrera A. <Bruce@xxxxxx> wrote:
> > Hunter Peress wrote:
> > > hi, is there a way i can do a virtual host  over a port in 1.3
> > >
> >
> > ??????
> For example normally to make a dns-based virtual host, you  do:
> 
> <VirtualHost *:80>
>    ServerName something.com
>    DocumentRoot /something.com
> </VirtualHost>
> 
> So, suppose this machine has a static IP of x.y.z.w , if i enter
> x.y.z.w:31   , i want apache to map that port over some DocumentRoot.
> so this would be "virtual host over a port with no dns involved".

Yes.  Port-based virtual hosting works exactly like IP-based virtual
hosting.  Look that up in the docs, and then feel free to ask any
questions you still have.  (Note you need a Listen directive for each
port as well as a <VirtualHost> block.)

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux