Simple rule causes Bad Request

New to mod_rewrite? This is a good place to start.

Simple rule causes Bad Request

Postby wizard518 » Sun Oct 12, 2003 5:14 pm

I've been playing around with mod_rewrite for awhile now with no luck. Basically, all I want is to mask a cgi. But when I add the following to my httpd.conf,

RewriteEngine on
RewriteRule ^/tmp$ /cgi-bin/pictures.py

I an error saying "Your browser sent a request that this server could not understand." However, if I add a [R] to the end of the RewriteRule, then it works (as a redirect). Does anyone know why it isn't working without a redirect? Thanks.
wizard518
 

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 24 guests

cron