Re: Broken link emails

2011-02-19 Thread pjrhar...@gmail.com
I realised the second question is answered here:

http://docs.webfaction.com/software/django/troubleshooting.html#accessing-remote-addr

which is a middleware that was removed a while back.

The first bit of my question still stands though!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Broken link emails

2011-02-18 Thread Peter Harley
Hi all,

I recently turned on the broken link emails setting on my site, and
I've got a couple that really confused me.

I assume these emails get sent to me when a user gets a 404, and the
referrer is internal. But here is one example I got:

Referrer: 
http://www.example.com/photos/gallery/singapore-malaysia-and-thailand/wat-phra-mahathat-3/
Requested URL: 
/photos/gallery/singapore-malaysia-and-thailand/wat-phra-mahathat-3/#submitted
User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
IP address: 127.0.0.1

As far as I can tell, the URL is identical to the referrer (which is a
valid page), except the anchor, which I thought the server doesn't
care about (I didn't even think the server got sent the anchor?)

On that page, the reference to that address is in a forms submit
target - the idea being that users will be taken straight back to the
form if validation fails, rather than the top of the page.

Could this be an IE bug (all the emails have had that user agent) that
is handling the forms target incorrectly, or is that just not
something you're supposed to do?

On a slightly related note, could any webfaction customers (or anyone
else) shed any light on how I would  stop all of requests from
appearing to be internal? Notice the IP address there - I guess it's
because of the webfaction set up of nginx proxying for apache. Anyone
know any config changes I can make? All my comments have that as the
users IP too, which isn't ideal.

Any light you could shed on this would be great!

Peter

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Problem with broken link emails

2008-07-09 Thread Norman Harman

HenrikG wrote:
> Hi!
> 
> I have a problem with email-reports of "Broken INTERNAL link" that
> doesn't seem correct. For example this one:
> 
> Referrer: http://www.teamxstream.se/
> Requested URL: /star_empty.gif
> 
> When I access the referrer page, I get no error message myself and in
> the source there are only occurrences of "star_empty.gif" like this:
> 
> 
> I've had many similar issues that just seem wrong. I'm running Ubuntu
> with Apache 2.2, PostgreSQL 8.1 and Django development version.

Curious.

I would strip out or disable all your javascript and if the 
/start_empty.gif requests stop you know the problem is in there somewhere.

Is Apache doing any redirects?  Look in it's conf files.  Also worth a 
look at Apache's logs to find out more about exactly when and from were 
the /star_empty.gif request occurs.  Can't always believe emails ya know ;)



-- 
Norman J. Harman Jr.
Senior Web Specialist, Austin American-Statesman
___
You've got fun!  Check out Austin360.com for all the entertainment
info you need to live it up in the big city!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Problem with broken link emails

2008-07-09 Thread HenrikG

Hi!

I have a problem with email-reports of "Broken INTERNAL link" that
doesn't seem correct. For example this one:

Referrer: http://www.teamxstream.se/
Requested URL: /star_empty.gif

When I access the referrer page, I get no error message myself and in
the source there are only occurrences of "star_empty.gif" like this:


I've had many similar issues that just seem wrong. I'm running Ubuntu
with Apache 2.2, PostgreSQL 8.1 and Django development version.

All help appreciated!
/Henrik
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---