You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Williams, Ryan" <Ry...@transcore.com> on 2002/11/05 00:03:39 UTC

[users@httpd] mod_rewrite on 2.0.43 Win2000 help needed

Hi,

I've run into a problem with mod_rewrite.  I have Apache 2.0.43 and 1.3.27
installed on my Win2k box.  My rewrite rule works great on 1.3.27, but fails
on 2.0.43, producing a 400 Bad Request error.  I've searched the docs, faqs,
archives and google and have yet to find any helpful information.

Rewrite Rule Section:
<IfModule mod_rewrite.c>
	RewriteEngine on
	RewriteLog "logs/rewrite_log.txt"
	RewriteLogLevel 9
	RewriteRule /private/(.*) /index.jsp
</IfModule>

Access Log:
127.0.0.1 - - [04/Nov/2002:14:48:15 -0800] "GET /private/testparameter
HTTP/1.1" 400 296

Rewrite Log:
127.0.0.1 - - [04/Nov/2002:14:48:15 --0800]
[localhost/sid#23c748][rid#20a773d8/initial] (2) init rewrite engine with
requested uri /private/testparameter
127.0.0.1 - - [04/Nov/2002:14:48:15 --0800]
[localhost/sid#23c748][rid#20a773d8/initial] (3) applying pattern
'/private/(.*)' to uri '/private/testparameter'
127.0.0.1 - - [04/Nov/2002:14:48:15 --0800]
[localhost/sid#23c748][rid#20a773d8/initial] (2) rewrite
/private/testparameter -> /index.jsp
127.0.0.1 - - [04/Nov/2002:14:48:15 --0800]
[localhost/sid#23c748][rid#20a773d8/initial] (2) local path result:
/index.jsp


Is there anything else that has to be added to the the configuration besides
the LoadModule line?  I feel like I'm just missing some configuration
option.


I appreciate any help!

Thanks,
Ryan


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org