You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Raymond <su...@bigriverinfotech.com> on 2004/03/26 22:08:44 UTC
[users@httpd] mod_proxy and Squid Problems
Utilizing httpd-2.0.48.1 on FC1.
Can't get mod_proxy to talk to Squid.
httpd.conf configuration.
...
<VirtualHost _default_:8080>
ServerName proxy.XXX.com
ServerAlias proxy
ErrorLog /home/applog/httpd-proxy-error.log
CustomLog /home/applog/httpd-proxy-access.log combined
<IfModule mod_proxy.c>
ProxyRequests On
ProxyRemote * http://127.0.0.1:3128
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<IfModule mod_disk_cache.c>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
CacheSize 32768
CacheDirLevels 5
CacheDirLength 3
</IfModule>
</IfModule>
...
The squid proxy is functioning; proxy localhost:3128 or 127.0.0.1:3128 in the
browser config works without problem.
Currently utilizing a reverse proxy Virtualhost on port 80 that ProxyPass's to
a localhosted Virtualhost on port 82 without problem; Virtualhost:80 utilizes
mod_mem_cache.c in lieu of a disk cache.
So, I can get reverse proxying to work but not forward proxy to Squid.
Advise please.
Raymond
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org