Project

General

Profile

Actions

Bug #548

closed

host name with an "_" apparently caused a 400 error

Added by Anonymous about 19 years ago. Updated over 16 years ago.

Status:
Invalid
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

I use /etc/hosts to alias multiple domain names to 127.0.0.1. Using lighttpd 1.4.10 on Fedora Core 4, I get the following problem, when using mod_simple_vhost and no conditionals.

1) localhost works fine.
2) most other domains aliased to 127.0.0.1 work fine.
3) a domain, cs_rc5, consistently gets a 400 Bad Request screen.

I am almost sure that that the "_" is the problem here, since I defined a new host "has_underscore", and it also gets a 400 error.

I can work around this ("don't expect host names with underscores to work"), but it's a bit annoying, nonetheless. And the 400 error doesn't give any useful help in figuring out the problem.

-- rob

Actions #1

Updated by moo about 19 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid

i hit the same problem. even Chinese/GBK character works in <=IE6 + apache(much less validatation). BUT _ isn't validate character in domain name standard. u can't even register such domain at any service provider, although, u might have luck on a your bind8/9 dns server to setup a non standard sub domain and query via your isp dns in a recursion resolve. (in your case it's simply /etc/hosts)

Actions #2

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom