Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 7th, 2002, 04:37 PM
Cerbere Cerbere is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 25 Cerbere User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
VirtualHost & AOL

I have come across a strange problem. I have configured several domains on my server and they all seem to work well on my local network and from several different ISPs. However, it was recently brought to my attention that when people try to access one of the virtual hosts from an AOL account, they only get the first VirtualHost.

Has anyone heard of this occurring? Can anyone offer advice?

--- Cerbere

Reply With Quote
  #2  
Old March 7th, 2002, 04:50 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Tell them to upgrade to the latest version of AOL browser.

Reply With Quote
  #3  
Old March 7th, 2002, 05:39 PM
Cerbere Cerbere is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 25 Cerbere User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I can't tell every AOL customer to upgrade. Meanwhile, the guy whose site I'm hosting isn't too pleased to see another site come up when people type in his URL.

--- Cerbere

Reply With Quote
  #4  
Old March 7th, 2002, 08:01 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Not to every AOL customer but the ones that are still using very old and outdated browsers that can't communicate with Apache's vhost.
Read here -> http://httpd.apache.org/docs/vhosts/name-based.html to find out the limitation.

Reply With Quote
  #5  
Old March 7th, 2002, 08:13 PM
Cerbere Cerbere is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 25 Cerbere User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the tip, FreeBSD. I've been scanning the VH section of the Apache site, looking for any info that seems relevant. I don't know if this relates to my problem, tho. I've had a friend testing the site on his AOL account, and he's running 7.0 on XP.

I'm still confused...

Reply With Quote
  #6  
Old March 7th, 2002, 08:25 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
If you think it's NOT a client-side issue, then please zip and attach your httpd.conf here.

Reply With Quote
  #7  
Old March 8th, 2002, 11:31 AM
heavyboots heavyboots is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 6 heavyboots User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Proxy Servers?

This is just a random guess in the dark based on my own experiences with AOL, but...

We're forever getting people who have difficulties logging into the secure sections of our sites because AOL has cached the 401 Auth page on their proxy server (despite our best efforts to block that kind of thing).

Could proxy caching be related to this issue? (ie, AOL looks it up, sees IP# 123.xxx.xxx.xxx/index.html and thinks that it already has that page in the proxy cache?)

All our sites are virtual-hosted off the same IP, and so far we don't have this difficulty (Apache/1.3.22/Red-Hat/Linux 7.1).

Reply With Quote
  #8  
Old March 8th, 2002, 08:08 PM
Cerbere Cerbere is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 25 Cerbere User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
OK guys, I owe you big for your help, and bigger since it turns out I was wasting your time.

I went to a friend's to try visiting the site (www.domainX.com) on his AOL account and . . . no problem.

So, I went back to the guy whose site it is (he was the one who told me about the 'problem') and asked him to try it again. I watched him type 'domainX.com' in his browser (without the 'www.'), and apache defaulted to the first domain listed as a VirtualHost. Right away I realized two things I had done wrong.

The first was to rely on his description of the problem without seeing it firsthand. I never knew that he was omitting the 'www.'

The second was something that I was omitting. Now that I have gone back to the httpd.conf and added several lines of:

ServerAlias domainX.com *.domain.com

(one for each VirtualHost) everything works just fine.


Thanks again for all your efforts.

--- Cerbere

Reply With Quote
  #9  
Old March 11th, 2002, 01:33 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Now that you know all AOL users only know point and click and nothing beyond those.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > VirtualHost & AOL


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT