[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: Virtual Hosting has got me foxed



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.




[Older Fedora Users Mail]     [Home]     [Fedora Legacy]     [Fedora Desktop]     [iPod Nano]     [ATA RAID]     [Fedora Bible]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Packaging]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Powered by Linux

Google
  Web www.spinics.net