PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : squid & apache http accelator



maconey
05.08.02, 04:28
hi!

ich hab folgendes problem, ich hab apache auf 127.0.0.1:8888 laufen und squid auf port 0.0.0.0:80 + 192.168.1.1:8080

der http accelator funktioniert einwandfrei, soweit hab ichs hinbekommen.

nur wenn ich über den proxy versuche auf den apache zuzugreifen (telnet 192.168.1.1:8080 und GET http://192.168.1.1/ HTTP/1.0) bekomme ich ein access denied, obwohl ich über den proxy aus dem internen netz sonst überall hinkomm.

wo ist da der hund drin?

== schnippschnapp ===


httpd_accel_port 8888
httpd_accel_host 127.0.0.1
httpd_accel_single_host on
httpd_accel_with_proxy on

acl all src 0.0.0.0/0.0.0.0
acl alldst dst 0.0.0.0/0.0.0.0
acl apacheport port 8888
acl apache dst 127.0.0.1/32
acl acclhost dst 192.168.1.1/255.255.255.255
acl acclport port 80
acl lan src 192.168.1.0/255.255.255.0

http_access allow lan
http_access allow all apacheport apache
http_access allow all acclport acclhost
http_access deny all

== schnippschnapp ===

fehlermeldung is
While trying to retrieve the URL: http://127.0.0.1:8888/
* Access Denied.


achja, bei dem versuch habe ich squid als proxy, wenn ich direkt auf 192.168.1.1:80 zugreif (ohne proxy) funktionierts und wenn ich auf 127.0.0.1:8888 übern proxy zugreif geht auch, nur wenn ich 192.168.1.1:80 übern proxy will gehts nicht! aber alles andre im inet geht

ich bin etwas verwirrt
:ugly: