httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Morgan <josephmmor...@hotmail.com>
Subject Re: [users@httpd] Mangled my Virtual Hosts
Date Fri, 27 Mar 2009 13:25:13 GMT

I think you're getting there....I hadn't thought of hitting with CURL...

I use GoDaddy for hosting and DNS... I run my own server with 
Apache/Tomcat.  At GoDaddy, my forwarding is masked to my router's IP 
(so you don't see the ip of the server)...  But, I don't see how GoDaddy 
can possibly mangle the two (at the moment), since the forwarding for 
www.ProSportsResumes.com and www.VideoFortWorth.com are actually NOT 
assuming virtual hosting is working.  That is.. the mask at GoDaddy 
(right now) for ProSportsResumes is:

My.Server.IP.Address/ProSportsResumes

And, for VideoFortWorth, it is:

My.Server.IP.Address/VideoFortWorth

My Apache server web root is organized as follows:

root/htdocs/ProSportsResumes/index.html
root/htdocs/VideoFortWorth/index.html

There is nothing in VideoFortWorth that has "ProSportsResumes" in the 
title. 

But... it begins to make sense a little.  My first virtual host is 
ProSportsResumes... so maybe GoDaddy is grabbing the title of the 
default host and sticking it in the title of its own rewrite from IIS?  
And... it is doing that simply because my virtual hosts may, indeed, be 
working correctly.  Do you think??

Krist van Besien wrote:
> On Fri, Mar 27, 2009 at 1:50 PM, Krist van Besien
>  wrote:
>
>   
>> There is probably nothing wrong with virtualhost config. There is
>> however probably something wrong with your html code. Have you checked
>> that?
>>     
>
> I've checked some more things, looking at what the server acutally returns:
>
> $ curl -v www.VideoFortWorth.com
> * About to connect() to www.VideoFortWorth.com port 80 (#0)
> *   Trying 64.202.189.170... connected
> * Connected to www.VideoFortWorth.com (64.202.189.170) port 80 (#0)
>   
>> GET / HTTP/1.1
>> User-Agent: curl/7.18.2 (x86_64-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3
libidn/1.8
>> Host: www.VideoFortWorth.com
>> Accept: */*
>>
>>     
> < HTTP/1.1 200 OK
> < Date: Fri, 27 Mar 2009 13:02:45 GMT
> < Server: Microsoft-IIS/6.0
> < X-Powered-By: ASP.NET
> < X-AspNet-Version: 2.0.50727
> < Cache-Control: private
> < Content-Type: text/html; charset=utf-8
> < Content-Length: 479
> <
>
>     "http://www.w3.org/TR/html4/strict.dtd">
> 
>
> 
>   ProSportsResumes 
>   
> 
> 
>
> 
> 
> 
> * Connection #0 to host www.VideoFortWorth.com left intact
> * Closing connection #0
>
> Notice a couple of things: This frame seems to come from an IIS
> server. There is also a "powered by ASP,NET" header. I have the
> suspicion that you are using a sort of web forwarding service, that
> generates a frameset that is used to server the real content.
> Because the src link uses an IP address you can not use name based
> virtual hosts.
>
> i'd suggest you contact whoever manages this web redirection.
>
> Krist
>
>   


_________________________________________________________________
Quick access to Windows Live and your favorite MSN content with Internet Explorer 8.
http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A
Mime
View raw message