|
From: <oh...@ya...> - 2019-06-27 01:08:53
|
Hi,
FYI, I just was able to test what I suggested, i.e., just using a simple <VirtualHost> with the proxypass/proxypassreverse and it does seem to work!
Jim
On Wednesday, June 26, 2019, 6:33:37 PM EDT, <oh...@ya...> wrote:
Hi,
I want to setup an Apache 2.2 instance as proxy for EJBCA OCSP Responder so that I can expose the responder endpoint path as "/". As suggested in an earlier thread, I was reviewing:
https://www.ejbca.org/docs/Setting_up_an_Apache_Web_Server_as_a_Proxy.html
I have built an Apache 2.2.34 from source and it is working all right.
Looking at the above page, I was wondering: If all I want to is to change the endpoint path so that it is "/", can I just implement the "URL Configuration" section at the end of that page, i.e. add a VirtualHost like:
<VirtualHost ocsp.company.com:80>
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://127.0.0.1:8080/ejbca/publicweb/status/ocsp
ProxyPassReverse / http://127.0.0.1:8080/ejbca/publicweb/status/ocsp
</VirtualHost>
Please advise.
Thanks,
Jim
P.S. BTW, the reason I am wanting to do the above, and skip the other parts, is that I tried the "bin/ejbca.sh ra" command that was described and that doesn't seem to be working anyway.
|