Hi
I have some little prob with the search engine templates
Here are the main forders of my site :
http://www.mysite.com/cgi-bin/forum/
http://www.mysite.com/forum/
Here is what I have done :
1) check if mod rewrite was activated >>> YES it is
2) put the search engine template in my template directory
3) copy the file gforum.cgi from http://www.mysite.com/cgi-bin/forum/ to http://www.mysite.com/forum/
4) Created a ..htaccess in http://www.mysite.com/forum/
I have a prob wit the last line, all the other rewrite rules are ok (when I go to the forum homepage, to a category, to forum, to read a thread...)
The problem happens (error 404) when I am not at in the root of http://www.mysite.com/forum/ and when I try to clic on a link with parameters (like the following)
www.mysite.com/forum/category1_C1/forum1_F1/gforum.cgi?do=post_reply_write;parent_post_id=54;guest=4761&t=search_engine
txs for your help
FMP
I have some little prob with the search engine templates
Here are the main forders of my site :
http://www.mysite.com/cgi-bin/forum/
http://www.mysite.com/forum/
Here is what I have done :
1) check if mod rewrite was activated >>> YES it is
2) put the search engine template in my template directory
3) copy the file gforum.cgi from http://www.mysite.com/cgi-bin/forum/ to http://www.mysite.com/forum/
4) Created a ..htaccess in http://www.mysite.com/forum/
RewriteRule ^.*P([0-9]+)/?$ gforum.cgi?post=$1&t=search_engine [L]
RewriteRule ^.*P([0-9]+)-([0-9]+)/?$ gforum.cgi?post=$1&page=$2&t=search_engine [L]
RewriteRule ^.*C([0-9]+)/?$ gforum.cgi?category=$1&t=search_engine [L]
RewriteRule ^.*F([0-9]+)/?$ gforum.cgi?forum=$1&t=search_engine [L]
RewriteRule ^.*F([0-9]+)-([0-9]+)/?$ gforum.cgi?forum=$1&page=$2&t=search_engine [L]
RewriteRule ^.?$ gforum.cgi?t=search_engine [L]
RewriteRule ^.*gforum.cgi gforum.cgi?%{QUERY_STRING} [R,NE,L]
I have a prob wit the last line, all the other rewrite rules are ok (when I go to the forum homepage, to a category, to forum, to read a thread...)
The problem happens (error 404) when I am not at in the root of http://www.mysite.com/forum/ and when I try to clic on a link with parameters (like the following)
www.mysite.com/forum/category1_C1/forum1_F1/gforum.cgi?do=post_reply_write;parent_post_id=54;guest=4761&t=search_engine
txs for your help
FMP