Search squid archive

Re: Squid as reverse proxy - Access denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I followed the steps to subscribe to the mailing list incorrectly and this
post was denied. I hope this is a proper way to re-send for consideration.
Thank you.



juan_fla wrote
> I have been searching for a solution to my problem, but some of the
> specifics seem to be a little too specific.
> 
> Squid 3.3.8, MediaWiki, Apache on a FreeBSD 6.2. What we are trying to do
> is cache on the MediaWiki pages.
> 
> Web server is listening to port 3130. Squid is on 3129.
> 
> Trying to browse the homepage ( http://mydomain.org - not the real domain)
> results in: 
> 
> ERROR
> The requested URL could not be retrieved
> The following error was encountered while trying to retrieve the URL:
> http://localhost:3129/index.html
> Access Denied.
> Access control configuration prevents your request from being allowed at
> this time. Please contact your service provider if you feel this is
> incorrect.
> Your cache administrator is webmaster.
> 
> However, adding the Squid port number does work - the response is the
> homepage ( http://mydomain.org:3129/ )
> 
> 
> Squid.conf:
> 
> 
> http_port 3129 accel defaultsite=mydomain.org
> cache_peer 127.0.0.1 parent 3130 0 no-query originserver  name=myAccel
> login=PASS
> acl our_sites dstdomain mydomain.org
> 
> http_access allow our_sites
> cache_peer_access myAccel allow our_sites
> cache_peer_access myAccel deny all
> 
> cache_dir ufs /home/mydomain/website/webroot/cache/squid 100 16 256
> coredump_dir /home/mydomain/opt/squid/var/cache/squid
> 
> refresh_pattern ^ftp:		1440	20%	10080
> refresh_pattern ^gopher:	1440	0%	1440
> refresh_pattern -i (/cgi-bin/|\?) 0	0%	0
> refresh_pattern .		0	20%	4320
> 
> visible_hostname mydomain.org
>  
> 
> I've tried adding references to port 80 but so far nothing has worked.
> 
> I will sincerely appreciate any suggestions. We have had the website down
> for two months now trying to get Squid working :(
> 
> Thank you.





--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-as-reverse-proxy-Access-denied-tp4662671p4662696.html
Sent from the Squid - Users mailing list archive at Nabble.com.




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux