httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stephane parenton <steph...@parenton.com>
Subject Re: [users@httpd] vhosts are so simple !
Date Fri, 11 Jul 2003 09:22:52 GMT
Robert Andersson a écrit:

>stephane parenton wrote:
>  
>
>>[config]
>>    
>>
>
>Looks good!
>
>  
>
>>so far so good ! but when i grab my favorite browser, and enter
>>http://www.anotherdomain.tld/, i have this error...
>>
>>The following error was encountered:
>>Connection Failed
>>The system returned:
>>    (111) Connection refused
>>The remote host or network may be down. Please try the request again.
>>damn !
>>    
>>
>
>My first guess would be a DNS issue, as this indicates the request isn't
>reaching Apache. Does a lookup on www.anotherdomain.tld resolve to the same
>IP as www.mydomain.tld?
>
>If it does, do a telnet to www.mydomain.tld 80 and tell Apache to:
>
>GET / HTTP/1.1
>Host: www.anotherdomain.tld
>
>What do you get?
>  
>
I forgot to test it from the apache box, so here it is...

GET / HTTP/1.1
host: www.anotherdomain.tld

HTTP/1.1 403 Forbidden
Date: Fri, 11 Jul 2003 09:29:25 GMT
Server: Apache/1.3.27 (Unix) PHP/4.3.2
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

111
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>403 Forbidden</TITLE>
</HEAD><BODY>
<H1>Forbidden</H1>
You don't have permission to access /
on this server.<P>
<HR>
<ADDRESS>Apache/1.3.27 Server at www.anotherdomain.tld Port 80</ADDRESS>
</BODY></HTML>

0

Connection closed by foreign host.

stephane

Mime
View raw message