Help with HTML validation

Discussion in 'HTML & Website Design' started by lbordea, Oct 20, 2005.

  1. #1
    Hy everybody

    I have a problem. When i want to validate my new site www.editiaspeciala.com in w3.org it says that it is an error: 302 moved.
    My default file is default.asp. Why do i get that error?
     
    lbordea, Oct 20, 2005 IP
  2. Nick Vanderhoven

    Nick Vanderhoven Peon

    Messages:
    26
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    because there is a redirect (302, not permanent), check you .htaccess and your default.asp i suggest
     
    Nick Vanderhoven, Oct 20, 2005 IP
  3. lbordea

    lbordea Peon

    Messages:
    74
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    My hosting company said that they don't use .htaccess and i don't have redirects in my default.asp. What should i look after in my asp? i don't get it.
    pls help.
     
    lbordea, Oct 25, 2005 IP
  4. wrmineo

    wrmineo Peon

    Messages:
    3,087
    Likes Received:
    379
    Best Answers:
    0
    Trophy Points:
    0
    #4
    wrmineo, Oct 25, 2005 IP
  5. Nick Vanderhoven

    Nick Vanderhoven Peon

    Messages:
    26
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You ask where to look. Well. Here's the reply from your site:

    Request

    GET / HTTP/1.0
    Host: www.editiaspeciala.com
    User-Agent: Incutio HttpClient v0.9
    Accept: text/xml,application/xml,application/xhtml+xml,text/html,text/plain,image/png,image/jpeg,image/gif,*/*
    Accept-encoding: gzip
    Accept-language: en-us
    Code (markup):

    HTTP/1.1 302 Object moved

    Received Headers:

    Array
    (
        [connection] => close
        [date] => Wed, 26 Oct 2005 12:02:32 GMT
        [server] => Microsoft-IIS/6.0
        [x-powered-by] => ASP.NET
        [microsoftofficewebserver] => 5.0_Pub
        [location] => default.asp
        [content-length] => 132
        [content-type] => text/html
        [set-cookie] => Array
            (
                [0] => WWWES=strBgImage1=images%2Ftable%5Fbg%5Fimage2%2Ejpg&SStil=v2%2Ecss; path=/
                [1] => ASPSESSIONIDQSSTADCT=ELHLOMKDDHDGHFGBPPNDBEOK; path=/
            )
    
        [cache-control] => private
    )
    Code (markup):
    So you have IIS, ASP.NET.

    Now it's to you to look on the web to look how that redirect comes in iis/asp.net. I have these example resources for you:

    http://www.webconfs.com/how-to-redirect-a-webpage.php
    http://www.somacon.com/p145.php

    The last is maybe interesting (although you said you hadn't anything in your default.asp) :

    Hope that helps,

    Good luck

    ps: if it works, give me some credit for it ;)
     
    Nick Vanderhoven, Oct 26, 2005 IP
    wrmineo likes this.
  6. lbordea

    lbordea Peon

    Messages:
    74
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Nick Vanderhoven, i was so stupid! i completely forgot of global.asa :) i had a redirect right there written a long time ago (a redirect to default.asp)!
    my bad! :)
    thank you guys for your suppport!
     
    lbordea, Oct 31, 2005 IP
  7. wrmineo

    wrmineo Peon

    Messages:
    3,087
    Likes Received:
    379
    Best Answers:
    0
    Trophy Points:
    0
    #7
    lbordea - glad it worked out for you.

    Kudos to Vanderhoven!
     
    wrmineo, Oct 31, 2005 IP