Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old October 7th, 2004, 03:02 AM
flaffy flaffy is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 2 flaffy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to flaffy Send a message via AIM to flaffy Send a message via MSN to flaffy
Apache serves httpd/unix-directory for non-existing subdomains [fixed]

Hi there

I have a couple of domains and one server. So i decided to use virtual hosts on my apache 2. But there is a great problem...

For example:
If i go to ... www.mydomainname.com ... all works well...

If i go to ... nonexistingsubdomain.mydomainname.com ... a download dialog appers and offers me to download a empty file of kind of httpd/unix-directory.

How can i fix it? May a '404 not found' or the browsers way 'website could not be found'-message would be nice

Any ideas?

Reply With Quote
  #2  
Old October 11th, 2004, 04:46 AM
flaffy flaffy is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 2 flaffy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to flaffy Send a message via AIM to flaffy Send a message via MSN to flaffy
Ok ... meanwhile i found the problem. If Apache doesnt find a VirtualHost which fits the URL it redirects to the first VirtualHost or in my case to the DocumentRoot ... because of there is no Index-File and no Directory Protection it serves this Unix-Directory as a empty file...

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Apache serves httpd/unix-directory for non-existing subdomains


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 6 hosted by Hostway