www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsolve apache <vsolve_apa...@yahoo.com>
Subject Re: general/5659: error 400 when using hostnames with underscores
Date Fri, 28 Jan 2000 05:10:00 GMT
The following reply was made to PR general/5659; it has been noted by GNATS.

From: vsolve apache <vsolve_apache@yahoo.com>
To: mikec@qx.net, submit@bugz.apache.org
Cc: apbugs@Apache.Org
Subject: Re: general/5659: error 400 when using hostnames with underscores
Date: Thu, 27 Jan 2000 21:09:28 -0800 (PST)

 Hi,
 
 >Environment:
 Red Hat Linux release 6.0 (Hedwig)
 Kernel 2.2.5-15 on an i686
 GNU Make version 3.77
 gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2
 release)
 w/ PHP 3.0.14
 >Description:
 Error 400, Bad Request is given every time I have
 tried to connect to a virtual
 host using an underscore(_) in its hostname.  I tried
 several controls, including
 different hostnames, document roots and IP's, all with
 the same result. Any virtual
 host with a "_" in the name (ex. test_serv.qx.net)
 gave 400 error, regardless of
 any other changes I made. hope this helps:) Thanks.
 
 Mike Culbertson
 >How-To-Repeat:
 http://testserv.qx.net <--works fine
 http://test-serv.qx.net <--as does this
 http://test_serv.qx.net <--does not work
 
 With the same environment its working fine for us. It
 is not a problem in Apache...try to match your
 /etc/hosts file and httpd.conf entries with the
 following ours. 
 
 "hosts" file entries are:
 127.0.0.1 localhost localhost.localdomain
 172.16.1.101 chs_a.kovaiteam.com  chs
 
 "httpd.conf" entries are:
 
 .....
 .....
 NameVirtaulHost 172.16.1.101
 <VirtualHost chs_a.kovaiteam.com>
 Server name chs.kovaiteam.com
 DocumentRoot /usr/local/apache/cgi-bin
 </VirtualHost>
 .....
 .....
 
 Regards,
 visolve_apache
 
 
 =====
 Web: http://www.v-solve.com    E-mail: visolve@pacbell.net  
 ************************************************************
 Kovai Solutions USA Inc.,    * Kovaiteam Software Pvt Ltd,
 6559 Springpath  Lane,       * 8/4 SIEMA Bldgs,Race Course,
 San Jose,CA - 95120          * Coimbatore - 641 018,India
 Tel: (408) 666-4320          * Tel: +91(422) 200 849 
 Fax: (408) 323-1872          * Fax: +91(422) 214 074
 __________________________________________________
 Do You Yahoo!?
 Talk to your friends online with Yahoo! Messenger.
 http://im.yahoo.com

Mime
View raw message