LinuxSA Mailing list archives
Index:
[thread]
[date]
[subject]
[author]
From: Adam Dixon <adix@feet.com.au>
To : Linux SA <linuxsa@linuxsa.org.au>
Date: Fri, 16 Jun 2000 20:21:12 +0930
Apache Proxy
Im having wierd troubles with apache proxy. I just compiled it. Im not sure
weather i needed /should have used a -- option to use the proxy. but.
Apache/1.3.12 Server
ive uncommented all the proxy section.
#Proxy Server directives. Uncomment the following lines to
# enable the proxy server:
#
<IfModule mod_proxy.c>
ProxyRequests On
<Directory proxy:*>
Order deny,allow
Deny from all
Allow from 192.168.100.*
</Directory>
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via:
headers)
# Set to one of: Off | On | Full | Block
ProxyVia On
# To enable the cache as well, edit and uncomment the following lines:
# (no cacheing without CacheRoot)
#
CacheRoot "/www/proxy"
CacheSize 5
CacheGcInterval 4
CacheMaxExpire 24
CacheLastModifiedFactor 0.1
CacheDefaultExpire 1
NoCache a_domain.com another_domain.edu joes.garage_sale.com
</IfModule>
# End of proxy directives.
That is what is set in my httpd.conf.
Ive set up a browser to look at the proxy on port 80. and, well it behaves
very queerly. It loads up the hosts webpage well (192.168.100.3) and when i
want to goto say, yahoo.com.au it does this.:::
192.168.100.2 - - [16/Jun/2000:20:16:29 +0930] "GET
http://my.dyndns.org/side.php HTTP/1.0" 200 3534
192.168.100.2 - - [16/Jun/2000:20:16:29 +0930] "GET
http://my.dyndns.org/main.php HTTP/1.0" 200 2796
#opening my webservers page...
192.168.100.2 - - [16/Jun/2000:20:16:40 +0930] "GET http://www.yahoo.com.au/
HTTP/1.0" 200 419
#requesting yahoo.com.au
192.168.100.2 - - [16/Jun/2000:20:16:40 +0930] "GET
http://www.yahoo.com.au/side.php HTTP/1.0" 200 3534
192.168.100.2 - - [16/Jun/2000:20:16:40 +0930] "GET
http://www.yahoo.com.au/main.php HTTP/1.0" 200 2796
# And it reopens my own webpage, but in the logs shows yahoo.com.au.... ?
If anyone could help me on this it would be greatly appriciated.
Adam
--
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject
Index:
[thread]
[date]
[subject]
[author]
Return to the LinuxSA Mailing List Information Page