Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Problems with search engine templates

Quote Reply
Problems with search engine templates
I have these rules for my gforum Vhost
Now when I access with the search engine templates to the parsed mod_rewrite url I get a connection error by the browser.
Seems that mod_rewrite works (the server will not parse a 404 error) but how can I resolve this?
Here are the rules:
Code:
RewriteEngine on
RewriteRule ^/forum/.*P([0-9]+)/?$ /gforum.cgi?post=$1&t=search_engine [L]
RewriteRule ^/forum/.*P([0-9]+)-([0-9]+)/?$ /gforum.cgi?post=$1&page=$2&t=searc$
RewriteRule ^/forum/.*C([0-9]+)/?$ /gforum.cgi?category=$1&t=search_engine [L]
RewriteRule ^/forum/.*F([0-9]+)/?$ /gforum.cgi?forum=$1&t=search_engine [L]
RewriteRule ^/forum/.*F([0-9]+)-([0-9]+)/?$ /gforum.cgi?forum=$1&page=$2&t=sear$
RewriteRule ^/forum/?$ /gforum.cgi?t=search_engine [L]
RewriteRule ^/forum/.+gforum.cgi /gforum.cgi?%{QUERY_STRING} [R,NE,L]
Thanks
Max
The one with Mac OS X Server 10.4 :)
Quote Reply
Re: [maxpico] Problems with search engine templates In reply to
Yup! I solved it by adding the PT rule! Tongue
Max
The one with Mac OS X Server 10.4 :)