httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@organic.com>
Subject Re: 0.7.2k and an idea
Date Mon, 19 Jun 1995 22:56:42 GMT

Sounds simple, but doesn't that require reading and parsing "files.map" 
for every response?  Even with everything cached, it sounds like a 
strain.  Why is having the link point to a basename and doing globbing on 
file extension less elegant?

	Brian


On Mon, 19 Jun 1995, Rob Hartill wrote:
> An idea for XBITHACK and more...
> You might remember me suggesting that Apache could replace XBITHACK
> by looking for .shtml when a .html wasn't found, well here's what I
> think is a better solution, and one which will probably have some other
> really useful applications..
> 
> Given a URL, say   x/y/z/foo.html,  after Apache finds its way to the
> directory x/y/z/, it looks for a special map file, x/y/z/files.map which
> could contain things like
> 
> foo.html/foo.shtml                  ( '/' is the onle safe char to use)
> logo.gif/logo
> index.html/index.asis
> 
> 
> ..so that before Apache goes any futher, it does a mapping on the filename.
> In the example above, my 'foo.html' is changed to 'foo.shtml' so that it
> can have includes. 'logo.gif' is changed to 'logo' so that multiviews or
> content-neg can pick the best type. 'index.html' becomes an '.asis' so it
> can redirect somewhere else.
> 
> Simple, but very powerful me thinks.
> 
> --
> Rob Hartill                           
> http://nqcd.lanl.gov/~hartill/
> 

--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com  brian@hyperreal.com  http://www.[hyperreal,organic].com/


Mime
View raw message