Thanks for the feedback guys: I was pretty sure that Apache was using the
correct config file, but just to be sure I started it with the -f option to
no avail. The access restrictions in the Directory section of the config
were on purpose, but I wasn't certain I'd done them correctly; commenting
them out and trying ProxyRequests Off had no effect, so one way or the
other I guess thats not my problem. It also doesn't appear to be any kind
of a problem with the machine pointed to by the ProxyPass, as a snoop shows
no traffic between the two machines to indicate that its even trying to
start the connection...
Any other ideas on how to get ProxyPass to work? Anyone?
- rob.
Alexandre wrote:
>I strongly suspect that your Apache-ssl is reading different
>httpd.conf than this one. Try starting it with -f option.
>Alexandre Pechtchanski, Systems Manager, RUH, NY
Victor wrote:
>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.
>
>
>