Re: How to run Windows Server through mod_proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You might be better off removing the port number from the ProxyPass and, more importantly, the ProxyPassReverse.
Apache only rewrites matching URLs, and the links that your proxied server are creating probably do not include the port number.

- Y

On Sat, Jan 4, 2014 at 4:05 AM, Robert S <robert.spam.me.senseless@xxxxxxxxx> wrote:
I run a small office network which, do date, has a Windows XP machine
functioning as a file etc "server" and a Debian Linux machine running
Apache httpd as a web server. We intend to replace the XP machine with
some version of Windows Server (looking at WHS 2011 at the moment on a
trial basis). I would like to be able to continue running the Apache
server, but to allow web access to the WHS machine using apache
mod_proxy. I already have this working for several servers (etc.
usermin).

I've tried setting this up in my mod_proxy ssl config:

ProxyRequests off
SSLProxyEngine on
ProxyPass /whs/ https://192.168.0.28:443/
ProxyPassReverse /whs/ https://192.168.0.28:443/

When I enter https://mydomain.com.au/whs/ on an external computer I
get "Internet Explorer cannot display the webpage". If I try to access
this site within my network my browser redirects to
https://192.168.0.28/Remote/logon?ReturnUrl=%2fremote

Has anyone got this config working, or is there a recipe somewhere for this?

I really don't want to use IIS as my primary web server.

TIA.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux