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 <peich...@gmail.com> wrote: > have you try? > > RewriteRule ^/apex/f?p=1001 /apex/myapp [R,L] > > On Sat, Mar 19, 2022 at 2:05 PM rupali singh <rupali.r.si...@gmail.com> > wrote: > > > > 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 eg https://xyz.ae/apex/f?p=1001 > > <https://xyz.com/apex/f?p=1001> so xyz.ae is published on our F5 which > > redirects internally to tomcat server on port 8080. > > > > we want to redirect https://xyz.ae/apex/f?p=1001 > > <https://xyz.com/apex/f?p=1001> to > > https://xyz.ae/apex/myapp <https://xyz.com/aorx/myapp> as it's > difficult > > for business users to remember f?p=1001 <https://xyz.com/apex/f?p=1001> > > > > i have prepared context.xml and rewrite.config rule but redirection not > > working and there is no error in catalina.log > > > > in access log we are getting 404. > > > > i have tried steps mentioned in > > > https://stackoverflow.com/questions/38618473/tomcat-9-rewrite-with-ords-and-oracle-apex > > > > rewrite.config content > > > > RewriteCond %{REQUEST_URI} ^/myapp$ > > RewriteRule ^/myapp$ https://xyz.ae/apex/myapp [R,L] > > > > > > please advise how to resolve the issue > > -- > > Thanks and Regards, > > Rupali > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- Thanks and Regards, Rupali