[rt-users] RT Mobile Redirection

Jason Ledford jledford at biltmore.com
Thu Aug 26 09:29:01 EDT 2010

This unfortunately does not work.  If I symlink the /m/ folder it gives me:
<&| _elements/wrapper, title => loc("RT for [_1]",RT->Config->Get('rtname'))&> <& _elements/menu &> <& _elements/full_site_link &>

So that won't work.  Here is my apache config for this vhost if it helps anyone let me know what I am missing:
<VirtualHost *:80>
ServerName servername.domain.com
ServerAdmin me at domain.com

# config for your main content
DocumentRoot /var/www
<Directory /var/www>
# here and in other places goes config
# of your main host
# as RT is out of document root then we want alias
# and should define directory access

Alias /rt/ /opt/rt3/share/html/
<Directory /opt/rt3/share/html/>
Order allow,deny
Allow from all

PerlRequire /opt/rt3/bin/webmux.pl
<Location /rt/>
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason

Thanks for any help.

-----Original Message-----
From: Bob Miller [mailto:bob at computerisms.ca] 
Sent: Wednesday, August 25, 2010 3:44 PM
To: Jason Ledford
Subject: Re: [rt-users] RT Mobile Redirection

During my last migration, the links to some tickets were going to a
different URL than I wanted.  My solution was to put a symlink in at the
link's url pointing to the real html directory.  So, it is probably not
an elegant suggestion, but perhaps something like: 

ln -s /path.to.rt/html /var/www/m 

would make it work...

On Wed, 2010-08-25 at 12:05 -0400, Jason Ledford wrote:
> I am having a problem with the new mobile interface, version .95.  It
> works perfectly on about 5% of my blackberries.  The problem is the
> users get the login screen, enter the user name and password, and then
> get a file not found error saying it’s looking for /m/.  The apache
> logs suggest its trying to redirect those users to /var/www/m and it
> says file does not exist.  I did find out that it works 100% of the
> time if I use the short domain name, servername.  I experience the
> problem when I use the fqdn servername.domain.com.  I am sure it’s
> something I have mis-configured but can’t quite pinpoint.
> The url I use to hit my server is http://servername.domain.com/rt/ and
> here is the relevant parts from my config:
> Set( $rtname, 'cdc124asv.tbcnet.biltmore.com');
> Set($WebPath , "/rt");
> Set($WebBaseURL , "http://cdc124asv.tbcnet.biltmore.com");
> Set(@Plugins, qw(RT::Extension::MobileUI RTx::Calendar
> RT::Extension::PriorityAsString
> RT::Extension::ExtractCustomFieldValues RT::Extension::LDAPImport RT:
> $rt RT::Authen::ExternalAuth));
> Any help is appreciated as I would prefer to use the fqdn when
> possible.
> RT Training in Washington DC, USA on Oct 25 & 26 2010
> Last one this year -- Learn how to get the most out of RT!

Bob Miller
bob at computerisms.ca
Network, Internet, Server,
and Open Source Solutions

More information about the rt-users mailing list