You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Robert S <ro...@gmail.com> on 2014/01/04 10:05:41 UTC
[users@httpd] How to run Windows Server through mod_proxy
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] How to run Windows Server through mod_proxy
Posted by Yehuda Katz <ye...@ymkatz.net>.
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@gmail.com
> 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@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: [users@httpd] How to run Windows Server through mod_proxy
Posted by jjhudak <jj...@gmail.com>.
I don't have a suggestion/solution to your question, sorry.
I am rather curious what aspects of WHS you like that would favor WHS over a Linux-based solution? We can take this off line so that the thread is not hijacked.
-john
> On Jan 4, 2014, at 4:05 AM, Robert S <ro...@gmail.com> 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@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org