Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-501

Redirections HTTP infini si les sites ne sont pas configurés et que le navigateur n'est pas supporté

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.9.0
    • 2.9.0
    • None
    • None

      Dans ce cas nous avons les requêtes suivantes :

      http://localhost:8080/sciencespo/
      
      GET /sciencespo/ HTTP/1.1
      Host: localhost:8080
      User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
      Accept-Language: fr-fr,fr;q=0.8,en-us;q=0.5,en;q=0.3
      Accept-Encoding: gzip,deflate
      Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
      Keep-Alive: 300
      Connection: keep-alive
      Cookie: JSESSIONID=tb9kckhedldf
      
      HTTP/1.x 302 Found
      X-Cocoon-Version: 2.1.10
      Location: http://localhost:8080/sciencespo/_admin/_plugins/anycontent/sites/load-sites-configuration.html?uri=anycontent/sites/list.html
      Content-Length: 0
      Server: Jetty(6.1.6)
      
      ----------------------------------------------------------
      
      http://localhost:8080/sciencespo/_admin/_plugins/anycontent/sites/load-sites-configuration.html?uri=anycontent/sites/list.html
      
      GET /sciencespo/_admin/_plugins/anycontent/sites/load-sites-configuration.html?uri=anycontent/sites/list.html HTTP/1.1
      Host: localhost:8080
      User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
      Accept-Language: fr-fr,fr;q=0.8,en-us;q=0.5,en;q=0.3
      Accept-Encoding: gzip,deflate
      Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
      Keep-Alive: 300
      Connection: keep-alive
      Cookie: JSESSIONID=tb9kckhedldf
      Authorization: Basic YWRtaW46YWRtaW4=
      
      HTTP/1.x 200 OK
      X-Cocoon-Version: 2.1.10
      Content-Type: text/html
      Content-Length: 7143
      Server: Jetty(6.1.6)
      ----------------------------------------------------------
      http://localhost:8080/sciencespo/_admin/public/navigator.html
      
      GET /sciencespo/_admin/public/navigator.html HTTP/1.1
      Host: localhost:8080
      User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
      Accept-Language: fr-fr,fr;q=0.8,en-us;q=0.5,en;q=0.3
      Accept-Encoding: gzip,deflate
      Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
      Keep-Alive: 300
      Connection: keep-alive
      Referer: http://localhost:8080/sciencespo/_admin/_plugins/anycontent/sites/load-sites-configuration.html?uri=anycontent/sites/list.html
      Cookie: JSESSIONID=tb9kckhedldf
      
      HTTP/1.x 302 Found
      X-Cocoon-Version: 2.1.10
      Location: http://localhost:8080/sciencespo/_admin/_plugins/anycontent/sites/load-sites-configuration.html?uri=anycontent/sites/list.html
      Content-Length: 0
      Server: Jetty(6.1.6)
      

      La raison est que le composant InitContextHandler qui ne laisse pas passer les URLs configurés dans runtime.xml (en l'ocurrence _admin/public).

            yabon Sébastien Launay (Inactive)
            yabon Sébastien Launay (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: