[PLUG] Apache question

Paul Heinlein heinlein at madboa.com
Wed Jun 2 13:23:02 UTC 2004


On Wed, 2 Jun 2004, Ryan Schlosser wrote:

>> How can I make connections to the IP address of my box go to one 
>> dir and connections using a domain name go to a different dir?
>>
>
> I think you should just have to setup two virtual hosts, one for the 
> IP and one for the Domain and point each to a different directory.

*nod* Here are the Apache 2.0 docs on the subject of virtual hosts:

   http://httpd.apache.org/docs-2.0/vhosts/

-- Paul Heinlein <heinlein at madboa.com>




More information about the PLUG mailing list