Article delegate-en/3781 of [1-5109] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
 
Problem with Content-Encoding
Wed, 27 Jun 2007     Bieber, Sebastian

Hello!

After trying for some time to solve the problem on my own without any
success, i'd like to ask for your kind help on this matter... 

For authenticated and encrypted remote access to a local web server
(Zope), i use delegate as an authenticating http/https-gateway. 

The problem: The content is always delivered uncompressed to the https
client! 

While trying various different combinations of "acc-encoding"- and
"gen-encoding"-values, i found that decompressing, if neccessary,
gzip'ed content from the Zope server is no problem. But with none of the
tested configurations delegate would (re)compress the content. There
seems not to be a problem with the content itself or the communication
with the client, all pages/images/files are delivered "in perfect
health" - but uncompressed... 
This behaviour occurs identically with firefox, internet explorer or
lynx as client, respectively.

I attach a delegate log file, generated with the "-vv" option, to this
mail. The configuration files involved are these:

/etc/delegate/common.conf:

	# standard parameter
	DGROOT=/var/spool/delegate-nobody
	CHROOT=/
	ADMIN=sebastian.bieber@arcor..de
	CACHE=no
	HOSTLIST=.localnet:localhost,192.168.6.0/24

	# logfile parameter
	LOGFILE=${PORT}.[date+%w.]log
	PROTOLOG=${PORT}.${PROTO}.[date+%w.]log

/etc/delegate/dg_https.conf:

	+=/etc/delegate/common.conf

	-P443
	SERVER=https
	STLS=fcl

	MOUNT=/*                http://localhost:80/*
	MOUNT=/courier/*        http://localhost:80/courier/*
AUTHORIZER=-pam

	# get content from server uncompressed
	HTTPCONF=acc-encoding:identity

	# compress content for client
	HTTPCONF=gen-encoding:gzip

	# some special treatment for non-html files
	FTOCL=https.cfi

	#security settings
	AUTHORIZER=-list{****:****},-pam
	PERMIT=https:localhost:*
	REACHABLE=localhost:80
	RELIABLE=-a/*
	RELAY=no

Some more parameters: delegate 9.5.6, Zope 2.9.6, on a Linux server
2.6.18-4-686 (debian etch).

It would be very kind of you to help me in solving this matter: How can
i make delegate send the content to the client gzip'ed?


Best regards,
Sebastian Bieber

  search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V