Url configuration questions

I have a new installation of Rt3 with a couple of outstanding problems.

The RT logo at the top-left corner of the page doesn’t display, and, the
pages render extremely slowly. From the installation instructions it
sounds like I don’t have the url settings correct. But I’m pretty
confused:

From RT_SiteConfig.pm :

  • I used the default installation path, so I left this as-is
    Set($WebPath , “”);

  • from: root@pc-4:/etc/apache# hostname -f
    pc-4.zoominternet.net

,so I inserted the name into:

Set($WebBaseURL , “http://RT::pc-4.zoominternet.net:80”);

  • or, do I drop the “RT::” ? Or, is this altogether wrong??

  • left this as-is
    Set($WebURL , $WebBaseURL . $WebPath . “/”);

  • left this as-is
    Set($WebImagesURL , $WebURL . “NoAuth/images/”);
    -but, changed owners to:
    chown -R root:rt /opt/rt3/share/html/NoAuth/images

  • Left this as-is
    Set($LogoURL , $WebImagesURL . “rt.jpg”);

Where did I go wrong? Thanks for the help,
Don

Don Brett wrote:

I have a new installation of Rt3 with a couple of outstanding problems.

The RT logo at the top-left corner of the page doesn’t display, and, the
pages render extremely slowly. From the installation instructions it
sounds like I don’t have the url settings correct. But I’m pretty
confused:

From RT_SiteConfig.pm :

Set($WebBaseURL , “http://RT::pc-4.zoominternet.net:80”);

  • or, do I drop the “RT::” ? Or, is this altogether wrong??

It’s just an URL. It’s not surprising that your browser is being confused by
“RT::” wrongly inserted in the middle. You could, actually, drop the
explicit “:80” as well.

Max.

Thanks Max, but that didn’t seem to make much difference. Should the
url be:

http://pc-4, or
http://pc-4:80, or
http://192.168.0.4, or
http://192.168.0.4:80, or
http://pc-4.zoominternet.net, or
http://pc-4.zoominternet.net:80, or
??

By the way, the httpd.conf settings are:

<VirtualHost 192.168.0.4>
ServerName pc-4
DocumentRoot /opt/rt3/share/html

, does this have an impact on the $WebBaseURL settings? Thanks,
suggestions
appreciated.
Don

PS - http://192.168.0.4/NoAuth/images/rt.jpg - renders the image just
fine.

Max Bowsher wrote:

Probably all of your variations should work, but I would recommend
using a FQDN, in your example this would be:
http://pc-4.zoominternet.net
(The port 80 isn’t needed because it’s the default port for http
servers)

Hope it helps,
DanielOn 07.12.2003, at 18:21, Don Brett wrote:

Thanks Max, but that didn’t seem to make much difference. Should the
url be:

http://pc-4, or
http://pc-4:80, or
http://192.168.0.4, or
http://192.168.0.4:80, or
http://pc-4.zoominternet.net, or
http://pc-4.zoominternet.net:80, or
??

By the way, the httpd.conf settings are:

<VirtualHost 192.168.0.4>
ServerName pc-4
DocumentRoot /opt/rt3/share/html

, does this have an impact on the $WebBaseURL settings? Thanks,
suggestions
appreciated.
Don

PS - http://192.168.0.4/NoAuth/images/rt.jpg - renders the image just
fine.

Max Bowsher wrote:

Don Brett wrote:

I have a new installation of Rt3 with a couple of outstanding
problems.

The RT logo at the top-left corner of the page doesn’t display, and,
the
pages render extremely slowly. From the installation instructions it
sounds like I don’t have the url settings correct. But I’m pretty
confused:

From RT_SiteConfig.pm :

Set($WebBaseURL , “http://RT::pc-4.zoominternet.net:80”);

  • or, do I drop the “RT::” ? Or, is this altogether wrong??

It’s just an URL. It’s not surprising that your browser is being
confused by
“RT::” wrongly inserted in the middle. You could, actually, drop the
explicit “:80” as well.

Max.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

PGP.sig (186 Bytes)

Don Brett wrote:

Thanks Max, but that didn’t seem to make much difference. Should the
url be:

http://pc-4, or
http://pc-4:80, or
http://192.168.0.4, or
http://192.168.0.4:80, or
http://pc-4.zoominternet.net, or
http://pc-4.zoominternet.net:80, or
??

By the way, the httpd.conf settings are:

<VirtualHost 192.168.0.4>
ServerName pc-4
DocumentRoot /opt/rt3/share/html

, does this have an impact on the $WebBaseURL settings? Thanks,
suggestions
appreciated.
Don

PS - http://192.168.0.4/NoAuth/images/rt.jpg - renders the image just
fine.

OK. Then this should work:

Set($WebPath , “”);
Set($WebBaseURL , “http://192.168.0.4”);
Set($WebURL , $WebBaseURL . $WebPath . “/”);
Set($WebImagesURL , $WebURL . “NoAuth/images/”);
Set($LogoURL , $WebImagesURL . “rt.jpg”);

Max.

Thanks for the suggestions, that one seems to work. Only one problem.
I thought that rt.jpg should be displayed in the top-left corner. It
uses bplogo.gif. What’s with that??
Thanks again,
Don