View Single Post
  #13  
Old 3rd September 2009, 11:38
manarak manarak is offline
Senior Member
 
Join Date: Apr 2009
Posts: 263
Thanks: 32
Thanked 6 Times in 5 Posts
Default

Maybe I've stumbled upon the solution.

There's a file /etc/apache2/sites-available/default

it starts with
Quote:
<VirtualHost *:80>
and then sets
Quote:
DocumentRoot /var/www/
So If I make a copy of the whole text and insert it at the beginning of the file and change the above to
Quote:
<VirtualHost MY_IP:80>
and
Quote:
DocumentRoot /var/www/clients/clientXY/webYZ/web/
it should work without disrupting the rest of the server?

(for security, I should then also include some upload dirs and jails)

Last edited by manarak; 3rd September 2009 at 11:41.
Reply With Quote