mod_rewrite + mod_cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
After read this:
http://www.mail-archive.com/dev@xxxxxxxxxxxxxxxx/msg35300.html
http://www.mail-archive.com/users@xxxxxxxxxxxxxxxx/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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux