You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by ek <eg...@kaunodiena.lt> on 2000/12/07 17:13:02 UTC
Strange problem with IE 5
Hello all,
i'm trying to build a standard system: apache-1.3.14 with
compiled in mod_perl-1.24_01 on RedHat linux 6.2
If i build apache without mod_perl everything works fine. But if
build apache with mod_perl, IE 5.0 fails to load pages from the
server. I can only see blank page without any error message. This
happens with all html documents - even static.
The record in access_log:
192.168.2.11 - - [date] "GET /file.htm HTTP/1.1" 200 8731 "-"
"Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0")"
Everything is fine except the byte count after the response
code - its is always less than the actual document size.
I tried to telnet to the server and use HEAD, GET, etc. -
everything works fine.
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
HEAD /file.htm HTTP/1.1
HOST: 192.168.2.50
HTTP/1.1 200 OK
Date: Thu, 07 Dec 2000 18:58:26 GMT
Server: Apache/1.3.14 (Unix) mod_perl/1.24_01
Last-Modified: Wed, 06 Dec 2000 16:05:10 GMT
ETag: "7e7-0-3a1ea9cb"
Accept-Ranges: bytes
Content-Length: 0
Content-Type: text/html
What could be wrong here? What should i check?
Expecting help -
ek.
Re: Strange problem with IE 5
Posted by Matt Morton <mm...@covalent.net>.
ek wrote:
>
> Hello all,
> i'm trying to build a standard system: apache-1.3.14 with
> compiled in mod_perl-1.24_01 on RedHat linux 6.2
>
> If i build apache without mod_perl everything works fine. But if
> build apache with mod_perl, IE 5.0 fails to load pages from the
> server. I can only see blank page without any error message. This
> happens with all html documents - even static.
>
> The record in access_log:
>
> 192.168.2.11 - - [date] "GET /file.htm HTTP/1.1" 200 8731 "-"
> "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0")"
>
> Everything is fine except the byte count after the response
> code - its is always less than the actual document size.
>
> I tried to telnet to the server and use HEAD, GET, etc. -
> everything works fine.
>
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> HEAD /file.htm HTTP/1.1
> HOST: 192.168.2.50
>
> HTTP/1.1 200 OK
> Date: Thu, 07 Dec 2000 18:58:26 GMT
> Server: Apache/1.3.14 (Unix) mod_perl/1.24_01
> Last-Modified: Wed, 06 Dec 2000 16:05:10 GMT
> ETag: "7e7-0-3a1ea9cb"
> Accept-Ranges: bytes
> Content-Length: 0
> Content-Type: text/html
>
> What could be wrong here? What should i check?
>
> Expecting help -
>
> ek.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: modperl-unsubscribe@apache.org
> For additional commands, e-mail: modperl-help@apache.org
You might want to check your error logs and post that. :)
Matt
Re: Strange problem with IE 5
Posted by Chuck Goehring <cg...@rcisd.com>.
ek,
Had various similar problems with IE 5.0 and 5.5. This was particularly
frequent with the first version of IE 5 released, when installed on w98.
BrowserMatch in srm.conf needs to be maintained for IE 5. I duped the entry
for IE 4. This seams to fix most problems.
Chuck
----- Original Message -----
From: "ek" <eg...@kaunodiena.lt>
To: <mo...@apache.org>
Sent: Thursday, December 07, 2000 8:13 AM
Subject: Strange problem with IE 5
> Hello all,
> i'm trying to build a standard system: apache-1.3.14 with
> compiled in mod_perl-1.24_01 on RedHat linux 6.2
>
> If i build apache without mod_perl everything works fine. But if
> build apache with mod_perl, IE 5.0 fails to load pages from the
> server. I can only see blank page without any error message. This
> happens with all html documents - even static.
>
> The record in access_log:
>
> 192.168.2.11 - - [date] "GET /file.htm HTTP/1.1" 200 8731 "-"
> "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0")"
>
> Everything is fine except the byte count after the response
> code - its is always less than the actual document size.
>
> I tried to telnet to the server and use HEAD, GET, etc. -
> everything works fine.
>
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> HEAD /file.htm HTTP/1.1
> HOST: 192.168.2.50
>
> HTTP/1.1 200 OK
> Date: Thu, 07 Dec 2000 18:58:26 GMT
> Server: Apache/1.3.14 (Unix) mod_perl/1.24_01
> Last-Modified: Wed, 06 Dec 2000 16:05:10 GMT
> ETag: "7e7-0-3a1ea9cb"
> Accept-Ranges: bytes
> Content-Length: 0
> Content-Type: text/html
>
> What could be wrong here? What should i check?
>
> Expecting help -
>
> ek.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: modperl-unsubscribe@apache.org
> For additional commands, e-mail: modperl-help@apache.org
Re: Strange problem with IE 5
Posted by ek <eg...@kaunodiena.lt>.
> > The record in access_log:
> >
> > 192.168.2.11 - - [date] "GET /file.htm HTTP/1.1" 200 8731 "-"
> > "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0")"
>
> what's in your error_log?
[Fri Dec 8 11:14:00 2000] [info] created shared memory segment
#256
[Fri Dec 8 11:14:00 2000] [notice] Apache/1.3.14 (Unix)
mod_perl/1.24_01 config
ured -- resuming normal operations
[Fri Dec 8 11:14:00 2000] [info] Server built: Dec 8 2000
11:12:10
No error messages.
> Why do you use ETag header?
Good question :)
I didn't enable the usage of ETag somehow explicitly. I don't
know why it is used.
Now i'm trying to use minimal config. Here is my httpd.conf:
# Global Environment
ServerType standalone
ServerRoot "/home/httpd"
PidFile /var/run/httpd.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 0
# Main server configuration
Port 80
User www
Group www
DocumentRoot "/home/httpd/web"
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/home/httpd/web">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
UseCanonicalName On
<IfModule mod_mime.c>
TypesConfig /etc/httpd/conf/mime.types
</IfModule>
DefaultType text/plain
HostnameLookups Off
ErrorLog /var/log/httpd/error_log
LogLevel debug
ServerSignature On
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0
force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
</IfModule>
List of compiled-in modules:
http_core.c
mod_log_config.c
mod_mime.c
mod_include.c
mod_dir.c
mod_cgi.c
mod_alias.c
mod_access.c
mod_auth.c
mod_setenvif.c
mod_perl.c
> > Accept-Ranges: bytes
> > Content-Length: 0
>
> No content?
This is very strange for me too. But even if content-length is 0,
the document is retrieved properly with GET.
ek
Re: Strange problem with IE 5
Posted by Stas Bekman <st...@stason.org>.
On Thu, 7 Dec 2000, ek wrote:
> Hello all,
> i'm trying to build a standard system: apache-1.3.14 with
> compiled in mod_perl-1.24_01 on RedHat linux 6.2
>
> If i build apache without mod_perl everything works fine. But if
> build apache with mod_perl, IE 5.0 fails to load pages from the
> server. I can only see blank page without any error message. This
> happens with all html documents - even static.
>
> The record in access_log:
>
> 192.168.2.11 - - [date] "GET /file.htm HTTP/1.1" 200 8731 "-"
> "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0")"
what's in your error_log?
> Everything is fine except the byte count after the response
> code - its is always less than the actual document size.
>
> I tried to telnet to the server and use HEAD, GET, etc. -
> everything works fine.
>
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> HEAD /file.htm HTTP/1.1
> HOST: 192.168.2.50
>
> HTTP/1.1 200 OK
> Date: Thu, 07 Dec 2000 18:58:26 GMT
> Server: Apache/1.3.14 (Unix) mod_perl/1.24_01
> Last-Modified: Wed, 06 Dec 2000 16:05:10 GMT
> ETag: "7e7-0-3a1ea9cb"
Why do you use ETag header?
> Accept-Ranges: bytes
> Content-Length: 0
No content?
> Content-Type: text/html
>
> What could be wrong here? What should i check?
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/