httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mads Toftum <m...@toftum.dk>
Subject Re: Auto-docs rewrite
Date Sun, 24 Jul 2005 08:02:01 GMT
On Sat, Jul 23, 2005 at 11:14:35PM +0200, André Malo wrote:
> How about the following when using the generated map I've just committed to 
> trunk/docs/manual.
> 
> RewriteEngine On
> RewriteMap tolower int:tolower
> RewriteMap dir2url txt:/path/to/convenience.map
> 
> RewriteCond ${dir2url:${tolower:$1}} (.+)
> RewriteRule ^/+docs/+([^/]+)$ /docs/2.0/%1 [R=301,NE,L]
> 
Much better.

> I'm not sure how and when to convert to dbm, though (possibly 
> automatically). Ideas?
> 
httxt2dbm? Maybe the txt file could be generated when generating the
list of directives for the docs?

vh

Mads Toftum
-- 
`Darn it, who spiked my coffee with water?!' - lwall


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message