httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony J. Biacco" <abia...@formatdynamics.com>
Subject RE: [users@httpd] mod_rewrite + mod_cache
Date Fri, 01 May 2009 17:19:00 GMT
According to the below config you gave, you're not caching anything. You
don't have CacheEnable turned on for any paths.
But for 'all site on one script', I'm not sure if what you want is
possible. If depends on the format of the full url for each page on the
site, which you haven't given any examples of.

-Tony
---------------------------
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abiacco@formatdynamics.com
http://www.formatdynamics.com


> -----Original Message-----
> From: Developer [mailto:dev002@pas-world.com]
> Sent: Friday, May 01, 2009 9:27 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] mod_rewrite + mod_cache
> 
> 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


---------------------------------------------------------------------
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