Apache 1.3 mod_proxy no cache
Hi,
I wonder if any of you can help me out since this should be quite a simple thing. Here is the scenario, I just update my site to zope but in order to keep my ranking I nedd to keep the same urls. For that I run zope on port 8080 and I use apache Proxypass to get to the zope pages with the desired structure, up to here is all working perfectly but the site has slow down a bit so... I thouhgt well I can make apache cache the images and that will improve speed (a natural asumption) but the cache directives doesn't seem to be working since there is nothing on the CacheRoot directory and the logs show nothing. Here it is the extract of this httpd.conf of the site: : <VirtualHost *:80> ServerName www.mysite.com ServerAlias mysite.com ServerAdmin webmaster@mysite.com CacheRoot /home/apache/proxy CacheSize 102400 CacheGcInterval 4 CacheMaxExpire 24 CacheLastModifiedFactor 0.5 CacheDefaultExpire 24 CacheForceCompletion 100 proxyVia off ExpiresActive off ExpiresByType image/gif A3600 ExpiresByType image/jpg A3600 ExpiresDefault A7200 ProxyPass / http://192.168.1.2:8080/mysite.com/ ProxyPassReverse / http://192.168.1.2:8080/mysite.com/ ProxyPass /misc http://192.168.1.2:8080/misc ProxyPass /p_ http://192.168.1.2:8080/p_ ProxyRequests Off ProxyReceiveBufferSize 16348 CustomLog /home/zope/apachelog/mysite-access_log common ErrorLog /home/zope/apachelog/mysite-error_log Header append Cache-Control "public, must-revalidate" Header append Author "My site stuff" </VirtualHost> The /home/apache/proxy is owned by www(user that runs apache) and is set as 0700 for the folder and it's contents. I think one or more directives might be stepping in other ones toes but I cannot figure it out. Any help will be more than helpful Thanks in advanced. |
All times are GMT -5. The time now is 05:27 PM. |