Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old August 5th, 2005, 02:25 PM
dlsan
Guest
 
Posts: n/a
Default error(?) "302 Found" on Validator XHTML W3C

Hello to everybody.

I'm working in Italy on this website
http://www.fondazioneantonioruberti.it/ariene/
as css/xhtml/graphic designer in cooperation with a php programmer and
a ISP provider.
The site is still in test but i'm having no answer from
http://validator.w3.org/ except "302 found" for this page
http://www.fondazioneantonioruberti.it/ariene/
and also
http://www.fondazioneantonioruberti.it/ariene/index.php .

I've tried to follow these warnings
http://www.checkupdown.com/status/E302.html
and
http://www.w3.org/Protocols/rfc2616/...html#sec10.3.3

But i've no idea wher should be the problem, and the php programmer and
ISP seem to want to ignore these thread i've suggested to them (maybe
for problem with english? ).
Anyway, please, does somebody have solved in the past somthing similar?

Thanks in advance.

All the best.

Matteo - www.dlsan.org - www.mscreativestudio.com

  #2  
Old August 5th, 2005, 03:15 PM
Kim André Akerĝ
Guest
 
Posts: n/a
Default Re: error(?) "302 Found" on Validator XHTML W3C

dlsan wrote:
[color=blue]
> Hello to everybody.
>
> I'm working in Italy on this website
> http://www.fondazioneantonioruberti.it/ariene/
> as css/xhtml/graphic designer in cooperation with a php programmer and
> a ISP provider.
> The site is still in test but i'm having no answer from
> http://validator.w3.org/ except "302 found" for this page
> http://www.fondazioneantonioruberti.it/ariene/
> and also
> http://www.fondazioneantonioruberti.it/ariene/index.php .
>
> I've tried to follow these warnings
> http://www.checkupdown.com/status/E302.html
> and
> http://www.w3.org/Protocols/rfc2616/...html#sec10.3.3
>
> But i've no idea wher should be the problem, and the php programmer
> and ISP seem to want to ignore these thread i've suggested to them
> (maybe for problem with english? ).
> Anyway, please, does somebody have solved in the past somthing
> similar?[/color]

Fix your code, perhaps?

http://www.fondazioneantonioruberti.it/ariene/index.php
Loading this URL in Lynx show the following headers:
------------------------------------------------
HTTP/1.1 302 Found
Date: Fri, 05 Aug 2005 14:08:46 GMT
Server: Apache/1.3.23 (Unix) (Red-Hat/Linux) DAV/1.0.3 PHP/4.3.10
mod_perl/1.2
6
X-Powered-By: PHP/4.3.10
Set-Cookie: PHPSESSID=1405374a1fc50052b1679dfb83d9d687; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma: no-cache
Location: http://www.fondazioneantonioruberti.it/ariene/index.php
Connection: close
Content-Type: text/html
------------------------------------------------

In essence, http://www.fondazioneantonioruberti.it/ariene/index.php
tries to redirect to itself, something which would cause an endless
loop.

--
Kim André Akerĝ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
  #3  
Old August 5th, 2005, 03:25 PM
Harlan Messinger
Guest
 
Posts: n/a
Default Re: error(?) "302 Found" on Validator XHTML W3C

dlsan wrote:[color=blue]
> Hello to everybody.
>
> I'm working in Italy on this website
> http://www.fondazioneantonioruberti.it/ariene/
> as css/xhtml/graphic designer in cooperation with a php programmer and
> a ISP provider.
> The site is still in test but i'm having no answer from
> http://validator.w3.org/ except "302 found" for this page
> http://www.fondazioneantonioruberti.it/ariene/
> and also
> http://www.fondazioneantonioruberti.it/ariene/index.php .[/color]

Very strange, because I got the same result as you from the validator,
but I just requested the latter URL with the network monitor on, and the
request definitely came back with a 200 status.
  #4  
Old August 5th, 2005, 05:55 PM
dlsan
Guest
 
Posts: n/a
Default Re: error(?) "302 Found" on Validator XHTML W3C

Kim André Akerĝ wrote:
[color=blue]
> Fix your code, perhaps?
>
> http://www.fondazioneantonioruberti.it/ariene/index.php
> Loading this URL in Lynx show the following headers:[/color]
....[color=blue]
> ------------------------------------------------
>
> In essence, http://www.fondazioneantonioruberti.it/ariene/index.php
> tries to redirect to itself, something which would cause an endless
> loop.[/color]

Thanx!
Lynx, right.
It's just one step beyond.
We'll try to deepen this way.

Matteo

  #5  
Old August 5th, 2005, 08:35 PM
David Dorward
Guest
 
Posts: n/a
Default Re: error(?) "302 Found" on Validator XHTML W3C

dlsan wrote:
[color=blue]
> The site is still in test but i'm having no answer from
> http://validator.w3.org/ except "302 found" for this page
> http://www.fondazioneantonioruberti.it/ariene/[/color]

It looks like the PHP script tests for the presence of a cookie, if it isn't
found it tries to set it, then redirects the user back to the same page.

If the user agent doesn't support, or has disabled, cookies (and the Markup
Validator is such a user agent), then this ends up with an infinite loop.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles