Okay, interesting development...
I took Franco's code above and put that in the .htaccess file, which partially worked.
Here's what I now have:
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteRule ^\.htaccess$ - [F]
RewriteRule ^(.*)site/support/(.*)P([0-9]+)/?$ /site/cgi-bin/support/gforum.cgi?post=$1&t=search_engine [L]
RewriteRule ^(.*)site/support/(.*)P([0-9]+)-([0-9]+)/?$ /site/cgi-bin/support/gforum.cgi?post=$1&page=$2&t=search_engine [L]
RewriteRule ^(.*)site/support/(.*)C([0-9]+)/?$ /site/cgi-bin/support/gforum.cgi?category=$1&t=search_engine [L]
RewriteRule ^(.*)site/support/(.*)F([0-9]+)/?$ /site/cgi-bin/support/gforum.cgi?forum=$1&t=search_engine [L]
RewriteRule ^(.*)site/support/(.*)F([0-9]+)-([0-9]+)/?$ /site/cgi-bin/support/gforum.cgi?forum=$1&page=$2&t=search_engine [L]
RewriteRule ^(.*)site/support/?$ /site/cgi-bin/support/gforum.cgi?t=search_engine [L]
RewriteRule ^(.*)site/support/(.*)gforum.cgi /site/cgi-bin/support/gforum.cgi?%{QUERY_STRING} [NS,L]
That seems to work as far as bringing up the main category listing page at /site/support. However, at /site/support/, it brings up an empty index page. More significantly, none of the internal links work. When I click on any of the forum or category listings, I get a 404 error. When I click on one of the "jump to post" or other links that go to the "regular" forum, they work fine. But only the main category listing is doing what it's supposed to ala mod_rewrite...
The other little bit of news is that I just found out that my web host uses Apache version 1.3.19, but will be upgrading to 1.3.26 in a few days. Maybe the easiest thing to do is just wait for this upgrade and then use the original version...
Thanks for all the help.
Adam
Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund
I took Franco's code above and put that in the .htaccess file, which partially worked.
Here's what I now have:
Code:
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteRule ^\.htaccess$ - [F]
RewriteRule ^(.*)site/support/(.*)P([0-9]+)/?$ /site/cgi-bin/support/gforum.cgi?post=$1&t=search_engine [L]
RewriteRule ^(.*)site/support/(.*)P([0-9]+)-([0-9]+)/?$ /site/cgi-bin/support/gforum.cgi?post=$1&page=$2&t=search_engine [L]
RewriteRule ^(.*)site/support/(.*)C([0-9]+)/?$ /site/cgi-bin/support/gforum.cgi?category=$1&t=search_engine [L]
RewriteRule ^(.*)site/support/(.*)F([0-9]+)/?$ /site/cgi-bin/support/gforum.cgi?forum=$1&t=search_engine [L]
RewriteRule ^(.*)site/support/(.*)F([0-9]+)-([0-9]+)/?$ /site/cgi-bin/support/gforum.cgi?forum=$1&page=$2&t=search_engine [L]
RewriteRule ^(.*)site/support/?$ /site/cgi-bin/support/gforum.cgi?t=search_engine [L]
RewriteRule ^(.*)site/support/(.*)gforum.cgi /site/cgi-bin/support/gforum.cgi?%{QUERY_STRING} [NS,L]
That seems to work as far as bringing up the main category listing page at /site/support. However, at /site/support/, it brings up an empty index page. More significantly, none of the internal links work. When I click on any of the forum or category listings, I get a 404 error. When I click on one of the "jump to post" or other links that go to the "regular" forum, they work fine. But only the main category listing is doing what it's supposed to ala mod_rewrite...
The other little bit of news is that I just found out that my web host uses Apache version 1.3.19, but will be upgrading to 1.3.26 in a few days. Maybe the easiest thing to do is just wait for this upgrade and then use the original version...
Thanks for all the help.
Adam
Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund