[rt-users] Running RT at /rt rather than / with Nginx
François Meehan
fmeehan at vuwall.com
Mon Feb 29 17:14:31 EST 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20160229/c37a2660/attachment.htm>
More information about the rt-users
mailing list