Moinsen!
Wieso erstellst Du nicht 2 vhosts.
Einen für Port 80 mit dem normalen Krams drauf und einen vhost auf
port 443 SSL stuff und dem Proxy.

in dem 80er vhost kannst Du das ja dann ausstellen mit ProxyRequests On


Gruß
Mario

2009/11/29 Michael Renner <michael.ren...@gmx.de>:
> Moin,
>
> ein apache 2.2.9 soll nur als Proxyserver funktionieren, wenn er via https
> angesprochen wird. Lösen wollte ich es mit SetEnvIf auf die Servervariable
> https. Klappt aber nicht :-( Er funktioniert auch als Proxy, wenn
> unverschlüsselt auf Port 80 zugegriffen wird:
>
> <IfModule mod_proxy.c>
>        SetEnvIf X-Proxy ^red useProxy
>        SetEnvIf %{ENV:HTTPS} ^off useProxy=0
>        ProxyRequests On
>        <Proxy *>
>                AddDefaultCharset off
>                Order deny,allow
>                Deny from all
>                Allow from env=useProxy
>        </Proxy>
>        RequestHeader Unset X-Proxy
> </IfModule>
>
> Hat jemand eine Idee?
> Danke
> --
> |Michael Renner      E-mail: michael.ren...@gmx.de  |
> |D-81541 Munich      Germany        ICQ: #112280325 |
> |Germany             Don't drink as root!      ESC:wq
>
> --------------------------------------------------------------------------
>                Apache HTTP Server Mailing List "users-de"
>      unsubscribe-Anfragen an users-de-unsubscr...@httpd.apache.org
>           sonstige Anfragen an users-de-h...@httpd.apache.org
> --------------------------------------------------------------------------
>
>

--------------------------------------------------------------------------
                Apache HTTP Server Mailing List "users-de"
      unsubscribe-Anfragen an users-de-unsubscr...@httpd.apache.org
           sonstige Anfragen an users-de-h...@httpd.apache.org
--------------------------------------------------------------------------

Antwort per Email an