httpd-users mailing list archives

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

> 
> <VirtualHost portal-dev.dande.com:81>
>   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: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


Mime
View raw message