[rt-users] Running RT at /rt rather than / with Nginx
Frank Wissink
frank.wissink at gmail.com
Thu Mar 3 00:19:23 EST 2016
Hi,
I know that problem I had this on my installation althoug.
To resolve that Problem I changed the Login template. In that template you have to add the suburl. In your case /rt to the submit function.
> Am 29.02.2016 um 23:14 schrieb François Meehan <fmeehan at vuwall.com>:
>
> 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/6e693c15/attachment.htm>
More information about the rt-users
mailing list