Hi:
I think the CLEANEST way is to use mod_rewrite. Obviously, you need to do the above, so the .cgi file is treated as a valid homepage...
then I added this into .httpd.conf:
RewriteEngine on
RewriteRule ^/?$ /forum/ [PT]
Obviously, your paths may bge different.
The beauty of this is that you can "promote" your forum at the base url (in my case, http://forum.bcdb.com/) and that "invisibly" gets rewritten to /my/base/directory/forum/... and then, since you have set up gtforum.cgi as an index page, that is what get's called (/my/base/directory/forum/gtforum.cgi) but the user thinks it is http://forum.bcdb.com/!
Beautiful!
Since I can access and edit httpd.conf, I have not explored .htacces versions of this rewrite. But I THINK that is you have nod_rewrite enabled on your server, you can do sopmething similar in .htaccess.
Good Luck!
dave
Big Cartoon DataBase
Big Comic Book DataBase
I think the CLEANEST way is to use mod_rewrite. Obviously, you need to do the above, so the .cgi file is treated as a valid homepage...
then I added this into .httpd.conf:
RewriteEngine on
RewriteRule ^/?$ /forum/ [PT]
Obviously, your paths may bge different.
The beauty of this is that you can "promote" your forum at the base url (in my case, http://forum.bcdb.com/) and that "invisibly" gets rewritten to /my/base/directory/forum/... and then, since you have set up gtforum.cgi as an index page, that is what get's called (/my/base/directory/forum/gtforum.cgi) but the user thinks it is http://forum.bcdb.com/!
Beautiful!
Since I can access and edit httpd.conf, I have not explored .htacces versions of this rewrite. But I THINK that is you have nod_rewrite enabled on your server, you can do sopmething similar in .htaccess.
Good Luck!
dave
Big Cartoon DataBase
Big Comic Book DataBase