What a great thing these rewrite rules. And thanks a lot for the templates!!
I am in the progress of implementing these new templates, actually I want to replace the old templates and only use the new templates.
My forum already resides in /forum/ so I had to change a few things in the rewrite rules.
1) If you want to use the new templates to replace to old ones, then make sure you add the globals of the new template (in globals.txt) to your own globals. You also need to change the rewrite rules a bit, e.g. the first line would be
RewriteRule ^/forum/.*P([0-9]+)/?$ /path/to/gforum.cgi?post=$1 [L]
and so on...
2) If your gforum.cgi already resides in the directory /forum/, you have to change the last line of the rewrite rules to:
RewriteRule ^/forum/.+gforum.cgi /forum/gforum.cgi?%{QUERY_STRING} [R,NE,L]
Note the plus sign instead of the multiplication sign (the multiplication sign results in an infinite redirection loop).
I hope that these remarks are helpful.
Ivan
-----
Iyengar Yoga Resources / GT Plugins
I am in the progress of implementing these new templates, actually I want to replace the old templates and only use the new templates.
My forum already resides in /forum/ so I had to change a few things in the rewrite rules.
1) If you want to use the new templates to replace to old ones, then make sure you add the globals of the new template (in globals.txt) to your own globals. You also need to change the rewrite rules a bit, e.g. the first line would be
RewriteRule ^/forum/.*P([0-9]+)/?$ /path/to/gforum.cgi?post=$1 [L]
and so on...
2) If your gforum.cgi already resides in the directory /forum/, you have to change the last line of the rewrite rules to:
RewriteRule ^/forum/.+gforum.cgi /forum/gforum.cgi?%{QUERY_STRING} [R,NE,L]
Note the plus sign instead of the multiplication sign (the multiplication sign results in an infinite redirection loop).
I hope that these remarks are helpful.
Ivan
-----
Iyengar Yoga Resources / GT Plugins