On Fri, Mar 03, 2006 at 02:58:44PM +0000, Matthew Claridge wrote: > I'm using version 2.0.46, with Resin (not that important whats behind > apache...). I have the following config set up to rewrite some elements > of our dynamic URLs: > > RewriteEngine On > ProxyMaxForwards 200 > RewriteLog "/var/log/httpd/driveline/driveline-staging.rewrite.log" > RewriteLogLevel 3 > RewriteRule ^/(.*)dinoissesj(.*)$ /$1jsessionid$2 [N,P] > RewriteRule ^/(.*)__E__(.*)$ /$1=$2 [N,P] > RewriteRule ^/(.*)__A__(.*)$ /$1&$2 [N,P] > RewriteRule ^/(.*)__Q__(.*)$ /$1?$2 [N,P] > > > The problem is that our URLs include hashes ('#'), which are escaped as > '%23' in the actual URL. What seems to be happening, from looking at the > rewrite log file, is that Apache successfully processes all those > rewrite rules, but in the process of actually processing the initial > request, converts all the %23s to #s. Have you tried adding the 'NE' flaga to your flagset: [N,P,NE] ? --n -- Neil! Your bed's on fire! --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx