Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
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!
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
TechMahindra
IN
Tried to disable the Web standard servlet mapping in the web.xml , but the application is not accessible.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689952000/d60743e7-ee25-42bd-ae6e-5e09b950efd7.jpg?itok=42aT1ehP)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689952000/d60743e7-ee25-42bd-ae6e-5e09b950efd7.jpg?itok=42aT1ehP)
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
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
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.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
TechMahindra
IN
It is Pega 7.1.7
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
IN
Then it should work. Please let me know how you are trying ?
http://vengwindb167:8282/prweb/ --> like this?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
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>
-->
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
TechMahindra
IN
we are using url as "https://hostname/prweb/xyz*/!STANDARD" as load balancer is in front.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
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?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
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.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
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.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689952000/d60743e7-ee25-42bd-ae6e-5e09b950efd7.jpg?itok=42aT1ehP)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689952000/d60743e7-ee25-42bd-ae6e-5e09b950efd7.jpg?itok=42aT1ehP)
Pegasystems Inc.
IN
Hello Vamsi,
Could you refer this post related to redirecting PRServlet to PRWebLDAP2. Does it meet your custom requirement?
Regards,
Rincy
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
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.
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
TechMahindra
IN
Any update how to update web.xml file for disabling PRServlet and the request to be routed to PRWebLDAP2 ?