[REBOL] Re: probably OT: Apache and Rebol
From: andreas:bolka:gmx at: 28-May-2005 14:18
Saturday, May 28, 2005, 12:14:58 AM, Eric wrote:
> This is probably more of an Apache question that will be handled
> easiest by using mod_rewrite but here goes...
> I need to have Apache execute a Rebol script that will preprocess an
> HTML file but I'd like to make it so that instead of the url being
> www.mysite.com/cgi-bin/handler.r?filename=index.html
> it could be
> www.mysite.com/index.html
using mod_rewrite:
RewriteEngine on
RewriteRule ^/(.*)$ /cgi-bin/handler.r?filename=$1 [PT]
--
Best regards,
Andreas