Tejas,
thanks for your answers
<IfModule mod_mem_cache.c>
CacheEnable mem /
</IfModule>
but I will try your suggestion also.
My "cache root" is always empty. This is what made me assume that my cache is
not working.
Is there a way to test whether the cach does actually work?
thanks
Robert
I do enable the cache with
Tejas Sanghavi wrote:
Sorry, you have to enable the modules --enable-disk-cache --enable-cache and
use it this way...
<IfModule mod disk cache.c>
CacheRoot <DIR_NAME>
.
.
.
</IfModule>
Tejas.
----- Original Message -----
From: "Tejas Sanghavi" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Friday, May 13, 2005 4:29 PM
Subject: Re: [EMAIL PROTECTED] what do I need to activate chacheing?
Robert,
Before installing, u need to run ./configure script.
You can try --enable-file-cache with ./configure and then install Apache.
like,
./configure --prefix=<INSTALL_DIR> --enable-file-cache
Regards,
Tejas Sanghavi.
----- Original Message -----
From: "robert rottermann" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Friday, May 13, 2005 4:09 PM
Subject: [EMAIL PROTECTED] what do I need to activate chacheing?
Hello,
I have the following setting,
but the CacheRoot directory is always empty. I therefore assume, that
chache is not working at all.
How can I check if it is working.
thanks
Robert
//<IfModule mod_proxy.c>
<Proxy *>
Order deny,allow
Deny from all
/#Allow from .your_domain.com/
</Proxy>
/# prevent the webserver from beeing used as proxy/
<LocationMatch "^[^/]">
Deny from all
</LocationMatch>
/# allow to connect to localhost with port ending with 80 and 90
(www,
webdav)/
/# the having at least 2 digets before the 80 or 90/
<ProxyMatch http://localhost:[0-9]{2,}?[8|9]0/.*>
Order deny,allow
Allow from all
</ProxyMatch>
ProxyVia On
/# To enable the cache as well, edit and uncomment the following
lines:/
/# (no cacheing without CacheRoot)/
CacheRoot "/var/cache/apache2/proxy"
/# 300MB/
CacheSize 307200
/# in hours/
CacheGcInterval 4
CacheMaxExpire 24
CacheLastModifiedFactor 0.1
CacheDefaultExpire 1
CacheForceCompletion 70
/# Again, you probably should change this./
/#NoCache a_domain.com another_domain.edu joes.garage_sale.com/
</IfModule>
/# caching/
/# this caches every file with the correct caching informations starting
at //
<IfModule mod_disk_cache.c>
CacheEnable disk /
</IfModule>
<IfModule mod_mem_cache.c>
CacheEnable mem /
</IfModule>
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at [EMAIL PROTECTED] and delete this mail.
_____________________________________________________________________
----------------------------------------------------------------------------
----
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________
This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at [EMAIL PROTECTED] and delete this mail.
_____________________________________________________________________
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]