httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Warhurst, SI (Spencer) " <>
Subject [users@httpd] RewriteRules
Date Mon, 08 Sep 2003 15:49:31 GMT

This is my first foray into rewrite rules, and I'm stuck on something.

I want a user to be able to type in their browser:

and the server to translate that to:

I made the following adjustments/entries into httpd.conf:

  LoadModule rewrite_module modules/

  # Configure ReWrite
  RewriteEngine on
  RewriteLog "d:/apache2/logs/rewrite.log"
  RewriteRule ^/messages/(.+?)/(\d{2})(\d{2})/(\d+)

However, when I try to go to a message with the URL it responds:

"Bad request!
Your browser (or proxy) sent a request that this server could not
If you think this is a server error, please contact the blah
Error 400"

There is nothing in rewrite log and the access log just has the 400 message

It's probably something simple, but can you suggest what?



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message