oops, forgot example: ^(.*)/download(.*)/$ @/magic/webls?dir=\1/download/\2 ^(.*)/src(.*)/$ @/magic/webls?dir=\1/src\2
On Thu, Apr 16, 2009 at 12:15 PM, andrey mirtchovski <mirtchov...@gmail.com> wrote: >> it's also interesting to note that they managed to hide the >> /magic/prog stuff from the urls somehow. >> > > that's accomplished via /sys/lib/httpd.rewrite. from httpd(8): > > Httpd handles replacements pre- > fixed with @ internally, treating the request as if it were > for the replacement (without the @) but not informing the > client of the rewritten name. > > i have a version of httpd that accepts full regular expressions in > httpd.rewrite. >