Forum Moderators: phranque

Message Too Old, No Replies

Need help troubleshooting a possible apache problem

Concerns w3c validator being blocked

         

runner

3:50 pm on Feb 1, 2005 (gmt 0)

10+ Year Member



About ten days ago the w3c html validation service stopped working on my web pages. If you aren't faliliar with it... you go to the w3c validation home page and type in your URL. It fetches your web page and analyzes it and reports any errors.

I did a google search on this problem and found two other people that had the same problem, all about the time mine started. On a hunch, I looked up the URL they were trying to validate and by golly, we're all using the same hosting company! What a coincidence.

What happens is that the w3c server tries to fetch the URL you typed in, but my web server returns a reidrect to localhost instead. So the validation service ends up analyzing it's own web page instead of mine.

On the w3c mailing list some guy said that it's caused by the hosting company blocking certian bots and the w3c validator service is inadvertently being blocked.

I sent a ticket to my hosting company and they basically told me to buzz off. They said this falls under web design and they don't do web design. Now I'm mad as... well I can't say that word.

Does anybody know where in apache this sort of block would be placed? Or would this be a firewall issue? If this really is an apache problem, I'm going to have to solve it for them.

jdMorgan

5:13 pm on Feb 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It sounds like your host is blocking W3C either by user-agent or by IP address/IP range. You'll need to get these two parameters before you can tell them what to look for. If you have access to another site on another host, then validate a page on that host, and then look in the raw server logs to capture this information.

If you have access to your own archived raw server logs, you could get the information there from your last successful validation run.

Then you can ask your host to create an exception for that IP and/or that user-agent in their block list.

If your host is returning an actual redirect response rather than simply black-holing the W3C request, it sounds like they're doing this in Apache httpd.conf using mod_rewrite.

Jim

runner

5:48 pm on Feb 1, 2005 (gmt 0)

10+ Year Member



Thanks for the info. I have access to my apache logs so I will cut and paste an entry for them. Now that I know which direction to go I have to fight with the support team to get this to an sys admin. For your enjoyment I have included their response below, names omitted...

Thank you for contacting ********* Technical Support.
I apologize for any inconvenience. ********* is primarily a web hosting company. We do not have the resources to assist with web design or web programming. Your request falls under those categories. Please contact a web designer or programmer for additional assistance.

runner

6:44 pm on Feb 1, 2005 (gmt 0)

10+ Year Member



Thank you jdMorgan... I took the information you gave me and finally got it to a sys admin. He fixed the problem immediately. Where do I send the check?

jdMorgan

7:32 pm on Feb 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Here [webmasterworld.com]? :)

Jim