#bonita #portal #contextPath

Remove subpath (context bonita) in nginx or apache

Hello,
I'm having trouble removing path /bonita from the url

I try with two ways APCHE or NGINX result is the same

````


ServerName bonita.befirst.com

ErrorLog ${APACHE_LOG_DIR}/bonita_befirst_com/error.log
CustomLog ${APACHE_LOG_DIR}/bonita_befirst_com/access.log combined

RewriteEngine on
RewriteRule "^(?!/bonita)(.*)$" "/bonita$1" [R,L]
RewriteRule "^/(.*)" "http://127.0.0.1:8080/$1" [P]

ProxyRequests Off
ProxyPreserveHost on

deploy bonita 7.7 with different context path

I'm trying to deploy bonita portal 7.7 using tomcat deployment kit on a different context path.
I tried modifying to war name and bonita.xml but seems like is no longer deploying.
I tried to put it behind an apache, but after login seems like is trying to redirect to /test/%2Fbonita%2Fportal%2Fhomepage

Notifications