View Single Post
  #1  
Old 3rd December 2008, 13:22
haimari1 haimari1 is offline
Junior Member
 
Join Date: Jan 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cherokee and Virtual Ip (Virtual Server)

Hi all,

I have Cherokee Version: 0.11.2 compiled from source on Debian Etch and working, with php5 - compiled with php5-cgi ( FastCGI enabled)

I am now trying to transfer all my old websites (installed on Apache2) to the new Cherokee.

on the Apache2 i have about 10 virtual servers configured with "Virtual-Ip" (each site has it's own unique real ip address)
here is the relevant part from my httpd.conf (not the real addresses...):

Code:
NameVirtualHost 1.1.1.1
NameVirtualHost 1.1.1.2

<VirtualHost 1.1.1.1>

        DocumentRoot /var/www/site1
        ServerName site1.com
        <Directory /var/www/site/site1>
                Options +FollowSymLinks MultiViews +Includes
                AllowOverride ALL
                Order allow,deny
                allow from all
        </Directory>

</VirtualHost>

<VirtualHost 1.1.1.1>

        DocumentRoot /var/www/site1
        ServerName www.site1.com
        <Directory /var/www/site/site1>
                Options +FollowSymLinks MultiViews +Includes
                AllowOverride ALL
                Order allow,deny
                allow from all
        </Directory>

</VirtualHost>

<VirtualHost 1.1.1.2>

        DocumentRoot /var/www/site2
        ServerName site2.com
        <Directory /var/www/site/site2>
                Options +FollowSymLinks MultiViews +Includes
                AllowOverride ALL
                Order allow,deny
                allow from all
        </Directory>

</VirtualHost>

<VirtualHost 1.1.1.2>

        DocumentRoot /var/www/site2
        ServerName www.site2.com
        <Directory /var/www/site/site2>
                Options +FollowSymLinks MultiViews +Includes
                AllowOverride ALL
                Order allow,deny
                allow from all
        </Directory>

</VirtualHost>


how can i configure this on Cherokee. i looked at the documentation but i don't see anything related to "Virtual-Ip"

help will be much appreciated.
Reply With Quote
Sponsored Links