You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-de@httpd.apache.org by "Schoof, Michael" <Mi...@BSHG.COM> on 2003/10/08 16:19:34 UTC

Apache als Proxy

Hallo Liste,
 
eine Frage zum Thema Apache als Proxy Server.
Gibt es einen Grund warum in verschiedenne Dokumentationen zur httpd.conf
die beiden unten aufgeführten Variationen zur Konfiguration von Apache als
Proxy auftauchen. 
Kennt jemand den Grund für die beiden unterschiedlichen Varianten ?
 
Und was hab ich vergessen, wenn der Apache weder in der einen noch in der
anderen Variante als Proxy die Clients aus dem Intranet ins Internet
weiterleitet ?
 
Mein Apache 2.036 läuft auf Windows XP.
Es funktioniert soweit alles im Intranet - bis auf die Verbindung ins
Internet.
 
Danke ud Gruß
 
Michael
 
 
<Proxy *>
Order deny,allow
Deny from all
Allow from internal.example.com
</Proxy> 
-----------------------------------------
    <Directory proxy:*>
        Order deny,allow
        Deny from all
        Allow from .your_domain.com
    </Directory>

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


Re: Apache als Proxy

Posted by Lars Eilebrecht <la...@hyperreal.org>.
According to Schoof, Michael:

> <Proxy *>
> Order deny,allow
> Deny from all
> Allow from internal.example.com
> </Proxy> 

Das ist Apache 2.x

> -----------------------------------------
>     <Directory proxy:*>
>         Order deny,allow
>         Deny from all
>         Allow from .your_domain.com
>     </Directory>

Das ist Apache 1.x


ciao...
-- 
Lars Eilebrecht          - You have the right to remain silent.  Anything
lars@hyperreal.org     - you say will be misquoted, then used against you.

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


Re: Apache als Proxy

Posted by Holger Schmidt <Ho...@zmd.de>.
Hallo Michael,

in dem <Proxy> Container steht ja nur wer auf den Proxy zugreifen darf. 
Zuvor muss er aber erstmal enabled werden:

ProxyRequests On

Das steht aber eigentlich auch in der Doku.

Holger

"Schoof, Michael" wrote:
> 
> Hallo Liste,
> 
> eine Frage zum Thema Apache als Proxy Server.
> Gibt es einen Grund warum in verschiedenne Dokumentationen zur httpd.conf
> die beiden unten aufgeführten Variationen zur Konfiguration von Apache als
> Proxy auftauchen.
> Kennt jemand den Grund für die beiden unterschiedlichen Varianten ?
> 
> Und was hab ich vergessen, wenn der Apache weder in der einen noch in der
> anderen Variante als Proxy die Clients aus dem Intranet ins Internet
> weiterleitet ?
> 
> Mein Apache 2.036 läuft auf Windows XP.
> Es funktioniert soweit alles im Intranet - bis auf die Verbindung ins
> Internet.
> 
> Danke ud Gruß
> 
> Michael
> 
> 
> <Proxy *>
> Order deny,allow
> Deny from all
> Allow from internal.example.com
> </Proxy>
> -----------------------------------------
>     <Directory proxy:*>
>         Order deny,allow
>         Deny from all
>         Allow from .your_domain.com
>     </Directory>
>

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