k_b
February 11, 2006, 8:15am
1
Hello.
I am trying out RT and run into a problem with
redirection.
i have set up RT 3.5.5 to run at
http://our.domain.some:83/
apache 2.0.54 is used on a FC4 system.
the configuration for apache looks like this
NameVirtualHost our.domain.some:83
ServerName our.domain.some:83
DocumentRoot /opt/rt3/share/html
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
<Location />
AllowOverride All
Options ExecCGI FollowSymLinks
RewriteEngine on
RedirectMatch Permanent (.*)/$ $1/index.html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
</Location>
in most cases RT and apache will correctly rewrite the
urls and display pages at the location
http://our.domain.some:83/Path/Page.html
but when we do some specific task, such as:
Take a newly arrived ticket, instead of getting back
to our domain, we get redirected to
http://localhost:80//Ticket/Display.html?id=5
or when opening a taken ticket, the link that opens
the ticket looks like:
http://our.domain.some:83/Ticket/Display.html?Status=open&id=2
after the ticket is opened we get redirected to:
http://localhost:80//Ticket/Display.html?id=2
what can we do about the faulty redirections?
i looked in the settings but could not find anything
redirecting to localhost.
many thanks in advance
karl
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Best in class Yahoo Mail, breaking local, national and global news, finance, sports, music, movies... You get more out of the web, you get more out of life.
You need to set WebBaseURL in RT_SiteConfig.pm (see RT_Config.pm)
-Todd
k_b
February 11, 2006, 9:41pm
3
thanks, that helped out.— Todd Chapman todd@chaka.net wrote:
You need to set WebBaseURL in RT_SiteConfig.pm (see
RT_Config.pm)
-Todd
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
It's time to get stuff done with Yahoo Mail. Just add your Gmail, Outlook, AOL or Yahoo Mail to get going. We automatically organize all the things life throws at you, like receipts and attachments, so you can find what you need fast. Plus, we've got...
I have a similar trouble, only I’m using mod_proxy to
translate the URL track.my.domain.edu to
rt.my.domain.edu:8887
Sometimes the links appear as track.my.domain.edu
and sometimes they appear as rt.my.domain.edu, with a missing
port number.
And the emails always refer to rt.my.domain.edu instead of
the proxy.
FLOn 2/11/06, k b k_b0000@yahoo.se wrote:
Hello.
I am trying out RT and run into a problem with
redirection.
i have set up RT 3.5.5 to run at
http://our.domain.some:83/
apache 2.0.54 is used on a FC4 system.
the configuration for apache looks like this
NameVirtualHost our.domain.some:83
ServerName our.domain.some:83
DocumentRoot /opt/rt3/share/html
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
<Location />
AllowOverride All
Options ExecCGI FollowSymLinks
RewriteEngine on
RedirectMatch Permanent (.*)/$ $1/index.html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
</Location>
in most cases RT and apache will correctly rewrite the
urls and display pages at the location
http://our.domain.some:83/Path/Page.html
but when we do some specific task, such as:
Take a newly arrived ticket, instead of getting back
to our domain, we get redirected to
http://localhost:80//Ticket/Display.html?id=5
or when opening a taken ticket, the link that opens
the ticket looks like:
http://our.domain.some:83/Ticket/Display.html?Status=open&id=2
after the ticket is opened we get redirected to:
http://localhost:80//Ticket/Display.html?id=2
what can we do about the faulty redirections?
i looked in the settings but could not find anything
redirecting to localhost.
many thanks in advance
karl
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
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
can you post your site config file.On Feb 11, 2006, at 3:48 PM, Florian Lengyel wrote:
I have a similar trouble, only I’m using mod_proxy to
translate the URL track.my.domain.edu to
rt.my.domain.edu:8887
Sometimes the links appear as track.my.domain.edu
and sometimes they appear as rt.my.domain.edu, with a missing
port number.
And the emails always refer to rt.my.domain.edu instead of
the proxy.
FL
On 2/11/06, k b k_b0000@yahoo.se wrote:
Hello.
I am trying out RT and run into a problem with
redirection.
i have set up RT 3.5.5 to run at
http://our.domain.some:83/
apache 2.0.54 is used on a FC4 system.
the configuration for apache looks like this
NameVirtualHost our.domain.some:83
ServerName our.domain.some:83
DocumentRoot /opt/rt3/share/html
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
<Location />
AllowOverride All
Options ExecCGI FollowSymLinks
RewriteEngine on
RedirectMatch Permanent (.*)/$ $1/index.html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
</Location>
in most cases RT and apache will correctly rewrite the
urls and display pages at the location
http://our.domain.some:83/Path/Page.html
but when we do some specific task, such as:
Take a newly arrived ticket, instead of getting back
to our domain, we get redirected to
http://localhost:80//Ticket/Display.html?id=5
or when opening a taken ticket, the link that opens
the ticket looks like:
http://our.domain.some:83/Ticket/Display.html?Status=open&id=2
after the ticket is opened we get redirected to:
http://localhost:80//Ticket/Display.html?id=2
what can we do about the faulty redirections?
i looked in the settings but could not find anything
redirecting to localhost.
many thanks in advance
karl
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
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 Services — Best Practical Solutions
training.html
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 Services — Best Practical Solutions
training.html