httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arthur DiSegna" <adise...@authentium.com>
Subject RE: [users@httpd] using 127.0.0.2 for ServerName?
Date Thu, 22 Dec 2005 02:54:42 GMT
Hi Ron,  I may be the wrong guy to ask since I just started playing with Apache a week ago...
The apache website is does an impressive job with documentation and is an excellent reference.
 http://httpd.apache.org/docs/2.0/vhosts/name-based.html
 
But try this for starters.
 
NameVirtualHost 69.110.41.144
       <VirtualHost *:80>
         DocumentRoot "/usr/local/apache2/htdocs/"
         ServerName turon.photos.com
# other directives go here
       </VirtualHost>


	-----Original Message----- 
	From: Ron Larson [mailto:rlarson43@yahoo.com] 
	Sent: Wed 12/21/2005 9:43 PM 
	To: users@httpd.apache.org 
	Cc: 
	Subject: Re: [users@httpd] using 127.0.0.2 for ServerName?
	
	

	Arthur,
	Could you please write a single name VirtualHost script for
	hostname is turon-photos.com
	IP address is 69.110.41.144
	
	I am still confused. Sorry for being so slow
	
	Thank you
	Ron
	
	
	--- Arthur DiSegna <adisegna@authentium.com> wrote:
	
	> Hello,  (I aplogize if this is not in text mode. I am using OWA)
	> 
	> I setup my conf file to use name based virtual hosting. I have a single IP
	> bound to the interface hosting two websites. When I start apache in debug
	> mode I get this error. I added two host records vhost1 and vhost2 to point to
	> 192.168.0.1 on my internal DNS for testing (host headers). From inside the
	> network I can ping the FQDN vhost2.mydomain.com & vhost1.mydomain.com.
	> 
	> ERROR:   httpd: Could not determine the server's fully qualified domain name,
	> using 127.0.0.2 for ServerName
	>
	>       Here is a cut out of the setup.
	>       
	>       NameVirtualHost 192.168.0.1
	>       <VirtualHost 192.168.0.2>
	>         DocumentRoot "/var/webroot/pw/"
	>         ServerName vhost2.mydomain.com
	>       </VirtualHost>
	>       
	>       <VirtualHost 192.168.0.1>
	>       DocumentRoot "/var/webroot/enc/"
	>       ServerName vhost1.mydomain.com
	>         <Location /ISSX>
	>             Options Indexes FollowSymLinks
	>             AllowOverride None
	>             Order deny,allow
	>             Allow from all
	>         </Location>
	>       </VirtualHost>
	>       
	>       Thanks in advance
	>
	> > ---------------------------------------------------------------------
	> 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
	
	
	Sincerley,
	Ron Larson
	email: rlarson43@yahoo.com
	cell: (408) 981-4440
	
	__________________________________________________
	Do You Yahoo!?
	Tired of spam?  Yahoo! Mail has the best spam protection around
	http://mail.yahoo.com
	
	---------------------------------------------------------------------
	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