Hi Felix,
location of context.xml file is
cat context.xml| grep RewriteValve
pwd
/opt/tomcat/apache-tomcat-9.0.54/instance/conf
more
/opt/tomcat/apache-tomcat-9.0.54/instance/webapps/ROOT/WEB-INF/rewrite.config
RewriteCond %{QUERY_STRING} p=10001
RewriteRule ^/apex/f$ /apex/myapp [R,L]
Am 20.03.22 um 19:45 schrieb Thomas Hoffmann (Speed4Trade GmbH):
Hello,
url rewrite doesn't match against url parameters as far as I know.
RewriteRule ^/apex/f$ /apex/myapp [R,L]
You can match the query string by adding a RewriteCond, for example
RewriteCond %{QUERY_STRING} p=1001
RewriteRu
Am 20.03.22 um 20:17 schrieb rupali singh:
Hi Thomas,
thanks for the quick reply.
I have tried below but it's still not working.
RewriteRule ^/apex/f$ /apex/myapp [R,L]
I have placed rewrite.config on below locations and fileis same in both
locations , after changing rewrite.config i'm restar
Am 19.03.22 um 07:03 schrieb rupali singh:
Hi Team,
We are using tomcat 9.54 version.
Need help in rewriting rule.
background : We have an Oracle apex server ( version 21.1) and tomcat is
installed on the same server. We have F5 url which redirects to apex
installed on tomcat eghttps://xyz
Hi,
Yes im restarting the tomcat after changing the rewrite. Config file.
i have increased log level to FINE
*cat /opt/tomcat/apache-tomcat-9.0.54/instance/conf/logging.properties |
grep FINE*
1catalina.org.apache.juli.AsyncFileHandler.level = FINE
2localhost.org.apache.juli.AsyncFileHandler.l
Hello,
the location under /WEB-INF/ is the correct one.
Did you restart tomcat afterwards? The config is loaded during startup.
Maybe you can activate logging via logging.properties
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = FINE
Should spit out plenty of information
Hi Thomas,
thanks for the quick reply.
I have tried below but it's still not working.
RewriteRule ^/apex/f$ /apex/myapp [R,L]
I have placed rewrite.config on below locations and fileis same in both
locations , after changing rewrite.config i'm restarting tomcat as well.
/opt/tomcat/apache-tomcat
Hello,
url rewrite doesn't match against url parameters as far as I know.
RewriteRule ^/apex/f$ /apex/myapp [R,L]
Just a guess, maybe you can give it a try.
Another option would be to use the source code of tomcat and set a breakpoint
within the filter class
(just with a little dummy app depl
Hi,
i have referred Around here:
https://tomcat.apache.org/tomcat-9.0-doc/rewrite.html#RewriteRule
but still can't figure out how to write rules for my requirements..
can you please help
On Sat, 19 Mar 2022 at 21:57, Thomas Hoffmann (Speed4Trade GmbH)
wrote:
> Hallo,
>
> just scroll down the do
Hi,
i have tried below but its not working
RewriteRule ^/apex/f?p=1001 /apex/myapp [R,L]
On Sat, 19 Mar 2022 at 10:19, Jason Wee wrote:
> have you try?
>
> RewriteRule ^/apex/f?p=1001 /apex/myapp [R,L]
>
> On Sat, Mar 19, 2022 at 2:05 PM rupali singh
> wrote:
> >
> > Hi Team,
> >
> > We are
10 matches
Mail list logo