galaxy Posted August 18, 2007 Share Posted August 18, 2007 Hello, I am newbie for Apache2.2. I'd like to ask about caching. ( OS = FreeBSD ) I put some lines in httpd.conf. Numbered lines are added as per http://httpd.apache.org/docs/2.2/mod/mod_cache.html. ( But it is meant for windows OS and thus, I changed directory "/var/cache/apache" instead of "c:/cacheroot") LoadModule cache_module libexec/apache22/mod_cache.so 1. <IfModule mod_cache.c> LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so 2. <IfModule mod_disk_cache.c> 3. CacheRoot /var/cache/apache/ 4. CacheEnable disk / 5. CacheDirLevels 5 6. CacheDirLength 3 7. </IfModule> restart apache. questions : 1) in /libexec/apache22/, there are only files for extensions *.la *.a *.so ( there is no *.c) 2) there is no cache folder in /var/ altough I specified in httpd.conf. 3) when I used this command, htcacheclean -d15 -p/var/cache/apache -l100M , it doesnt work. is there any other suggestion? Any help would be much appreciated. rgds, galaxy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.