I have rt4 running quite well on an apache server. However, I think I got
a little carried away when I set it up. here’s my perl handler line from
apache.conf:
<Location />
Order allow,deny
Allow from all
AddDefaultCharset UTF-8
SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server
</Location>
As it turns out, that redirects everything coming in to rt; even a request
like http://my.server/not_an_RT/page still redirects to the rt login.
What have I done, and how can I fix it?
On two occasions I have been asked,—“Pray, Mr. Babbage, if you put into
the machine wrong figures, will the right answers come out?” … I am not
able rightly to apprehend the kind of confusion of ideas that could
provoke such a question.
—Charles Babbage, Inventor of the computer, 1864
I have rt4 running quite well on an apache server. However, I think I got
a little carried away when I set it up. here’s my perl handler line from
apache.conf:
<Location />
Order allow,deny
Allow from all
AddDefaultCharset UTF-8
SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server
</Location>
As it turns out, that redirects everything coming in to rt; even a request
like http://my.server/not_an_RT/page still redirects to the rt login.
What have I done, and how can I fix it?
Would be my guess:
Alias /rt “/opt/rt4/share/html”
<Location /rt>
instead of
Your config looks to me that rt is the root of your entire webserver,
Tho I had some headaches getting the internal webpage to play nice with
nagios and rt.
-Mat
I have rt4 running quite well on an apache server. However, I think I got
a little carried away when I set it up. here’s my perl handler line from
apache.conf:
<Location />
Order allow,deny
Allow from all
AddDefaultCharset UTF-8
SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server
</Location>
As it turns out, that redirects everything coming in to rt; even a request
like http://my.server/not_an_RT/page still redirects to the rt login.
What have I done, and how can I fix it?
Would be my guess:
Alias /rt “/opt/rt4/share/html”
<Location /rt>
instead of
Your config looks to me that rt is the root of your entire
webserver, Tho I had some headaches getting the internal webpage
to play nice with nagios and rt.
Those aren’t the only steps needed to run at /rt
The steps are documented in the
“Running RT at /rt rather than /” section of docs/web_deployment.pod
shipped with RT.
Yan - your config tells Apache that everything under / is passed to
RT. What are you trying to do?
-kevin