sysautomation
asked on
ProxyPass - Problem
Hi
I am creating a simple proxy pass in Apache 2.2 on CentOS 6 but that's not working and throwing error. I would be thankful if someone can please help:
Now when I call it as http://<MyHostName>/finApInvQuick InvoicesMo del/Invoic eInterface Service?ws dl it throws following error:
Whereas https://ecuo-test.fin.us2.oraclecloud.com/finApInvQuickInvoicesModel/InvoiceInterfaceService?wsdl works very fine.
Can you please help me fixing this?
I am creating a simple proxy pass in Apache 2.2 on CentOS 6 but that's not working and throwing error. I would be thankful if someone can please help:
SSLProxyEngine On
ProxyPass / https://ecuo-test.fin.us2.oraclecloud.com/
ProxyPassReverse / https://ecuo-test.fin.us2.oraclecloud.com/
Now when I call it as http://<MyHostName>/finApInvQuick
Invalid URL
The requested URL "http://%5bNo%20Host%5d/finApInvQuickInvoicesModel/InvoiceInterfaceService?", is invalid.
Reference #9.76fd241.1465372087.68aff0d
Whereas https://ecuo-test.fin.us2.oraclecloud.com/finApInvQuickInvoicesModel/InvoiceInterfaceService?wsdl works very fine.
Can you please help me fixing this?
ASKER
HTTPS://<my hostname>/. Is not a valid URL. Or <No Host>
It was just to explain. Of course I am putting my actual hostname without less than and greater than signs. I don't want to disclose my hostname in a public forum that's why I used that.
Proxypass and proxyreversepass have to be exactly opposite.
I have made it following but still very same issue.
SSLProxyEngine On
ProxyPass / https://ecuo-test.fin.us2.oraclecloud.com/
ProxyPassReverse https://ecuo-test.fin.us2.oraclecloud.com/ /
You have posted two separate items one indicating an error where the encoded URL seemed to be https://<no host>/...,
It is not clear to me what the issue is you are trying to address. The access to the URL you have displayed in the Proxypass according to you works.
Please clarify what URL is being used and what the configuration and the issue is.
It is not clear to me what the issue is you are trying to address. The access to the URL you have displayed in the Proxypass according to you works.
Please clarify what URL is being used and what the configuration and the issue is.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ProxyPreserveHost On was the problem
You have in slid characters in the request which got translated to their urlencodin.
HTTPS://<my hostname>/. Is not a valid URL. Or <No Host>
Check the entry to make sure it is correct.
You have to properly define the acceptable hostnames that match .....to be handled by the proxy/reverse proxy.