Forum Moderators: phranque
I have uploaded the following .htaccess file to my server but get an internal server error. Could someone who knows check that it is right?
The script is in /cgi-bin/widgets as is the .htaccess file
Options +FollowSymlinks
RewriteEngine on
RewriteBase /cgi-bin/widgets/
RewriteRule ^blue_widgets.html$ blue_widgets.cgi
Thanks very much.
>> script is in /cgi-bin/widgets as is the .htaccess file
Try moving the .htaccess file out of /cgi-bin/widgets/ to a higher level, eg. to the document root.
Added: Uhm..... You write:
>> to change .cgi files to .html files
The rewrite you posted does the opposite as far as i can see, ie. changes html files to cgi files - perhaps you should reverse the Rewrite Rule?