httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah <>
Subject Re: [users@httpd] Using mod_rewrite with mod_jk2
Date Fri, 12 Aug 2005 15:31:51 GMT
On Fri, Aug 12, 2005 at 10:32:41AM -0400, brian papa wrote:
> Still having the same problem... right now my rewrite stuff looks like this - 
> LoadModule rewrite_module modules/
> RewriteEngine on
> RewriteCond %{HTTP_HOST} (.*)$
> RewriteRule /profile/aboutme
> [L]
> And then when I enter "" I get a
> 404 and the error logs look like this -
> "File does not exist: C:/apache_web/profile/aboutme/index.jsp"

You need to add the 'PT' flag to your RewriteRule so that mod_rewrite
will give mod_jk2 a crack at the request. You will also (I think;
someone check me on this) need to have mod_rewrite's LoadModule line 
listed /after/ mod_jk2's, so ensure that mod_rewrite is called first.


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