httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Developer <dev...@pas-world.com>
Subject [users@httpd] mod_rewrite + mod_cache
Date Fri, 01 May 2009 15:26:39 GMT
Hello,
After read this:
http://www.mail-archive.com/dev@httpd.apache.org/msg35300.html
http://www.mail-archive.com/users@httpd.apache.org/msg32767.html

...

I am trying to use http accelerator, at this point I have this options:
-Squid, problems with IP based auth in Apache.
-mod_cache, I think bad cache engine. 


My question, it is posible the use of mod_rewrite (all site in one
script) + mod_cache without bad responses?

For me, mod_cache returns different page!. My config:


# Sample Cache Configuration
#
LoadModule cache_module modules/mod_cache.so
<IfModule mod_cache.c>
	CacheDefaultExpire 86400
	# If you want to use mod_disk_cache instead of mod_mem_cache, uncomment
the line above and comment out the LoadModule line below.
	
	#<IfModule mod_fs_cache.c>
	#
	#</IfModule>
	
	LoadModule disk_cache_module modules/mod_disk_cache.so
	<IfModule mod_disk_cache.c>
		CacheRoot /var/cache/httpd/mod_cache
		# CacheEnable enabled in virtual hosts
		#CacheEnable disk /
		CacheDirLevels 5
		CacheDirLength 3
		CacheIgnoreHeaders Set-Cookie
	</IfModule>
	
	#LoadModule mem_cache_module modules/mod_mem_cache.so
	#<IfModule mod_mem_cache.c>
	#	CacheEnable mem /
	#	MCacheSize 65535
	#	MCacheMaxObjectCount 100
	#	MCacheMinObjectSize 1
	#	MCacheMaxObjectSize 2048
	#</IfModule>
	
	# When acting as a proxy, don't cache the list of security updates
	#CacheDisable http://security.update.server/update-list/
</IfModule> 



Thanks, in advance.



-- 














--
--
Publicidad y Servicios http://www.pas-world.com
Directorio http://www.precioventa.com
Tienda http://informatica.precioventa.com
Autoridad certificadora http://ca.precioventa.com
--
--


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message