Logout button problems

Hello,

I have seen articles in the past about this issue though there was
not a solution. I have an RT instance running on a Debian server and
everything works fine but the Logout button once you login as a
user. If you press the logout button it displays the following:

%# BEGIN BPS TAGGED BLOCK {{{ %# %# COPYRIGHT: %# %# This software is
Copyright (c) 1996-2005 Best Practical Solutions, LLC %# %# %#
(Except where explicitly superseded by other copyright notices) %# %#
%# LICENSE: %# %# This work is made available to you under the terms
of Version 2 of %# the GNU General Public License. A copy of that
license should have %# been provided with this software, but in any
event can be snarfed %# from www.gnu.org. %# %# This work is
distributed in the hope that it will be useful, but %# WITHOUT ANY
WARRANTY; without even the implied warranty of %# MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU %# General Public
License for more details. %# %# You should have received a copy of
the GNU General Public License %# along with this program; if not,
write to the Free Software %# Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. %# %# %# CONTRIBUTION SUBMISSION POLICY: %#
%# (The following paragraph is not intended to limit the rights
granted %# to you to modify and distribute this software under the
terms of %# the GNU General Public License and is only of importance
to you if %# you choose to contribute your changes and enhancements
to the %# community by submitting them to Best Practical Solutions,
LLC.) %# %# By intentionally submitting any modifications,
corrections or %# derivatives to this work, or any other work
intended for use with %# Request Tracker, to Best Practical
Solutions, LLC, you confirm that %# you are the copyright holder for
those contributions and you grant %# Best Practical Solutions, LLC a
nonexclusive, worldwide, irrevocable, %# royalty-free, perpetual,
license to use, copy, create derivative %# works based on those
contributions, and sublicense and distribute %# those contributions
and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}}
<&|/l&>You have been logged out of RT.

<&|/l&>You’re welcome to login again <%PERL> if (defined %session)
{ tied(%session)->delete; } $m->abort(); <%ARGS> $URL =>
$RT::WebBaseURL.“”

After it refreshes it has the following in the URL:

Here is my current Apache 2 config settings and RT_SiteConfig.pm

<VirtualHost 209.61.177.250:80>
ServerName tickets.boxalert.com
DocumentRoot /usr/share/request-tracker3.4/html/
AddDefaultCharset UTF-8
CustomLog /var/log/apache2/tickets.boxalert.com-
access.log combined

Adding the following for RT (the ticket tracker)

      AddHandler fastcgi-script fcgi

<Directory “/usr/share/request-tracker3.4/html”>
Options FollowSymLinks ExecCGI
AllowOverride None

Pass through requests to for noauth

     Alias /NoAuth/ /usr/share/request-tracker3.4/html/NoAuth/
     ScriptAlias / /usr/share/request-tracker3.4/libexec/ 

mason_handler.fcgi/

#FastCgiIpcDir /tmp
FastCgiServer /usr/share/request-tracker3.4/libexec/
mason_handler.fcgi -idle-timeout 120 -processes 4

---- RT_SiteConfig.pm -----

THE BASICS:

Set($rtname, ‘tickets.boxalert.com’);
Set($Organization, ‘boxalert.com’);
Set($CorrespondAddress , ‘rt@my.domain.com’);
Set($CommentAddress , ‘rt-comment@my.domain.com’);
Set($Timezone , ‘Europe/London’);

THE WEBSERVER:

Set($WebBaseURL , “http://tickets.boxalert.com”);
Set($WebPath , “”);

I have also tried Set($WebPath , “/”);

One thing I noticed that if I setup everything for http://
BoxAlert.com is for sale | HugeDomains and login, the logout button works without
any problems. Anyone have any ideas why its doesn’t work without
the /rt as I have setup in the httpd.conf and RT_SiteConfig.pm

Any help would be greatly appreciated. It would also probably
benefit others in the future that have the same problem.

Thanks,
Jason B.

Hello,

I have seen articles in the past about this issue though there was not a
solution. I have an RT instance running on a Debian server and everything
works fine but the Logout button once you login as a user. If you press the
logout button it displays the following:

%# BEGIN BPS TAGGED BLOCK {{{ %# %# COPYRIGHT: %# %# This software is
Copyright (c) 1996-2005 Best Practical Solutions, LLC %# %# %# (Except where

[snip]

Pass through requests to for noauth

    Alias /NoAuth/ /usr/share/request-tracker3.4/html/NoAuth/

Here is your problem. I don’t know where you’ve got this string, but
you shouldn’t pass through all files in NoAuth dir, because it’s not
static, only images dir is static.
Use Alias /NoAuth/images/ /usr/share/request-tracker3.4/html/NoAuth/images

    ScriptAlias /

/usr/share/request-tracker3.4/libexec/mason_handler.fcgi/

#FastCgiIpcDir /tmp
FastCgiServer /usr/share/request-tracker3.4/libexec/mason_handler.fcgi
-idle-timeout 120 -processes 4

---- RT_SiteConfig.pm -----

THE BASICS:

Set($rtname, ‘tickets.boxalert.com’);
Set($Organization, ‘boxalert.com’);
Set($CorrespondAddress , ‘rt@my.domain.com’);
Set($CommentAddress , ‘rt-comment@my.domain.com’);
Set($Timezone , ‘Europe/London’);

THE WEBSERVER:

Set($WebBaseURL , “http://tickets.boxalert.com”);
Set($WebPath , “”);

I have also tried Set($WebPath , “/”);

One thing I noticed that if I setup everything for
http://tickets.boxalert.com/rt and login, the logout button works without
any problems. Anyone have any ideas why its doesn’t work without the /rt as
I have setup in the httpd.conf and RT_SiteConfig.pm

Any help would be greatly appreciated. It would also probably benefit
others in the future that have the same problem.

Thanks,
Jason B.


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html

Best regards, Ruslan.

Hello Ruslan,

Thanks alot! That did the trick!

-jason b.On Dec 20, 2005, at 7:01 PM, Ruslan Zakirov wrote:

On 12/21/05, Jason B. maillist@sitepier.com wrote:

Hello,

I have seen articles in the past about this issue though there was
not a
solution. I have an RT instance running on a Debian server and
everything
works fine but the Logout button once you login as a user. If you
press the
logout button it displays the following:

%# BEGIN BPS TAGGED BLOCK {{{ %# %# COPYRIGHT: %# %# This software is
Copyright (c) 1996-2005 Best Practical Solutions, LLC %# %# %#
(Except where

[snip]

Pass through requests to for noauth

    Alias /NoAuth/ /usr/share/request-tracker3.4/html/NoAuth/

Here is your problem. I don’t know where you’ve got this string, but
you shouldn’t pass through all files in NoAuth dir, because it’s not
static, only images dir is static.
Use Alias /NoAuth/images/ /usr/share/request-tracker3.4/html/NoAuth/
images

    ScriptAlias /

/usr/share/request-tracker3.4/libexec/mason_handler.fcgi/

#FastCgiIpcDir /tmp
FastCgiServer /usr/share/request-tracker3.4/libexec/
mason_handler.fcgi
-idle-timeout 120 -processes 4

---- RT_SiteConfig.pm -----

THE BASICS:

Set($rtname, ‘tickets.boxalert.com’);
Set($Organization, ‘boxalert.com’);
Set($CorrespondAddress , ‘rt@my.domain.com’);
Set($CommentAddress , ‘rt-comment@my.domain.com’);
Set($Timezone , ‘Europe/London’);

THE WEBSERVER:

Set($WebBaseURL , “http://tickets.boxalert.com”);
Set($WebPath , “”);

I have also tried Set($WebPath , “/”);

One thing I noticed that if I setup everything for
http://tickets.boxalert.com/rt and login, the logout button works
without
any problems. Anyone have any ideas why its doesn’t work without
the /rt as
I have setup in the httpd.conf and RT_SiteConfig.pm

Any help would be greatly appreciated. It would also probably
benefit
others in the future that have the same problem.

Thanks,
Jason B.


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly
Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html


Best regards, Ruslan.