Re: [users@httpd] what do I need to activate chacheing?

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

 



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" <tejas.sanghavi@xxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Friday, May 13, 2005 4:29 PM
Subject: Re: [users@httpd] 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" <
robert@xxxxxxxxx>
> To: <
users@xxxxxxxxxxxxxxxx>
> Sent: Friday, May 13, 2005 4:09 PM
> Subject: [users@httpd] 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:
users-unsubscribe@xxxxxxxxxxxxxxxx
> >    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >
>
>
>
>
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
netadmin@xxxxxxxxx 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:
users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
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 netadmin@xxxxxxxxx and delete this mail.
_____________________________________________________________________
[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