httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <hart...@ooo.lanl.gov>
Subject 0.7.2k and an idea
Date Mon, 19 Jun 1995 08:50:19 GMT

I put 0.7.2k on hyperreal last night, but I won't recomend it for serious
use at the moment.. it has some problem with redirects.. this will be
a 50% less fat version when it's stable.


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/

Mime
View raw message