I'm developing php from a win2k box and recently added vhosts to the
httpd.conf file, as shown below

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

NameVirtualHost *

<VirtualHost *>
    ServerAdmin webmaster@localhost
    DocumentRoot "D:/Internet/crestar/web/"
    ServerName localhost
    ErrorLog logs/crestar-error_log
    CustomLog logs/localhost-access_log common
</VirtualHost>

<VirtualHost *>
    ServerAdmin webmaster@crestar
    DocumentRoot "D:/Internet/crestar/web/"
    ServerName crestar
    ErrorLog logs/crestar-error_log
    CustomLog logs/crestar-access_log common
</VirtualHost>


<VirtualHost *>
    ServerAdmin webmaster@dev
    DocumentRoot "D:/Internet/Dev/Web"
    ServerName dev
    ErrorLog logs/dev-error_log
    CustomLog logs/dev-access_log common
</VirtualHost>

<VirtualHost *>
    ServerAdmin webmaster@agent
    DocumentRoot "D:/Internet/Agent/Web"
    ServerName agent
    ErrorLog logs/agent-error_log
    CustomLog logs/agent-access_log common
</VirtualHost>

<VirtualHost *>
    ServerAdmin webmaster@new
    DocumentRoot "D:/Internet/New/Web"
    ServerName new
    ErrorLog logs/new-error_log
    CustomLog logs/new-access_log common
</VirtualHost>
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


but as soon as i add a vhost to apache I cannot connect to mysql. can anyone
help?????



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to