<div dir="ltr">I checked what i have changed.<div><br></div><div>I copied the Login template to /opt/rt4/local/html/Elements and than changed this line from</div><div><br></div><div><input type="hidden" name="next" value="<% $next %>" /><br></div><div><br></div><div>to</div><div><br></div><div><input type="hidden" name="next" value="/rt/<% $next %>" /><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 29, 2016 at 11:14 PM, François Meehan <span dir="ltr"><<a href="mailto:fmeehan@vuwall.com" target="_blank">fmeehan@vuwall.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">Hi all, </p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69);min-height:14px"><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">I am trying to change the location of our RT server to access it at <a href="http://mysite.com/rt" target="_blank"><span style="color:rgb(228,175,9)">http://mysite.com/rt</span></a> instead of <a href="http://mysite.com" target="_blank"><span style="color:rgb(228,175,9)">http://mysite.com</span></a>.</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69);min-height:14px"><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">We are using NGINX and I followed instructions from the documentation, namely, we changed the default file content of sites-enabled to: </p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69);min-height:14px"><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">server {</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">        listen 80;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">        server_name <a href="http://mysite.com" target="_blank">mysite.com</a>;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">        access_log  /var/log/nginx/access.log;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69);min-height:14px"><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">        location /rt {</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  QUERY_STRING       $query_string;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  REQUEST_METHOD     $request_method;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  CONTENT_TYPE       $content_type;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  CONTENT_LENGTH     $content_length;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69);min-height:14px"><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  SCRIPT_NAME        "";</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  PATH_INFO          $uri;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  REQUEST_URI        $request_uri;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  DOCUMENT_URI       $document_uri;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  DOCUMENT_ROOT      $document_root;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  SERVER_PROTOCOL    $server_protocol;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69);min-height:14px"><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69);min-height:14px"><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  REMOTE_ADDR        $remote_addr;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  REMOTE_PORT        $remote_port;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  SERVER_ADDR        $server_addr;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  SERVER_PORT        $server_port;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_param  SERVER_NAME        $server_name;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">            fastcgi_pass <a href="http://127.0.0.1:9000" target="_blank">127.0.0.1:9000</a>;</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">        }</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">    }</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69);min-height:14px"><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">and in Site_Config.pm we put the following: </p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69);min-height:14px"><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">Set($WebPath, "/rt");</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">Set($WebBaseURL, '<a href="http://mysite.com" target="_blank">http://mysite.com</a>');</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69);min-height:14px"><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">When trying to access the site we get the following error  “Too many redirect occurred trying to open <a href="http://mysite.com/rt/NoAuth/Login.html?" target="_blank">http://mysite.com/rt/NoAuth/Login.html?</a>” </p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69);min-height:14px"><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69);min-height:14px"><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">Any ideas?</p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69);min-height:14px"><br></p>
<p style="margin:0px;font-size:12px;line-height:normal;font-family:Helvetica;color:rgb(69,69,69)">Thanks in advance, </p><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div><p><strong><font style="font-size:12pt">François MEEHAN</font></strong><br><font style="font-size:10pt">Technical Support | Support Technique</font><br><strong><font style="font-size:10pt">VuWall Technology, Inc.</font></strong><br><img src="http://vuwall.com/wp-content/uploads/2015/06/logo-s1.png" width="115" height="26"><br><br><strong>Tel:</strong> <a href="tel:%2B1%20514-505-4436" value="+15145054436" target="_blank">+1 514-505-4436</a><br><strong>Skype:</strong> VuWall-Support</p></div></div>
</font></span></div>
<br>---------<br>
RT 4.4 and RTIR Training Sessions (<a href="http://bestpractical.com/services/training.html" rel="noreferrer" target="_blank">http://bestpractical.com/services/training.html</a>)<br>
* Hamburg Germany - March 14 & 15, 2016<br>
* Washington DC - May 23 & 24, 2016<br></blockquote></div><br></div>