Apache 1.2/HTTP 1.1/VirtualHosts -- don't work for me

Apache 1.2/HTTP 1.1/VirtualHosts -- don't work for me

Post by Bruce Cot » Sat, 01 Mar 1997 04:00:00



I have Apache 1.2b7 running under Solaris2.5.  All GET requests in
the log show up as HTTP/1.0 requests, including requests from
Netscape 3.x and IE 3.x.    As a bit of a test I tried setting up
a non-IP based Virtual Host.  It didn't work.

Given all the HTTP/1.1 hooplah, how can this be?  I must be doing
something wrong.  Is there a module or run-time directive or
something that I need to set?  I did keep basically the same conf
files when I upgraded Apache from 1.1 to 1.2.  

Thanks in advance for any hints.

        -Bruce

 
 
 

Apache 1.2/HTTP 1.1/VirtualHosts -- don't work for me

Post by Marc Slemk » Sun, 02 Mar 1997 04:00:00


They are HTTP/1.0 requests.  I think MSIE 4.x will support
HTTP/1.1, but Netscape Communicator 4.x doesn't.  None of the
major commercial webservers that I can think of support
it yet either, although there are a few other non-commercial ones
that do.  

non-IP based virtual hosts should work regardless, although
the syntax Apache uses can be mildly confusing at times.  Even
though they don't support HTTP/1.1, most browsers still send
the Host: header.


Quote:>I have Apache 1.2b7 running under Solaris2.5.  All GET requests in
>the log show up as HTTP/1.0 requests, including requests from
>Netscape 3.x and IE 3.x.    As a bit of a test I tried setting up
>a non-IP based Virtual Host.  It didn't work.
>Given all the HTTP/1.1 hooplah, how can this be?  I must be doing
>something wrong.  Is there a module or run-time directive or
>something that I need to set?  I did keep basically the same conf
>files when I upgraded Apache from 1.1 to 1.2.  
>Thanks in advance for any hints.
>    -Bruce


 
 
 

Apache 1.2/HTTP 1.1/VirtualHosts -- don't work for me

Post by Pete Phili » Tue, 04 Mar 1997 04:00:00


: non-IP based virtual hosts should work regardless, although
: the syntax Apache uses can be mildly confusing at times.  Even
: though they don't support HTTP/1.1, most browsers still send
: the Host: header.

Anyone know if the MS Frontpage client supports the Host: header? The
version I have (1.1) doesn't which is a major drawback for non-IP virtual
hosts. Perhaps a later version supports it?

Thanks,

Pete.

 ------------------------------------------------------
|   Pete Philips                                  \|/  |

 ------------------------------------------------------

 
 
 

1. HTTP/1.1 bad request ? (apache 1.2,1)

   Doesn't Apache 1.2.1 support HTTP/1.1 ?
   I can't use HTTP/1.1 to make a connection with the server. :~~

%telnet kernel.dorm12.nctu.edu.tw 80
Connected to kernel.dorm12.nctu.edu.tw.
Escape character is '^]'.
GET /index.html HTTP/1.1

HTTP/1.1 400 Bad Request
Date: Sat, 16 Aug 1997 17:56:42 GMT
Server: Apache/1.2.1
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html

a4
<HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that
this server could not understand.<P>
</BODY></HTML>

0

Connection closed by foreign host.
--
Campus Computer Communication Association  Wayne Y.R.Lee (?-^? in Chinese)
Dept. of Electronics Engineering           Phone: 886-3-5712121-25212
National Chiao-Tung University             URL: http://www.ccca.net/~waynelee
HsinChu, Taiwan, R.O.C                     Research: Web & Proxy & MBone
--
 [1;34m?Origin: t2y?T? <www.ccca.nctu.edu.tw> [From: Kernel.Dorm12.NC]  [m

2. linux netcard

3. apache http proxy - http/1.0 vs http/1.1

4. redhat 5.2 control-panel Error--sigsegv caught

5. What means ' CONNECT xyz.xyz.xyz.xyz:25 HTTP/1.1 ' in my apache protocol?

6. problems with the numeric keyboard

7. Apache Proxy question: HTTP/1.1 -> HTTP/1.0

8. Problem with DNS

9. Java JDK 1.2 libs with JDK 1.1 VM - or 1.2 version available?

10. Is Apache WWW server 1.1 or 1.2 available

11. Apache 1.2 using 3x memory vs. 1.1

12. Can't upgrade Debian 1.1 to 1.2

13. VirtualHost definitions don't work