stelgenkamp Super Contributor.
Super Contributor.

Re: Need help with vhost or reverseproxy setup

I have kept fiddling around, but found it could not be in the Firewall settings of the Appliance.
Because the 403 page Access Denied was from the proxy server.
Then I tried googling the 403 in combination with AJP.
I tried manipulating the conf file and have come up with a version that works :
<Location /filr>
Options +FollowSymLinks
RewriteEngine On
RewriteRule (.*) https://%{HTTP_HOST}/ssf/a [QSA,R]
Order allow,deny
Allow from all

<Location /ssf>
Order allow,deny
Allow from all
RewriteEngine On
Rewritecond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}/%{REQUEST_URI} [QSA,R]
ProxyPass ajp://
ProxyPassReverse ajp://

So with adding allow,deny it works !
BUT is this ok ? Or am I leaving my system doors wide open ?
I have also seen versions with allow from localhost
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.