Apache mod_proxy issues

This is a discussion on Apache mod_proxy issues within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hello I'm trying to figure out if my simple mod_cache setup is working. I compiled the mod_cache modules (mod_cache, ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-12-2007
icebattle@gmail.com
 
Posts: n/a
Default Apache mod_proxy issues

Hello

I'm trying to figure out if my simple mod_cache setup is working. I
compiled the mod_cache modules (mod_cache, mod_disk_cache and
mod_mem_cache) and put together a simple configuration. The server
starts up without a murmur, but I'm not sure that the caching is
actually taking place.

In my first test, I disabled the mem_cache by commenting it out in the
configuration, and wrapping its directives with an IfModule, like so:

<IfModule mod_mem_cache.c>
CacheIgnoreCacheControl On
CacheDefaultExpire 120
CacheEnable mem http://192.168.1.100:80/test
MCacheSize 32768
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 1048576
</IfModule>

My mod_disk_cache setup looks like this:

<IfModule mod_disk_cache.c>
CacheIgnoreCacheControl On
CacheDefaultExpire 300
CacheRoot /apprel/tmp/htcache
CacheEnable disk http://192.168.1.100:80/test
</IfModule>

The /apprel/tmp/htcache directory is available to the apache user. In
the htdocs/test directory I have a simple html page. When I make a
browser request to that directory, the page is loaded. I immediately
make a change to the page, and reload it in the browser. The new page
loads, despite the fact that the 2 minutes are far from up.

I get the same result when I switch to mod_mem_cache.

I can't seem to find anything wrong with my config (I tried some bogus
cach directives, and the server wouldn't start, so I know that the
mod_cache pieces are there).

Any help would be much appreciated.

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:46 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0