Every thing goes into either httpd.conf or some file included from httpd.conf. The general configuration I use is as follows: <IfModule mod_cache.c> CacheIgnoreHeaders Set-Cookie CacheIgnoreCacheControl Off CacheIgnoreNoLastMod Off <IfModule version_module> <IfVersion >= 2.2 > CacheStoreNoStore Off CacheStorePrivate Off </IfVersion> </IfModule> CacheMaxExpire 864000 <IfModule mod_mem_cache.c> MCacheMaxObjectSize 10000 MCacheSize 1000000 </IfModule> <IfModule mod_disk_cache.c> CacheRoot /var/www/cache <IfModule !version_module> CacheSize 150000 </IfModule> <IfModule version_module> <IfVersion ~ ^2.0 > CacheSize 150000 </IfVersion> </IfModule> </IfModule> </IfModule> In the above I assume that if mod_version is not present, then this is a pre-2.2 server (i.e. 2.0) You also need to activate the cache for the relevant URL prefixes: <IfModule mod_cache.c> <IfModule mod_mem_cache.c> CacheEnable mem / </IfModule> <IfModule mod_disk_cache.c> CacheEnable disk / </IfModule> </IfModule> You can put that into th main server configuration if you want cache enables for the main server and all virtual hosts, or inside a virtual host block if only to be activated for specific VHs. -ascs -----Message d'origine----- De : theseeder [mailto:jamie_pert@xxxxxxxxxxx] Envoyé : lundi 7 janvier 2008 14:00 À : users@xxxxxxxxxxxxxxxx Objet : Help with Caching Proxy with Ubuntu and Apach 2.2 Hi I have been using Ubuntu at home and also on a test server at work for approx 6 months, I have successfully set up a SAMBA server and recently set myself the task of creating a Caching Proxy. I 1st tried using apache 1.3 which i didn't have great success with therefore decided to remove apache 1.3 and try with the more recent 2.2. I successfully installed apache 2.2 and thought i was well on my way to getting the server up and running, however i then hit a brick wall within the main httpd.conf file i could not find any part where i can enable the proxy and also change configuration settings such as cache size etc. i then read into my issue a bit and managed to find out that i had to enable certain modules to enable teh proxy, so i enabled the following: CacheEnabled Mod_cache mod_disk_cache still after enabling all these i cannot find the section where i can turn on the proxy and edit the key settings. i am at the point of think i have to manually input the whole configuration settings into the conf file my self rather then just uncomenting lines and editing values as i did in previous versions,i don't want to do this to find out this info is meant to be added somewhere else. Any help would be much appreciated as apaches documentation does not help -- View this message in context: http://www.nabble.com/Help-with-Caching-Proxy-with-Ubuntu-and-Apach-2.2-tp14665169p14665169.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- 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