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

incorrect URL of resources when using a reverse proxy

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Invalid
    • None
    • 3.7
    • None
    • None

    Description

      We are using:

      • Reverse proxy on server (wwwdev.....)
      • usual configuration Apache - Tomcat on another server where Apache as
         ServerName wwwdev.....
                ServerAlias wwwdev2.....
        

      In the site configuration we set as primary url wwwdev.... and as secondary URL wwwdev2....

      But in the HTML code generated by Ametys we have both URLS (demo skin)

      --></style><!--[if IE 6]><link rel="stylesheet" href="http://wwwdev2.univ-st-etienne.fr/skins/ustetienne/resources/css/ametys.ie6.css" type="text/css" /><![endif]--><!--[if IE 7]><link rel="stylesheet" href="http://wwwdev.univ-st-etienne.fr/skins/ustetienne/resources/css/ametys.ie7.css/" type="text/css" /><![endif]--><link type="text/css" href="http://wwwdev2.univ-st-etienne.fr/skins/ustetienne/resources/css/custom.css" rel="stylesheet" /><link media="print" href="http://wwwdev2.univ-st-etienne.fr/skins/ustetienne/resources/css/print.css" type="text/css" rel="stylesheet" /><link media="handheld" href="http://wwwdev2.univ-st-etienne.fr/skins/ustetienne/resources/css/ametys.mobile.css" type="text/css" rel="stylesheet" /><link media="screen,handheld" href="http://wwwdev2.univ-st-etienne.fr/skins/ustetienne/resources/css/page-subscription.css" type="text/css" rel="stylesheet" /><link media="screen,handheld" href="http://wwwdev2.univ-st-etienne.fr/skins/ustetienne/resources/css/sendmail.css" type="text/css" rel="stylesheet" /><link media="screen,print,handheld" href="http://wwwdev.univ-st-etienne.fr/skins/
      ustetienne/resources/css/form.css" type="text/css" rel="stylesheet" /><link media="screen,print,handheld" href="http://wwwdev2.univ-st-etienne.fr/skins/ustetienne/resources/css/jqtransform.css" type="text/css" rel="stylesheet" /><link href="http://wwwdev2.univ-st-etienne.fr/skins/ustetienne/templates/index/resources/css/index.css" type="text/css" rel="stylesheet" /><link href="/_plugins/web/www/fr/filter/events/rss.xml" title="Flux RSS des actualit&eacute;s du site Ametys, CMS Java Open Source" type="application/rss+xml" rel="alternate" <
      span>/><link href="/_plugins/web/www/fr/filter/org.ametys.web.article.RSS/rss.xml" title="Flux RSS des articles du site Ametys, CMS Java Open Source" type="application/rss+xml" rel="alternate" /><script src="http://wwwdev2.univ-st-etienne.fr/skins/ustetienne/resources/js/ametys.js" type="text/javascript"></script><script type="text/javascript"><!--
      
         					_artStyleUrlCached = "http://wwwdev.univ-st-etienne.fr/skins/ustetienne/resources/";
         					contextPath = ""; 
         				
      --></script><script src="http://wwwdev2.univ-st-etienne.fr/skins/ustetienne/resources/js/jquery.jqtransform.js" type="text/javascript"></script><script type="text/javascript"><!--
      
         					$j(function() {
      					    //find all form with class jqtransform and apply the....
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            fravetier Frederic Ravetier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: