W3C home > Mailing lists > Public > www-talk@w3.org > September to October 1995

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

From: schockaert rudy <Rudy.SCHOCKAERT@is.belgacom.be>
Date: Fri, 20 Oct 95 13:32:26 CET
Message-Id: <vines.ibZ7+MPtVkA@PI2505341.BC>
To: <www-talk@w3.org>

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  <luotonen@dxcern.cern.ch>
#
# Modified for luna.bc by :
# 	Rudy Schockaert  April 1995 <Rudy.Schockaert@is.belgacom.be>
#
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 www-talk@w3.org, 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 
Received on Friday, 20 October 1995 08:40:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:18 GMT