To Restrict Request_URI for "/server-status/pingFromApplicare" from url redirection with virtual host configuration in apache.

Community post

Shared by the Applicare community. It has not been re-checked against Applicare 10.0, so confirm the steps in your environment or contact Support.

1. Go to <ApacheServer_Home_Dir>/conf/extra and edit httpd-vhosts.conf file.

2. Add the RewriteCondition command inside all your needed <VirtualHost *:*> tags, one line before the "RewriteRule" command. Command:- "RewriteCond %{REQUEST_URI} !/server-status/pingFromApplicare"

For Example: <VirtualHost *:*> RewriteEngine on ProxyPreserveHost On RewriteCond %{REQUEST_URI} !/server-status/pingFromApplicare RewriteRule ^(.*)$ hostaddress:port </VirtualHost>

3. Restart Apache server.

Join the discussion

Comments, voting and following are kept by Zendesk and need a Help Center account. This button opens the original discussion there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support