Sorry for the OT post but this has me stumped and Google is not giving me
any good leads.
I am trying to setup Apache with PHP on Win32 (don't ask why). Anyhow, PHP
is working great but virtual hosting is not going so well. When the browser
brings up http://localhost/ it reads from [Apache Root]/apache/htdocs as
defined by:
#*** Good Virtual **********************************
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs/"
ServerName localhost
ErrorLog logs/error_log
CustomLog logs/access_log common
</VirtualHost>
#***************************************************
What are are tring to do is setup http://test.localhost/ and it is not
working here is the virtual host and apache restart ...
#*** Bad Virtual ***********************************
[Sat Apr 21 09:55:33 2001] [error] Cannot resolve host name
est.localhost --- ignoring!
The Apache service is restarting.
The Apache service has restarted.
<VirtualHost test.localhost>
ServerAdmin webmaster@localhost
DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs/test/"
ServerName test.localhost
ErrorLog logs/test.localhost-error_log
CustomLog logs/test.localhost-access_log common
</VirtualHost>
#***************************************************
Any thoughts on getting Win32 to resolve that test.localhost name ?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] redirection Kishore
- Re: [PHP] redirection Jason Brooke
- RE: [PHP] [Apache] Win32 Virtual Host - Sub Doma... Jon Shoberg
- RE: [PHP] [Apache] Win32 Virtual Host - Sub ... Andrew Braund
- Re: [PHP] redirection Sigitas Paulavicius
- Re: [PHP] redirection KPortsmout
- [PHP] redirection Norman Zhang
- Re: [PHP] redirection Jason Wong
- Re: [PHP] redirection David Freeman
- [PHP] redirection Renaldo De Silva
- Re: [PHP] redirection Tyler Longren
- RE: [PHP] redirection Jay Blanchard
- [PHP] Re: redirection John Taylor-Johnston