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.

Reply via email to