You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Octavian Rasnita <or...@home.ro> on 2002/04/30 07:41:24 UTC

Stranger!! Re: Bug in Apache 2?

Hi,

I have the following headers for Apache 2 and Apache 1.33 but I don't
understand them.
I've put them here below.

The strange problem is that the counters work with any problem in Apache 2
if I use:

http://localhost/index.shtml

But they don't work at all if I use:

http://localhost/

Do you think I could do something to make Apache think that both addresses
are the same thing?

It seems that the problem is not with the cache settings.

Here are the headers, but I don't know if they are very important for
solving this problem. Or they are?

With Apache 2:
HTTP/1.1 200 OK
Date: Tue, 30 Apr 2002 04:53:59 GMT
Server: Apache/2.0.35 (Win32)
Accept-Ranges: bytes
Content-Length: 249
Content-Type: text/html; charset=ISO-8859-1
<html><head><title>test page</title></head><body>
Last modified: Saturday, 27-Apr- 2002 07:08:46 E. Europe Daylight Time <BR>
Current time:Tuesday, 30-Apr-2002 07:53 :59 E. Europe Daylight Time <br>
Test virtualhost:Test 1<br> <br>
</body></html>

With Apache 1.33:

Server: Apache/1.3.20 (Win32)
Transfer-Encoding: chunked
Content-Type: text/html f9
<html><head><title>test page</title></head><body>
Last modified: Saturday, 27-Apr- 2002 07:08:46 E. Europe Daylight Time <BR>
Current time:Tuesday, 30-Apr-2002 07:56 :54 E. Europe Daylight Time <br>
Test virtualhost:Test 1<br> <br>
</body></html>
0



Teddy,
orasnita@home.ro

----- Original Message -----
From: "Joshua Slive" <jo...@slive.ca>
To: <us...@httpd.apache.org>
Sent: Monday, April 29, 2002 6:14 AM
Subject: Re: Bug in Apache 2?


Octavian Rasnita wrote:

> I don't know how to make Apache not to cache an HTML file.
>

> I have no problem with the same files in the same places if I load Apache
> 1.33.


Please look at the HTTP headers for the file in each version and see
what has changed.

One way to get the HTTP headers is

telnet yourhost.example.com 80
GET /index.shtml HTTP/1.1
Host: yourhost.exmample.com[enter][enter]

Notice you need to press enter twice at the end.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Stranger!! Re: Bug in Apache 2?

Posted by Octavian Rasnita <or...@home.ro>.
Yes, it seems that some things are missing from Apache 1.33 response but
with this server I have no problems.
I have problems with Apache 2 because the SSI that is a counter is not
increased.

Teddy,
orasnita@home.ro

----- Original Message -----
From: "Joshua Slive" <jo...@slive.ca>
To: <us...@httpd.apache.org>
Sent: Tuesday, April 30, 2002 7:10 PM
Subject: Re: Stranger!! Re: Bug in Apache 2?



On Tue, 30 Apr 2002, Octavian Rasnita wrote:
> The strange problem is that the counters work with any problem in Apache 2
> if I use:
>
> http://localhost/index.shtml
>
> But they don't work at all if I use:
>
> http://localhost/

What does "don't work at all" mean?  You could be hitting a sub-request
bug that has been fixed since the release of 2.0.35


> With Apache 2:
> HTTP/1.1 200 OK
> Date: Tue, 30 Apr 2002 04:53:59 GMT
> Server: Apache/2.0.35 (Win32)
> Accept-Ranges: bytes
> Content-Length: 249
> Content-Type: text/html; charset=ISO-8859-1
> <html><head><title>test page</title></head><body>
> Last modified: Saturday, 27-Apr- 2002 07:08:46 E. Europe Daylight Time
<BR>
> Current time:Tuesday, 30-Apr-2002 07:53 :59 E. Europe Daylight Time <br>
> Test virtualhost:Test 1<br> <br>
> </body></html>
>
> With Apache 1.33:
>
> Server: Apache/1.3.20 (Win32)
> Transfer-Encoding: chunked
> Content-Type: text/html f9
> <html><head><title>test page</title></head><body>
> Last modified: Saturday, 27-Apr- 2002 07:08:46 E. Europe Daylight Time
<BR>
> Current time:Tuesday, 30-Apr-2002 07:56 :54 E. Europe Daylight Time <br>
> Test virtualhost:Test 1<br> <br>
> </body></html>

You aren't showing the same thing.  There are parts obviously missing from
teh 1.3.33 response.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Stranger!! Re: Bug in Apache 2?

Posted by Joshua Slive <jo...@slive.ca>.
On Tue, 30 Apr 2002, Octavian Rasnita wrote:
> The strange problem is that the counters work with any problem in Apache 2
> if I use:
>
> http://localhost/index.shtml
>
> But they don't work at all if I use:
>
> http://localhost/

What does "don't work at all" mean?  You could be hitting a sub-request
bug that has been fixed since the release of 2.0.35


> With Apache 2:
> HTTP/1.1 200 OK
> Date: Tue, 30 Apr 2002 04:53:59 GMT
> Server: Apache/2.0.35 (Win32)
> Accept-Ranges: bytes
> Content-Length: 249
> Content-Type: text/html; charset=ISO-8859-1
> <html><head><title>test page</title></head><body>
> Last modified: Saturday, 27-Apr- 2002 07:08:46 E. Europe Daylight Time <BR>
> Current time:Tuesday, 30-Apr-2002 07:53 :59 E. Europe Daylight Time <br>
> Test virtualhost:Test 1<br> <br>
> </body></html>
>
> With Apache 1.33:
>
> Server: Apache/1.3.20 (Win32)
> Transfer-Encoding: chunked
> Content-Type: text/html f9
> <html><head><title>test page</title></head><body>
> Last modified: Saturday, 27-Apr- 2002 07:08:46 E. Europe Daylight Time <BR>
> Current time:Tuesday, 30-Apr-2002 07:56 :54 E. Europe Daylight Time <br>
> Test virtualhost:Test 1<br> <br>
> </body></html>

You aren't showing the same thing.  There are parts obviously missing from
teh 1.3.33 response.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org