fellow vanilloids,
i've slightly improved the rewrite rules for nice vanilla urls (see
http://www.vanillasite.at/space/howto-custom-urls) -
RewriteRule ^$ /space/start [R,L]
RewriteCond %{QUERY_STRING} ^(.+)$
RewriteRule ^space/(.*)$
/cgi-bin/vanilla.cgi?selector=display&snip=$1&%1 [PT,L]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^space/(.*)$ /cgi-bin/vanilla.cgi?selector=display&snip=$1
[PT,L]
this is for .htaccess based rules, if you have those rules in your
main apache config, you'd have to prepend a / to the three RewriteRule
patterns.
the main thing this is good for, is that now you can write
http://earl.strain.at/space/start?debug=
instead of the more awkward
http://earl.strain.at/space/start&debug=
which you would have had to use before.
and until there is a proper url generation library in vanilla, this
will stay the only use case, i think ;)
you're welcome to adapt your setups and report any errors. unless i've
missed something and lots of errors are reported, those will become
the "official" rewrite rules and i'll update the docs accordingly.
... earl walker out ...