httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robby Russell <ro...@planetargon.com>
Subject Re: [users@httpd] NameVirtualHost warning
Date Tue, 22 Feb 2005 16:35:01 GMT
On Tue, 2005-02-22 at 17:13 +0100, Jan Eden wrote:
> Hi,
> 
> my httpd.conf contains the following:
> 
> NameVirtualHost 127.0.0.1
> 
> <VirtualHost 127.0.0.1>
>     ServerName localhost    
>     DocumentRoot /usr/local/apache2/htdocs
> </VirtualHost>
> 
> <VirtualHost 127.0.0.1>
>     ServerName janlocal
> </VirtualHost>
> 
> <VirtualHost 127.0.0.1>
>     ServerName janedit
> </VirtualHost>
> 

Try:

NameVirtualHost 127.0.0.1

<VirtualHost 127.0.0.1:80>
...
</VirtualHost>

-- 
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON  | www.planetargon.com
* Portland, OR  | robby@planetargon.com
* 503.351.4730  | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
* --- Now hosting Ruby on Rails Apps ---
****************************************/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message