Skip site navigation (1)Skip section navigation (2)
Date:      11 Oct 2002 20:28:46 +0300
From:      Juha Ylitalo <juha.o.ylitalo@kolumbus.fi>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Trouble with apache's mod_proxy
Message-ID:  <1034357326.900.27.camel@shoes.st-paul>

next in thread | raw e-mail | index | archive | help
FreeBSD System: 4.6.2-RELEASE-p2
Apache port: apache+mod_ssl-1.3.26+2.8.9

FreeBSD box is located as firewall, mailserver, web proxy, etc. between
my home network and internet. WWW proxy functionality has been
implemented with Apache's mod_proxy (since I'll have to run Apache
anyway for my web server ...).

Problem that I am currently facing is that when I download some files,
there size and MD5 does not match with the original. As concrete
examples about size mismatches:
text.gz from
ftp://ftp.se.netbsd.org/pub/NetBSD/NetBSD-1.6/i386/binary/sets/
netbsd.org says that filesize should be 1598076 bytes and ls in my Linux
box says 1603960. Also when I tried to install NetBSD on laptop, its
installation complained about text.gz, so it also had problems with it.

floppyC31.fs from http://trumpetti.atm.tut.fi/OpenBSD/3.1/i386/
ftp.fi.debian.org says that md5 should be
efb9c8088b24978d3980cd8d34be63c3, but Linux box says that it is 
4a7197d15ce112beac31c1c70c5430c1

Here is mod_proxy part from httpd.conf:
<IfModule mod_proxy.c>
   ProxyRequests On

   <Directory proxy:*>
        Order deny,allow
        Deny from all
        Allow from .st-paul
   </Directory>
   ProxyVia On
   CacheRoot "/usr/local/www/proxy"
   CacheSize 5
   CacheGcInterval 4
   CacheMaxExpire 24
   CacheLastModifiedFactor 0.1
   CacheDefaultExpire 1
   NoCache a_domain.com another_domain.edu joes.garage_sale.com

</IfModule>

Any ideas on what might be causing those problems?

As little bit extra information:

httpd-access.log shows funny figures on floppyC31.gs (1479689 vs.
1474560), while text.tgz shows always 1603960:

shoes.st-paul - - [11/Oct/2002:19:44:28 +0300] "GET
ftp://ftp.fi.debian.org/pub/OpenBSD/3.1/i386/floppyC31.fs HTTP/1.1" 200
1479689 "-" "Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;)
Gecko/20020809"
shoes.st-paul - - [11/Oct/2002:20:14:36 +0300] "GET
http://trumpetti.atm.tut.fi/OpenBSD/3.1/i386/floppyC31.fs HTTP/1.1" 200
1474560 "-" "Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;)
Gecko/20020809"

/usr and /var filesystems have more than 100 MB and 60k inodes free, so
that shouldn't be the problem.

-- 
Juha Ylitalo                 juha.ylitalo@iki.fi                <e-mail>
+358 40 562 6152 <mobile>    http://www.iki.fi/jylitalo         <www>
"Some tools are used, because its policy, others because they are good."

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1034357326.900.27.camel>