In the host just add new entries like this:
127.0.0.1 localhost
127.0.0.1 exampleone.com
127.0.0.1 exampletwo.com
Then in the apache config you add:
NameVirtualHost *
<VirtualHost *>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot E:/sites/exampleone
ServerName exampleone
ErrorLog logs/exampleone-error_log
CustomLog logs/exampleone-access_log common
</VirtualHost>
<VirtualHost *>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot E:/sites/exampletwo
ServerName exampletwo
ErrorLog logs/ exampletwo-error_log
CustomLog logs/ exampletwo-access_log common
</VirtualHost>
Of notice is the sensitivity of apache config to the / and \... in some places one
works in others you must use the other...
you can play arround with the * and the servernames in both the generic directive or
the specific virtualhost servernames... however, you must have at least one of the
virtual hosts to answer for the namevirtualhost...
Cheers,
Luis Ferro
P.S.- don't forget to change the php.ini directories also, specially the include
defaults... that give me much headaches...
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php