[plug] Debian 2.1 slink

Trevor Phillips phillips at central.murdoch.edu.au
Thu May 13 17:48:09 WST 1999


"Anthony J. Breeds-Taurima" wrote:
> 
> Just to be nit picky ..... BUT the point still remains that some pages should
> be cacheable and therfore should avoid CGI "type" url's.  So that cache admin's
> can do the right thing by everyone ....

Still, CGI's have their own way of stating a page should or shouldn't be
cached (via HTTP/1.1). Why not rely on that? Or is the general
assumption CGI writers don't know how to do that? ^_^

> I'm sure you could hve one php/cgi/perl script that looks at it's "name and
> sources an appropriate file.  You could the create a symlinkn to that file
> with multiple names and get multiple content AND still cache the object ....

Nicer way is to have it as part of the path. eg;
/bin/mycgi/afilename.html
That'd access the CGI /bin/mycgi and set an Env var to afilename.html
(Ummm, PATH_INFO from memory, but don't quote me on it).
Or better still associate a CGI via an action/handler. ^_^

-- 
. Trevor Phillips             -           http://jurai.murdoch.edu.au/ . 
: CWIS Technical Officer         -           T.Phillips at murdoch.edu.au : 
| IT Services                       -               Murdoch University | 
 >------------------- Member of the #SAS# & #CFC# --------------------<
| On nights such as this, evil deeds are done. And good deeds, of     /
| course. But mostly evil, on the whole.                             /
 \      -- (Terry Pratchett, Wyrd Sisters)                          /


More information about the plug mailing list