PDA

View Full Version : I have over 10,000 302s in my logs?


pelagia
06-21-2010, 03:13 PM
Hi,

I have not set up and 302s, yet I see that there are over 10,000 in my logs for May?

What could cause this?

Thanks!

Jeff
06-21-2010, 03:56 PM
I'm sure someone from FutureQuest who can look at your account will answer momentarily.

Until then, is there a pattern of which files/directories exactly are producing the 302 moved message in your stats. You're not doing anything with .htaccess like setting a redirected www or non www ?

Kevin
06-21-2010, 04:02 PM
The domain name that we are talking about may prove useful in such a conversation.

pelagia
06-21-2010, 06:09 PM
Yes, I have many 301 redirects set up in .htaccess including non-www to www but they are 301 not 302.

artpromote.com is the domain

thanks :)

pelagia
06-23-2010, 03:57 PM
So does anyone know what causes all of the 302s? As I said I have NO 302s set up only 301s.

I looked in my access.today and I see stuff like this:

[23/Jun/2010:02:00:41 -0400] "GET /artists/imagesR/rachelCMelancholy.jpg HTTP/1.1" 302 303 "http://gabr.blogs4free.in/100422/p2/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4"
173.31.54.222

It looks like they are coming from other sites that are linking to images on my site?

Is that correct?

Terra
06-24-2010, 01:21 PM
The 302's are a result of your mod_rewrite rules...

e.g. - look in www/images/.htaccess, you are using the '[R]' flag...

From the Apache docs:
'redirect|R [=code]' (force redirect)
Prefix Substitution with http://thishost[:thisport]/ (which makes the new URL a URI) to force a external redirection. If no code is given a HTTP response of 302 (MOVED TEMPORARILY) is used. If you want to use other response codes in the range 300-400 just specify them as a number or use one of the following symbolic names: temp (default), permanent, seeother. Use it for rules which should canonicalize the URL and give it back to the client, e.g., translate ``/~'' into ``/u/'' or always append a slash to /u/user, etc.

pelagia
06-25-2010, 03:18 PM
Terra,

Thanks so much for your help! I very much appreciate it.