first post, kind of a newbie

i have two systems one the development box was configured from source install
the other was a RMP install

i have configured VirtualHosts on both machines
on the devel box my virtual hosts look like:

<VirtualHost 192.168.1.148>
ServerName kylelinux.<localdomain>.local
DocumentRoot /usr/local/apache2/htdocs
ServerAlias kylelinux
</VirtualHost>

<VirtualHost 192.168.1.148>
ServerName bmax.<localdomain>.local
DocumentRoot /usr/local/apache2/bmax
ServerAlias bmax
</VirtualHost>

at home they look like:

<VirtualHost 192.168.123.100>
ServerName www.web1.com
DocumentRoot /var/www/html
ServerAlias web1
</VirtualHost>

<VirtualHost 192.168.123.100>
ServerName www.web2.com
DocumentRoot /var/www/web2
ServerAlias web2
</VirtualHost>

now both sites work fine on the development machine, but on my prduction box the site in /var/www/html works fine, but /var/www/web2 doesn't work

i think its because on the development machine my server root in apache is /usr/local/apache2 and both sites live deeper from here, but on the other machine server root is /var/www/html

i think i am answering my own question (now that i have typed it out here i have an idea of somthing to try), but i could just make the DocumentRoot for web2 /var/www/html/web2 and it should work huh?

else is there anything i can edit either in php.ini or httpd.conf that will allow pages in /var/www/web2 to work?

thanks


--
Kyle Victor MCSA/MCSE/CCNA/Linux +/RHCT

visit Kyle's website at:
http://computerguykyle.gotdns.com

Reply via email to