Re: [squid-users] Images not loading: access denied?

2005-05-10 Thread Henrik Nordstrom

On Sat, 7 May 2005, Evan Roth wrote:
Hello,
I've got a very strange issue going on.  For example, when i go to 
http://daveslongbox.blogspot.com/2005/05/force-works-3-marvel-comics-1994.html, 
i'm losing some of the images (sporadically on and off).  Thus, 
http://photos1.blogger.com/img/198/4480/400/force%20works%20cover.jpg does 
not load...and when i select to 'view the image' directly in firefox, i'm 
given an error message back from squid:

While trying to retrieve the URL: 
http://127.0.0.1:8000/img/198/4480/400/force%20works%20cover.jpg
Are you perhaps using a redirector?
What did access.log say?
Regards
Henrik


Re: [squid-users] Images not loading: access denied?

2005-05-10 Thread Evan Roth
Hi there,
thanks for the reply.  no redirector in use.  if i disable the proxy in 
the browser settings, the pictures will load.  in access.log, i've got 
the following:
1115741495.718  8 192.168.0.101 TCP_NEGATIVE_HIT/403 1438 GET 
http://photos1.blogger.com/img/198/4480/400/Walker.jpg - NONE/- text/html

which corresponds to the image at 
http://daveslongbox.blogspot.com/2005/05/mark-v-ewok-crusher.html

Thanks again for the help...
Evan
Henrik Nordstrom wrote:

On Sat, 7 May 2005, Evan Roth wrote:
Hello,
I've got a very strange issue going on.  For example, when i go to 
http://daveslongbox.blogspot.com/2005/05/force-works-3-marvel-comics-1994.html, 
i'm losing some of the images (sporadically on and off).  Thus, 
http://photos1.blogger.com/img/198/4480/400/force%20works%20cover.jpg 
does not load...and when i select to 'view the image' directly in 
firefox, i'm given an error message back from squid:

While trying to retrieve the URL: 
http://127.0.0.1:8000/img/198/4480/400/force%20works%20cover.jpg

Are you perhaps using a redirector?
What did access.log say?
Regards
Henrik


Re: [squid-users] Images not loading: access denied?

2005-05-10 Thread Henrik Nordstrom

On Tue, 10 May 2005, Evan Roth wrote:
Hi there,
thanks for the reply.  no redirector in use.  if i disable the proxy in the 
browser settings, the pictures will load.  in access.log, i've got the 
following:
1115741495.718  8 192.168.0.101 TCP_NEGATIVE_HIT/403 1438 GET 
http://photos1.blogger.com/img/198/4480/400/Walker.jpg - NONE/- text/html
This is not the same image as you reported the problem on before..
Key question: Does access.log report the same strange URL as you see in 
the error message?

If not, what entries in access.log is there which could be for that image? 
Is there perhaps more than one?

Regards
Henrik


Re: [squid-users] Images not loading: access denied?

2005-05-10 Thread Evan Roth
Hi again,
it's regardless which image i choose...i can go back to the original if 
you prefer.  both are showing up the same in access.log, with the 
correct URL.
I've only been able to reproduce this thus far from blogger.com.

Thanks,
Evan
Henrik Nordstrom wrote:

On Tue, 10 May 2005, Evan Roth wrote:
Hi there,
thanks for the reply.  no redirector in use.  if i disable the proxy 
in the browser settings, the pictures will load.  in access.log, i've 
got the following:
1115741495.718  8 192.168.0.101 TCP_NEGATIVE_HIT/403 1438 GET 
http://photos1.blogger.com/img/198/4480/400/Walker.jpg - NONE/- 
text/html

This is not the same image as you reported the problem on before..
Key question: Does access.log report the same strange URL as you see 
in the error message?

If not, what entries in access.log is there which could be for that 
image? Is there perhaps more than one?

Regards
Henrik


Re: [squid-users] Images not loading: access denied?

2005-05-10 Thread Henrik Nordstrom
On Tue, 10 May 2005, Evan Roth wrote:
it's regardless which image i choose...i can go back to the original if you 
prefer.  both are showing up the same in access.log, with the correct URL.
I've only been able to reproduce this thus far from blogger.com.
One last question:
Do you have any httpd_accel_* settings in your squid.conf?
Regards
Henrik


Re: [squid-users] Images not loading: access denied?

2005-05-10 Thread Evan Roth
nope...all httpd_accel_* parameters are left to default.
Best Regards,
Evan
Henrik Nordstrom wrote:
On Tue, 10 May 2005, Evan Roth wrote:
it's regardless which image i choose...i can go back to the original 
if you prefer.  both are showing up the same in access.log, with the 
correct URL.
I've only been able to reproduce this thus far from blogger.com.

One last question:
Do you have any httpd_accel_* settings in your squid.conf?
Regards
Henrik


[squid-users] Images not loading: access denied?

2005-05-07 Thread Evan Roth
Hello,
I've got a very strange issue going on.  For example, when i go to 
http://daveslongbox.blogspot.com/2005/05/force-works-3-marvel-comics-1994.html, 
i'm losing some of the images (sporadically on and off).  Thus, 
http://photos1.blogger.com/img/198/4480/400/force%20works%20cover.jpg 
does not load...and when i select to 'view the image' directly in 
firefox, i'm given an error message back from squid:

While trying to retrieve the URL: 
http://127.0.0.1:8000/img/198/4480/400/force%20works%20cover.jpg

The following error was encountered:
   * * 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.
This is very strange, as the URL itself points to localhost, port 8000?  
I'm on squid-2.5.9-r4 and the acl's (should be default stuff) out of 
squid.conf are as follows:
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80  # http
acl Safe_ports port 21  # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70  # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT

Any help is greatly appreciated.
Thanks,
Evan