Question
TechMahindra
IN
Last activity: 27 Mar 2017 4:42 EDT
Disabling PRServlet from the URL
Can anyone help us in disabling the PRServlet from the URL ?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
TechMahindra
IN
Tried to disable the Web standard servlet mapping in the web.xml , but the application is not accessible.
Pegasystems Inc.
IN
Hello Vamsi,
Thanks for posting your query in PSC :)
As per the post, I see that this (as enhancement request) is addressed for Pega 7.1.6 or above. I have verified in Pega 7.1.8.
Regards,
Rincy
Pegasystems Inc.
IN
Hi Vamsi,
Please confirm your PRPC version? . If you are using lower PRPC version (< 7.1.6) it is not supported as stated above by Rincy.
TechMahindra
IN
It is Pega 7.1.7
Pegasystems Inc.
IN
Then it should work. Please let me know how you are trying ?
http://vengwindb167:8282/prweb/ --> like this?
TechMahindra
IN
We commented the below lines in web.xml in order to disable the PRServlet & we are trying here to use only PRWebLDAP1 , but while restarting the application with the below settings , we are not able to access PRWebLDAP1
<!--
<servlet-mapping>
<servlet-name>WebStandard</servlet-name>
<url-pattern>/PRServletx</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>WebStandard</servlet-name>
<url-pattern>/PRServlet/*</url-pattern>
</servlet-mapping>
-->
TechMahindra
IN
we are using url as "https://hostname/prweb/xyz*/!STANDARD" as load balancer is in front.
Pegasystems Inc.
IN
Please revoke the changes done on web.xml. Then try accessing the link "https://hostname/prweb/" and let me know the result?
TechMahindra
IN
Now we are able to access "https://hostname/prweb/"
But even though it is accepting PRServlet login credentials.
Our task is here to use only PRWebLDAP , who are authenticated and PRServlet login credentials shouldn't work.
Pegasystems Inc.
IN
Thanks for the update and confirmation. Yes, it will accept the PRServlet login credential.
I am not sure on the feasibility of achieving the below one
" Our task is here to use only PRWebLDAP , who are authenticated and PRServlet login credentials shouldn't work. " . Need to check and will get back to you.
Pegasystems Inc.
IN
Hello Vamsi,
Could you refer this post related to redirecting PRServlet to PRWebLDAP2. Does it meet your custom requirement?
Regards,
Rincy
TechMahindra
IN
In the post , they made custom authentication on the WebStandard Login by updating web.xml
And is ours also a similar requirement to redirect any URL pattern of /prweb/ to PRWebLDAP2 .
Kindly let us know how to acheive the same by updating web.xml file.
TechMahindra
IN
Any update how to update web.xml file for disabling PRServlet and the request to be routed to PRWebLDAP2 ?