Forum

Vanilla Forums htaccess

Amar
19 June 2012, 13:13
Hello Hugo

Can you help me with Vanilla forums (http://vanillaforums.org/) htaccess. It looks like this:

RewriteEngine On
# Certain hosts may require the following line.
# If vanilla is in a subfolder then you need to specify it after the /.
# (ex. You pur Vanilla in /forum so change the next line to: RewriteBase /forum)
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]


How should this look in Hiawatha toolkit ?
ty.


Hiawatha version: 8.4
Operating System: Debian
Hugo Leisink
21 June 2012, 21:41
It should be something like this:
UrlToolkit {
RequestURI exists Return
Match ^/(.*)\?(.*) Rewrite /index.php?p=$1&$2
Match ^/(.*) Rewrite /index.php?p=$1
}
This topic has been closed.