LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-07-2006, 12:39 PM   #1
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Rep: Reputation: 33
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache cache problem varunbihani Linux - Software 2 01-07-2006 09:42 AM
Apache mod_proxy Proxy Pass dancarl Linux - Software 0 08-15-2005 11:10 AM
Apache 1.3x making XML cache ( code 304 ) cartridge Linux - Networking 0 05-17-2004 12:34 PM
Mod_Proxy (Apache) won't forward requests bentman78 Linux - Software 1 04-20-2004 08:49 AM
Webmin Through Apache using mod_proxy... ech310n Linux - General 0 01-28-2004 04:12 PM


All times are GMT -5. The time now is 01:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration