views:

47

answers:

1

Is there any way to rewrite a GET / to a cgi script with a parameter? Basically redirect / to /cgi-bin/scipt.cgi?123.

This does not work:

RewriteEngine On
RewriteRule ^/$ /cgi-bin/script.cgi?123 [L]

Instead it somehow rewrites / to /index.html/

Any way of doing this?