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

##coffee.cgi##
# #!/usr/bin/perl -w
# use CGI qw(:standard);
#
# $type = param('type');
# print header(), start_html(), p('You ordered a', $type), end_html();

But apache2 erroneously outputs 'You ordered a coffee.cgi', instead of 'You 
ordered a mocha'.

What I am doing wrong?




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to