Vra

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?

Was dit nuttig?
Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow
scroll top