I've tried this, but I'm getting a
;t=search_engine
At the end of the navigation bar (dynamic URLS) which breaks the system.
Everything else seems to work.
I have ^/$ rewritten to my gforum.cgi location,
http://beadbanter.com/...in/gforum/gforum.cgi and that works normally. I have to change that, though, when I add in the search engine friendly rewrite rules.
#RewriteRule ^/$ /cgi-bin/gforum/gforum.cgi?t=search_engine [L,PT]
*seems* to work, except that when it comes down to:
#RewriteRule ^/forum/.*gforum.cgi /cgi-bin/gforum/gforum.cgi?%{QUERY_STRING}&t=default [R,L]
even forcing the t=default doesn't seem to work.
I still get ;t=search_engine appended to the cgi links.
I've played with this a bunch, and either end up in a loop, or getting the broken URLs.
Oddling, the rewrites for the "content" work, but if no one can log in, search or post, what good is it ;) <G>
BTW: the #'s are just because I've commented them out, and reverted back to the dynamic site while trying to figure out what may be doing it.
Uggghh.... as I was going to add I applied the cgi_root_url patch, I realized I did that before I tried some of the other tricks. I reverted back to the original templates (as shipped with the current version) and it is working, even with the ;t=search_engine being appended to the cgi strings.
So, while this is a "bug" (or quirk, at least) it "works" or seems to. I just put the forum through a bunch of paces, and can't see anything that isn't working now.
These are the only active rewrite rules I have,
Code:
RewriteRule ^/$ /cgi-bin/gforum/gforum.cgi?t=search_engine [L,PT]
RewriteRule ^/forum/.*P([0-9]+)/?$ /cgi-bin/gforum/gforum.cgi?post=$1&t=search_engine [L,PT]
RewriteRule ^/forum/.*P([0-9]+)-([0-9]+)/?$ /cgi-bin/gforum/gforum.cgi?post=$1&page=$2&t=search_engine [L,PT]
RewriteRule ^/forum/.*C([0-9]+)/?$ /cgi-bin/gforum/gforum.cgi?category=$1&t=search_engine [L,PT]
RewriteRule ^/forum/.*F([0-9]+)/?$ /cgi-bin/gforum/gforum.cgi?forum=$1&t=search_engine [L,PT]
RewriteRule ^/forum/.*F([0-9]+)-([0-9]+)/?$ /cgi-bin/gforum/gforum.cgi?forum=$1&page=$2&t=search_engine [L,PT]
RewriteRule ^/forum/?$ /cgi-bin/gforum/gforum.cgi?t=search_engine [L,PT]
RewriteRule ^/forum/.*gforum.cgi /cgi-bin/gforum/gforum.cgi?%{QUERY_STRING} [R,NE,L]
RewriteRule ^/gforum.cgi /cgi-bin/gforum/gforum.cgi?%{QUERY_STRING} [R,NE,L]
#RewriteRule ^/$ http://beadbanter.com/cgi-bin/gforum/gforum.cgi [R,L,NC]
And they replaced the inactive rewrite rule at the bottom.
One other quirk I found, (and that explains the last active rule) is that on the home page, the dynamic urls in the menu bar were not being rewritten as /forum/etc, but only as /gforum.cgi
Everything *seems* to be working now, but who knows :)
The first rule (for those who may wonder) translates
http://beadbanter.com into the main page of the forum script.
PUGDOG� Enterprises, Inc. The best way to contact me is to
NOT use Email.
Please leave a PM here.