May you please test RewriteValve with any tomcat after version 8 with
following conditions :
add RewriteValve in conf/server.xml
add rewriteRule in conf/Catalina/localhost/rewrite.config
RewriteRule ^/IWantThisVisible/(.*)$ /examples/$1/
start tomcat
go to following URL (any internet
RewriteRule ^/visibleURL/(.*)$ /examples/$1/
(missing space between ^/visibleURL/(.*)$ and /examples/$1/)
Le 20/06/2017 à 18:31, Jérémie Barthés a écrit :
please test what i put in my mail :
install a brand new tomcat 9 from archive (last version)
put a RewriteValve in server.xml
in the
please test what i put in my mail :
install a brand new tomcat 9 from archive (last version)
put a RewriteValve in server.xml
in the file /conf/Catalina/localhost/rewrite.config add
RewriteRule ^/visibleURL/(.*)$/examples/$1/
now start tomcat and go to /visibleURL/servlets/
then go to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Jérémie,
On 6/20/17 9:32 AM, Jérémie Barthés wrote:
> http://192.168.1.1:8080/visibleURL/servlets/ URL displayed =
> http://192.168.1.1:8080/visibleURL/servlets/ page displayed =
> http://192.168.1.1:8080/examples/servlets/
>
>
http://192.168.1.1:8080/visibleURL/servlets/
URL displayed = http://192.168.1.1:8080/visibleURL/servlets/
page displayed = http://192.168.1.1:8080/examples/servlets/
http://192.168.1.1:8080/visibleURL/servlets
URL displayed = http://192.168.1.1:8080/examples/servlets/
page displayed =
Hi,
I have some issues with my brand new tomcat 9.0.0.M21
I just unzipped *windows-64 core*
Then i added the *RewriteValve *in *conf/server.xml*
/ autoDeploy="true">//
// //
//className="org.apache.catalina.valves.rewrite.RewriteValve"/>//
// /