Re: [apache-ssl] How to make ProxyPass work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [apache-ssl] How to make ProxyPass work?



Try commenting out the Directory stuff. I think that is only used for caching
and this could be limiting access since only .unsw.edu.au would be allowed.
This might be what you want, I don't know (just wanted to point that out).
ProxyRequests off should still make ProxyPass work, however, try to set that to
on and see if there are any changes.

Victor

Rob Moser wrote:

> Hello All,
>
> I have a product that I'm trying to install that uses its own http
> web-server software as the interface.  I'd prefer to use https for security
> reasons, so I'm trying to set up Apache-ssl to field https requests and
> pass them through to the product, which is running on the same machine.  I
> compiled Apache-ssl with --enable-module=proxy, and have the following
> (excerpt) in my httpsd.conf:
>
> <Directory />
>         Options FollowSymLinks
>         AllowOverride None
> </Directory>
> <IfModule mod_proxy.c>
>     ProxyRequests Off
>     <Directory proxy:*>
>         Order deny,allow
>         Deny from all
>         Allow from .unsw.edu.au
>     </Directory>
>     ProxyPass / http://<localhost>:<otherport>/
>     ProxyPassReverse / http://<localhost>:<otherport>/
> </IfModule>
>
> The important lines are these last two: ProxyPass and ProxyPassReverse.
> Yet connecting to port 443 (the port Apache is listening on) on this
> machine just gets me to the default Apache "you have installed Apache but
> no content" page, without a whisper of complaint in the logs.  Does anyone
> know how to make this redirect happen?
>
>         - rob moser.