Help - Search - Members - Calendar
Full Version: odd www issues
The Planet Forums > System Administration > Network
smoker
Hi,
Here's a thing.
I wrote a short perl script that parses the $ENV{REMOTE_ADDR} of a request and returns an xml file suitable for an rss reader or firefox live bookmark. The address is "http://www.headru.sh/cgi-bin/myIPrss.pl"
It has stopped responding. However, if I remove the www. it works fine. Other scripts in the same directory work fine with www. at the front, as do standard documents in non-cgi-bin directories.
So why is this one script failing ? It isn't the script failing as it appears that it never receives the request, and besides which it wouldn't work if you remove the www. which it does quite happily.
I have restarted apache, I have restarted BIND, but still no joy. Definitely something I would like to get to the bottom of. I have edited the link in my /. sig to remove the www. so that the link is now working, but how long will that last before it stops ?
Enquiring mind needs to know ...
Here are some other points -
I thought maybe /. had got into my dns blacklist which was blocking requests - not so, as it works from /. if I remove the www.
I also tried typing the address into the URL bar, but still no joy until I remove the www.
Another script I tried was perldiver, which is quite an intensive script and it runs fine with or without the www in front.
The live bookmark I had running on my browser stopped updating. I had to delete it and recreate a new one linked minus the www - now it works again.
The default refresh time for live bookmarks appears to be 1 hour, so I have hardly been hammering the script, and besides, it works minus the www.
I also restarted my router just in case it was a local issue, no change.

Am I to believe that there is an access table or list created by apache, that is now full because the script got slashdotted ? If so surely an httpd restart should clear that away. Similar for BIND.
I go away now to hunt mega-logfiles but I don't believe I'll find any. Please if you have a clue, leave a comment. Final thought, could it be my ISP seeing hourly updates as abusive ? I hope not for their sake. Please try the link and report whether you get through.

http://www.headru.sh/cgi-bin/myIPrss.pl

or

http://headru.sh/cgi-bin/myIPrss.pl

Cheers for your help.

Alan
smoker
Hi again,

sheepish blush.gif

The one thing I didn't try was restarting my browser. Did that, and it all works again. Why it failed I don't know, but it could prove to be a hindrance for my project.
More testing needed ....
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.