re: CERN web server 's CACHING does not work!

schockaert rudy ([email protected])
Fri, 20 Oct 95 13:32:26 CET


Hi,
I've installed the Cern HTTPD also on my Linux system and I use both proxy
and caching with succes.
I use version 3.0 with libwww version 2.17
My configurationfile looks like this :

# configuration file for cern_httpd running it on luna.bc
# as a normal HTTP server.
#
# See:
# <http://info.cern.ch/hypertext/WWW/Daemon/User/Config/Overview.html>
#
# for more information.
#
# Written by:
# Ari Luotonen April 1994 <[email protected]>
#
# Modified for luna.bc by :
# Rudy Schockaert April 1995 <[email protected]>
#
ServerRoot /usr/local/etc/httpd.cern
Port 80

UserId rso
GroupId www
AccessLog /usr/local/etc/httpd.cern/accesslogs/httpd-log
ErrorLog /usr/local/etc/httpd.cern/errorlogs/httpd-errors
LogFormat Common
LogTime LocalTime

UserDir public_html

Exec /cgi-bin/* /usr/local/cgi-bin/*
Exec /cgi/* /Web/CGI/scripts/*

Pass /* /Web/*

############################################################################
####

http_proxy http://sugar.bc/
ftp_proxy http://sugar.bc/
gopher_proxy http://sugar.bc/
pass http:*
pass ftp:*
pass gopher:*
CacheRoot /dosc/cache
CacheSize 200
CacheDefaultExpiry ftp:* 6 months
CacheDefaultExpiry http:* 6 months

############################################################################
####
-------------
Original Text
>From [email protected], on 19/10/95 0:19:
I have installed a CERN Web server 3.0pre6 with libwww2.16beta. It works
well as a normal Web server and proxy. But the caching does not work!

there is the config file:

******************************************************
ServerRoot /home3/CernServerRoot
Port 80
UserId nobody
GroupId daemon
AccessLog logs/access-log
ErrorLog logs/error-log
LogFormat Common
LogTime LocalTime
UserDir public_html
DirAccess selective
Pass http:*
Pass ftp:*
Pass gopher:*
Pass wais:*
Pass /* /home3/WebDoc/*
Caching On
CacheRoot /home3/web-cache
CacheSize 250 M
CacheClean http:* 3 month
CacheClean ftp:* 1 month
CacheClean gopher:* 10 days
CacheDefaultExpiry ftp:* 1 month
CacheDefaultExpiry gopher:* 20 days
CacheDefaultExpiry http:* 10 days
Gc On
GcDailyGc 3:00
*************************************************************

Note: I add 'CacheDefaultExpiry http:* 10 days', no cache root dir is
empty
either!

Can anybody help me out?

Any hints is appreciated!

Thanks!

Robert Wang