You are here: configured my apache to take 2 VirtualHost !!! « All PHP « IT news, forums, messages
configured my apache to take 2 VirtualHost !!!

Posted by HAK on 05/15/06 21:51

Hi,

I have configured my apache to take 2 VirtualHost (on my first machine
192.168.0.30) ,
But when i try to use just servername example (site_epieces.com) from
another
machine (on my second 192.168.0.40) does not work.

But when i use 192.168.0.30 it works. I use different port 80 and 81
192.168.0.30:80 he give me site_epieces.com
192.168.0.30:81 he give me site_gvs.com

Can some one helpme tanks.

here is my VirtualHost.

<VirtualHost 192.168.0.30>
DocumentRoot "C:/Documents and Settings/gvs/Mes
documents/sites/site_epieces.com/site/web"
ServerName site_epieces.com
ErrorLog "C:/Documents and Settings/gvs/Mes
documents/sites/site_epieces.com/local-logs/error.log"
CustomLog "C:/Documents and Settings/gvs/Mes
documents/sites/site_epieces.com/local-logs/access.log" combined
</VirtualHost>
<VirtualHost 192.168.0.30>
DocumentRoot "C:/Documents and Settings/gvs/Mes
documents/sites/site_gvs.com/site/web"
ServerName site_gvs.com
ErrorLog "C:/Documents and Settings/gvs/Mes
documents/sites/site_gvs.com/local-logs/error.log"
CustomLog "C:/Documents and Settings/gvs/Mes
documents/sites/site_gvs.com/local-logs/access.log" combined
</VirtualHost>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация