htaccess (basic) authorized content & caching
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Squid > htaccess (basic) authorized content & caching




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    htaccess (basic) authorized content & caching  
Dave


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-20-07 06:15 PM

Hi,

Based on everyone's knowledge about squid / general caching, I thought
you guys might have some insight into my problem.

I have 5 webservers reading from two fileservers via NFS. The
webservers are using Apache 2.2 with mod_cache. The webservers cache
html, images, and videos that are not behind a .htaccess file with
Basic Authentication.

I would like the webservers to cache the content behind the .htaccess
files and re-authorize the user from the .htpasswd file when it serves
files from cache. The reason for this is that each fileserver has more
than 1TB of data on it and I'd like the webservers to cache the most
frequently used content to reduce NFS traffic and fileserver iowait. I
have Cache-Control set to "public, no-cache". mod_cache, however, does
not cache this content still.

Is there something else that will allow for my end goal? Is my
implementation incorrect?

Thanks in advance for your assistance,

David Szostek

--------------------------

VirtualHost Entry:

<Directory /home/users/uvhosting/sites/web5test.com/htdocs/members/

Header append Cache-Control "public, no-cache"
</Directory>
<Directory "/home/users/uvhosting/sites/web5test.com/htdocs">
AllowOverride All
Options ExecCGI FollowSymLinks
AddHandler cgi-script .cgi .pl
</Directory>
</VirtualHost>






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:59 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register