Using a TCL filter and then computing the url with some tcl regexp should do the trick as well. For some "Rewrite module" compatibility, you can write a tcl file that will be read at AS startup, parse the apache file and create the filters.
Is that right, or am I missing something ? Regards. Jean-Fabrice RABAUTE Core Services - Enjoy the future today http://www.core-services.fr Mob: +33 (0)6 13 82 67 67 -----Message d'origine----- De : AOLserver Discussion [mailto:[EMAIL PROTECTED] la part de tammy Envoye : vendredi 1 aout 2003 20:51 A : [EMAIL PROTECTED] Objet : Re: [AOLSERVER] apache compatibility (was: Are the weekly chats officially dead?) This seems really close to what .vuh files do in OpenACS... unless I'm mistaken. Maybe a simple/quick fix is to write a quick script to just parse all the .htaccess rewrite commands into simple .vuh files? Or is there more to this I'm missing? Probably so huh?! t On Friday, August 1, 2003, at 11:01 AM, Patrick Spence wrote: > Peter M. Jansson said: > This is an extract of what is in one of the .htaccess files... Mostly I > think it is just the mod_rewrite and the access control stuff that is > used > for a lot of what is out there.. > > <IfModule mod_rewrite.c> > RewriteEngine On > RewriteBase /gallery/ > RewriteRule ^([^\.\?/]+)/([0-9]+)$ > /gallery/view_photo.php?set_albumName=$1&index=$2 [QSA] > RewriteRule ^([^\.\?/]+)/([A-Za-z_0-9\-]+)$ > /gallery/view_photo.php?set_albumName=$1&id=$2 [QSA] > RewriteRule ^([^\.\?/]+)/$ /gallery/$1 [R] > RewriteRule ^([^\.\?/]+)$ > /gallery/view_album.php?set_albumName=$1 > [QSA] > </IfModule> > -- [EMAIL PROTECTED] -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank. -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.