Helpful Information
Category: CGI
cgi > htm Mod Rewrite

I been reading all sorts of articles and tried different mod rewrites but have not found 1 yet that works.

here is an example of my code:

rewriteEngine on
RewriteRule ^morelinks/(.*).htm /morelinks.cgi?category=$1 [T=application/x-httpd-cgi]

what i am trying to accomplish is

to make


my server is all up todate with all the latest apache, php, cgi etc. Mod Rewrite is enabled.

the script itself runs directly from cgi-bin/

I had to ssi the

to the

so the site could appear.

i added the .htaccess file to the cgi-bin folder, tried it outside of the cgi-bin, and inside the html folder, but nothing seems to make it change.

my path structure is like so:

all cgi has to be within cgi-bin folder
all html has to be within the html folder

Am i missing something??

any help or pointing me in the right direction would be greatful