Score:0

OHS ProxyPass returning a 403

lc flag

I've setup an OHS server (managed by me) to be used to proxy requests to another server (not managed by me).

As of right now, the relevant part of the OHS server's virtual_hosts.conf looks like this:

<IfModule mod_proxy.c>

SSLProxyEngine On
ProxyPassMatch ^/home/page(.*)$ https://external-website.cloudfront.net/$1
ProxyPassReverse ^/home/page(.*)$ https://external-website.cloudfront.net/$1
ProxyPreserveHost On 
ProxyRequests off
SSLProxyProtocol ALL
SSLProxyCipherSuite HIGH:MEDIUM:!NULL:+SHA1
SSLProxyWallet /path/to/orapki/wallet

</IfModule>

The requests coming to https://www.my-page.com/home/page seem to be redirecting to https://external-website.cloudfront.net/, however I'm seeing the following page when accessing it:

403error

This is clearly an error being thrown by the end server.

My question is, would this error be thrown because I'm not proxying the requests correctly, or because the end-server hasn't been configured to accept proxy requests? I wanted to be sure everything was ok on my end before contacting the server administrator at the end server.

As an additional piece of information, I've added the SSL certificates from the end-server website to the orapki wallet.

Thanks and happy holidays.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.