[rt-users] Weburls not showing properly

Kennedy, Michael T kenn0105 at msmailhub.oulan.ou.edu
Thu Jan 2 09:42:36 EST 2003


Hello,
	I've got a new installation of RT 2015, and have gotten as far as
the login page. First I noticed the logo graphic (rt.jpg) in the top left
was not shown. The path in its properties was
http://rt.mycompany.org/var/rt/WebRT/html/NoAuth/images/rt.jpg. And when
logging in, sure enough, all the links had doubled urls, as my DocumentRoot
directive is /var/rt/WebRT/html. I found in these archives a similar
problem, with the solution of changing $WebPath in config.pm to ""

So, I make the change, restart Apache, reload http://rt.mycompany.org, and
voila! The rt logo shows. So I log in, and find that now my links are too
short! For example, the Configuration link says http://admin/ and Home says
http:///

Any idea whats wrong? I've included what I think are relevant parts of
config.pm and http.conf below. Much thanks for any help. And Happy New Year!

-Mike

/var/rt/etc/config.pm
-----------------
# $WebPath requires a leading / but no trailing /

$WebPath = "";

# This is the Scheme, server and port for constructing urls to webrt
# $WebBaseURL doesn't need a trailing /
$

$WebBaseURL = "http://rt.mycompany.org";

$WebURL = $WebBaseURL . $WebPath . "/";

$WebImagesURL = $WebURL."NoAuth/images/";

# $RTLogoURL points to the URL of the RT logo displayed in the web UI

$LogoURL = $WebImagesURL."rt.jpg";


# $MasonComponentRoot is where your rt instance keeps its mason html files #
(this should be autoconfigured during 'make install' or 'make upgrade')

$MasonComponentRoot = "/var/rt/WebRT/html";

# $MasonLocalComponentRoot is where your rt instance keeps its site-local #
mason html files. # (this should be autoconfigured during 'make install' or
'make upgrade')

$MasonLocalComponentRoot = "/var/rt/local/WebRT/html";

# $MasonDataDir Where mason keeps its datafiles
# (this should be autoconfigured during 'make install' or 'make upgrade')

$MasonDataDir = "/var/rt/WebRT/data";

# RT needs to put session data (for preserving state between connections 
# via the web interface)
$MasonSessionDir = "/var/rt/WebRT/sessiondata";
-------------------

/etc/httpd/conf/httpd.conf
-------------------
<VirtualHost myipaddress>
ServerName rt.mycompany.org
DocumentRoot /var/rt/WebRT/html
PerlModule Apache::DBI
PerlRequire /var/rt/bin/webmux.pl
<Location />
SetHandler perl-script
PerlHandler RT::Mason   
</Location> 
</VirtualHost>

Mike Kennedy
IT Specialist

Center for Public Management
Office: 366-6023
Cell: 642-1429
Email: mkennedy at ou.edu



More information about the rt-users mailing list