httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33272] New: - mod_disk_cache doesn't handle differents browser when used with mod_proxy
Date Thu, 27 Jan 2005 16:39:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33272>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33272

           Summary: mod_disk_cache doesn't handle differents browser when
                    used with mod_proxy
           Product: Apache httpd-2.0
           Version: 2.0.52
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_disk_cache
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: frederic.leger@i-bp.banquepopulaire.fr


When used as a reverse proxy and having disk cachin enabled, the page is only 
cached if LogLevel is at least notice.

In addition, the firt page asked is cached and another request makes the page 
erased from cache.

Here is a way of reproduce:

curl -H "Pragma:" -H "User-Agent: XMLHTTP_Compress" -v 
http://127.0.0.1:82/Vxxxxxxxxxxxxxx/ibp/ate/skin/default/js/common/collection/Se
t.js

curl -H "Pragma:" -H "Accept-Encoding: gzip, deflate" -H "User-Agent: 
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)" -v 
http://127.0.0.1:82/Vxxxxxxxxxxxxxx/ibp/ate/skin/default/js/common/collection/Se
t.js


Using this two exemples in a loop makes the Reverse Proxy not stopping to 
download the same page from remote server.


httpd.conf
==========================================================================
ServerRoot "c:/eqxpa2"
PidFile logs/httpd.pid
Listen 82


# pour debug
LogLevel info

Timeout 300
KeepAlive On
MaxKeepAliveRequests 10000
KeepAliveTimeout 15

<IfModule mpm_winnt.c>
	ThreadsPerChild 250
	MaxRequestsPerChild  0
</IfModule>

LoadModule access_module modules/mod_access.so
LoadModule sspi_auth_module modules/mod_auth_sspi.so
LoadModule cache_module modules/mod_cache.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule include_module modules/mod_include.so
LoadModule headers_module modules/mod_headers.so
LoadModule setenvif_module modules/mod_setenvif.so

### Section 2: 'Main' server configuration
SSLSessionCache "dbm:c:/eqxpa2/logs/ssl_gcache_data"

### Section 3: Virtual Hosts
<VirtualHost *:82>
	Include conf/servername.conf
	ErrorDocument 502 "<HTML><HEAD><TITLE>Error_502</TITLE><STYLE><!-P
{color:#ffcc00} H2{color:#ffcc00} H3{color:#a2c8ea}--></STYLE></HEAD><BODY

BGCOLOR='#2167a9' ONLOAD='if(isNaN(window.clientInformation.retryonerr))
{window.clientInformation.retryonerr=1;window.location.replace
(window.location.href)}else{if(window.clientInformation.retryonerr<5)
{window.clientInformation.retryonerr=
((window.clientInformation.retryonerr+1));window.location.replace
(window.location.href)}};'><TABLE COLS=1 WIDTH=100% BORDER=0><TR 
BGCOLOR='#962133'><TD><H2>Echec de l'opération</H2><H3>Une erreur
technique est 
survenue.</H3><H3>Veuillez recommencer l'opération.</H3><p>Information
à 
destination du support technique :</p><p>Erreur proxy 502 (composant EqxPA) sur

serveur Popix<p><H3></H3></TD></TR></TABLE></BODY></HTML>"
	RequestHeader add TimeReq "%t"
	LogFormat "%{%Y-%m-%d %T}t %{TimeReq}i %D %h %u %{JSESSIONID}C %{rl-
sticky-key}C %{rlnclientipaddr}i %>s %r %B %{Age}o \"%{ate-taskInfoOID}o\" \"%
{ate-taskOID}o\" \"%{ate-processId}o\" \"%{ate-processMapStageId}o\" \"%{ate-
dialogId}o\" \"%{ate-dialogMapStageId}o\" \"%{ate-dialogActionPerformed}o\" \"%
{ate-taskTerminatedList}o\" \"%{ate-taskTerminated}o\" \"%{ate-
lastUserDialogAction}o\"" proxylog
	CustomLog "|'c:/eqxpa2/bin/rotatelogs.exe' 'd:/eqxpalogs/proxy%Y%m%
d.log' 86400" proxylog
	<LocationMatch HttpSubscriber>
		AllowOverride None
		Options None
		Order allow,deny
		Allow from all
		AuthName "EqxPA POPIX"
		AuthType SSPI
		SSPIAuth on
		SSPIAuthoritative on
		require valid-user
		#require group Defaut
	</LocationMatch>

	SSLProxyEngine on
	SSLProxyCACertificateFile conf/keycert/ibwacexx.ssc
	#SSLProxyMachineCertificateFile conf/keycert/local.cer

	ProxyVia on
	RewriteEngine on
	Include conf/cible_ecole.conf
	Include conf/cible.conf

#	<IfModule mod_cache.c>		

		#CacheDisable /equinoxe/ibp/ate/portal/index.hta
		CacheEnable disk /
		
		#CacheDisable /eqx_ecole
		#CacheMaxExpire 604800
		#CacheDefaultExpire 3600
		#CacheLastModifiedFactor 2.0
#	</IfModule>
	

	CacheSize 50000
	CacheRoot "D:/EqxPACache"
	CacheDirLength 1
	CacheDirLevels 1

	

	SetEnvIf Request_URI "\.css$"  force-no-vary
	SetEnvIf Request_URI "\.gif$"  force-no-vary
	SetEnvIf Request_URI "\.hta$"  force-no-vary
	SetEnvIf Request_URI "\.html$" force-no-vary
	SetEnvIf Request_URI "\.jpg$"  force-no-vary
	SetEnvIf Request_URI "\.js$"   force-no-vary=1
	SetEnvIf Request_URI "\.vbs$"  force-no-vary


	

</VirtualHost>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message