Re: Virtual Hosting has got me foxed

Chris Davies <[email protected]>
Newsgroups gmane.network.tux
Message-ID <[email protected]>
use mode 3 virtual  (I think)

/var/www/1.2.3.4/domain1.com
/var/www/1.2.3.4/domain1.co.uk

in the user side, set up symlinks to point to the 'real' location.

tux cannot follow symlinks or hardlinks (if I recall)

you might be able to get away with mode 2 virtual and just do

/var/www/domain1.com
/var/www/domain1.co.uk

and set up symlinks in /home/htdocs/hosted/domain1/domain1.co.uk to
point to /var/www/domain1.co.uk

On Thu, 2003-07-31 at 12:16, Alex Kemp wrote:
> Looking to use TUX on a brand-new server (RH8) but need to fit in with
the
> Apache virtual-hosts & directory structure inherited from a previous
> hosted-situation. In spite of spending an afternoon in research (my
head is
> spinning) I just cannot see the way to configure the 3 TUX directives
to fit
> in with the existing structure. Is it possible? Here is the relevant
config
> bits in Apache:
> 
> DocumentRoot /home/htdocs/hosted/
> 
> <VirtualHost xx.xx.xx.xx>
>     DocumentRoot /home/htdocs/hosted/domain1/domain1.com
>     ServerName domain1.com
> ..
> </VirtualHost>
> 
> <VirtualHost xx.xx.xx.xx>
>     DocumentRoot /home/htdocs/hosted/domain1/domain1.co.uk
>     ServerName domain1.co.uk
> ..
> </VirtualHost>
> 
> <VirtualHost xx.xx.xx.xx>
>     DocumentRoot /home/htdocs/hosted/domain2/domain2.co.uk
>     ServerName domain2.co.uk
> ..
> </VirtualHost>
> 
> etc
> 
> The existing sites are built on this directory-structure & could not
be
> easily changed. In spite of concerns over TUX stability with Xeon cpus
(was
> that ever sorted?) & all the other stuff I would like to use it, but
this
> aspect of virtual mass-hosting is stopping me.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.