Search squid archive

RE: [squid-users] How to serve directory index files...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We have a collection of mirrored web sites that we distribute to schools in
developing countries where Internet access is limited or not available. I'm
looking into different proxies that provide off-line browsing support to see
if they can be used to let students type in a URI and if it's in the
collection it will be served as if they were on the Internet.

I would like to know how squid responds while in offline mode to a request
for http://www.foo.com/ with no default page specified versus a request
where the default page is included in the request as in
http://www.foo.com/index.html. It would make sense to me that the second
request would work if the resource was in the cache already. But say I use
an address without specifying a file. Does Squid keep track of what files in
it's cache are the default document for some address?

I understand that normally the web server is configured to serve certain
pages as a default document or directory index page. When such a page does
not exist in the requested directory path the server will respond with a
directory listing or a directory listing denied. It seems to me that it
would not be possible to define ahead of time what documents are to be
served as default, if they exist, in an offline cache and that some other
technique would need to be used.

Thanks,

Peter


-----Original Message-----
From: Jeff Donovan [mailto:donovan@xxxxxxxxxxxxxx] 
Sent: Thursday, February 17, 2005 9:15 PM
To: pyohe@xxxxxxxxxxxx
Cc: Squid List
Subject: Re: [squid-users] How to serve directory index files...?


On Feb 17, 2005, at 3:46 PM, Peter Yohe wrote:

> Hello,
>
> When Squid is in offline mode, how does it know what a default 
> document in a site or directory is if a client does not provide the 
> name of the file?
If the client has not requested information, Why would squid need to know
the default document ( assuming default.html ) of any site or directory?
No request = squid do nothing

what are you trying to do with squid? post your squid.conf and we may better
answer your questions.
>
> Thanks,
>
> Peter Yohe
>
> The WiderNet Project
>

-----------------------------------
jeff donovan
basd network operations
(610) 807 5571 x41
AIM  xtdonovan



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux