[rt-users] Running RT at /rt rather than / with Nginx

Frank Wissink frank.wissink at gmail.com
Thu Mar 3 01:36:36 EST 2016


I checked what i have changed.

I copied the Login template to /opt/rt4/local/html/Elements and than
changed this line from

<input type="hidden" name="next" value="<% $next %>" />

to

<input type="hidden" name="next" value="/rt/<% $next %>" />

On Mon, Feb 29, 2016 at 11:14 PM, François Meehan <fmeehan at vuwall.com>
wrote:

> Hi all,
>
>
> I am trying to change the location of our RT server to access it at
> http://mysite.com/rt instead of http://mysite.com.
>
>
> We are using NGINX and I followed instructions from the documentation,
> namely, we changed the default file content of sites-enabled to:
>
>
> server {
>
>         listen 80;
>
>         server_name mysite.com;
>
>         access_log  /var/log/nginx/access.log;
>
>
>         location /rt {
>
>             fastcgi_param  QUERY_STRING       $query_string;
>
>             fastcgi_param  REQUEST_METHOD     $request_method;
>
>             fastcgi_param  CONTENT_TYPE       $content_type;
>
>             fastcgi_param  CONTENT_LENGTH     $content_length;
>
>
>             fastcgi_param  SCRIPT_NAME        "";
>
>             fastcgi_param  PATH_INFO          $uri;
>
>             fastcgi_param  REQUEST_URI        $request_uri;
>
>             fastcgi_param  DOCUMENT_URI       $document_uri;
>
>             fastcgi_param  DOCUMENT_ROOT      $document_root;
>
>             fastcgi_param  SERVER_PROTOCOL    $server_protocol;
>
>
>             fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
>
>             fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;
>
>
>             fastcgi_param  REMOTE_ADDR        $remote_addr;
>
>             fastcgi_param  REMOTE_PORT        $remote_port;
>
>             fastcgi_param  SERVER_ADDR        $server_addr;
>
>             fastcgi_param  SERVER_PORT        $server_port;
>
>             fastcgi_param  SERVER_NAME        $server_name;
>
>             fastcgi_pass 127.0.0.1:9000;
>
>         }
>
>     }
>
>
> and in Site_Config.pm we put the following:
>
>
> Set($WebPath, "/rt");
>
> Set($WebBaseURL, 'http://mysite.com');
>
>
> When trying to access the site we get the following error  “Too many
> redirect occurred trying to open http://mysite.com/rt/NoAuth/Login.html?”
>
>
>
> Any ideas?
>
>
> Thanks in advance,
>
> --
>
> *François MEEHAN*
> Technical Support | Support Technique
> *VuWall Technology, Inc.*
>
>
> *Tel:* +1 514-505-4436
> *Skype:* VuWall-Support
>
> ---------
> RT 4.4 and RTIR Training Sessions (
> http://bestpractical.com/services/training.html)
> * Hamburg Germany - March 14 & 15, 2016
> * Washington DC - May 23 & 24, 2016
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20160303/851ba88a/attachment.htm>


More information about the rt-users mailing list