Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Users

Aoache help - what have I done?

 

 

Request Tracker users RSS feed   Index | Next | Previous | View Threaded


yan at seiner

Mar 6, 2012, 1:33 PM

Post #1 of 3 (263 views)
Permalink
Aoache help - what have I done?

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

--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston March 5 & 6, 2012


lab at pacbell

Mar 6, 2012, 3:13 PM

Post #2 of 3 (239 views)
Permalink
Re: Aoache help - what have I done? [In reply to]

On 03/06/2012 1:33 PM, Yan Seiner wrote:
> 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 <Location />

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
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston March 5 & 6, 2012


falcone at bestpractical

Mar 7, 2012, 10:04 AM

Post #3 of 3 (232 views)
Permalink
Re: Aoache help - what have I done? [In reply to]

On Tue, Mar 06, 2012 at 03:13:04PM -0800, 20/20 Lab wrote:
> On 03/06/2012 1:33 PM, Yan Seiner wrote:
> >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 <Location />
>
> 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

Request Tracker users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.