httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: [users@httpd] java app URL rewrite
Date Thu, 18 Sep 2008 21:58:46 GMT
Stauffer, Robert G wrote:

> <VirtualHost>
>   RewriteEngine On
>   RewriteLogLevel 3
>   RewriteLog logs/rewrite_port81.log
>   RewriteRule ^/$ /jahia/Jahia/site/jazzd/pid/9 [C,PT]    (This
> redirects properly, but the next line is ignored.)

I'm not (yet) an expert, but isn't your problem the [,PT] flag above ? 
Does that flag not imply "stop rewriting here and proxy now" ?
What if you move the PT flag to the next rule, like :

>   RewriteRule ^/jahia/Jahia/(.+)$ /$1 [L,PT]
> </VirtualHost>
(and also add slashes as I added them above)
(I'm not really sure of that one though, but I think)

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