> # RewriteRule ^(.*)$ coffee.cgi?type=$1
> But apache2 erroneously outputs 'You ordered a coffee.cgi', instead of 'You
> ordered a mocha'.
When you make a substitution in htaccess with mod_rewrite, the
resulting substitution gets fed back in and rewrites get a chance to
run against the new URL.
Hello,
I am following some HOWTOs about mod_rewrite, but they are not working for me.
I want to translate 'example.net/mocha' to '/coffee.cgi?type=mocha'.
This is what I have:
##.htaccess##
# RewriteEngine on
# Options +FollowSymlinks
# RewriteBase /
# RewriteRule ^(.*)$ coffee.cgi?type=$1
##cof