[rt-users] (no subject)
Curtis Bruneau
curtisb at vianet.ca
Tue Aug 26 14:20:30 EDT 2008
Basically looks like you need a <VirtualHost > entry with your outside
IP address. Since the default site is using a wildcard you can't on your
secondary site, You could remove default and have the following with
ServerName blah ServerAlias blah2 etc .. something along these lines ..
but basically your apache is misconfigured not RT.
NameVirtualHost *
<VirtualHost *>
ServerName localhost
ServerAlias outsidehost
DocumentRoot "/opt/rt3/share/html"
AddDefaultCharset UTF-8
PerlRequire "/opt/rt3/bin/webmux.pl"
<Location /NoAuth/images>
SetHandler default
</Location>
<Location /rt>
SetHandler perl-script
PerlResponseHandler RT::Mason
</Location>
</VirtualHost>
or
<VirtualHost 127.0.0.1:80>
ServerName localhost
DocumentRoot "/opt/rt3/share/html"
AddDefaultCharset UTF-8
PerlRequire "/opt/rt3/bin/webmux.pl"
<Location /NoAuth/images>
SetHandler default
</Location>
<Location /rt>
SetHandler perl-script
PerlResponseHandler RT::Mason
</Location>
</VirtualHost>
<VirtualHost 192.168.1.10:80>
ServerName private
DocumentRoot "/opt/rt3/share/html"
AddDefaultCharset UTF-8
PerlRequire "/opt/rt3/bin/webmux.pl"
<Location /NoAuth/images>
SetHandler default
</Location>
<Location /rt>
SetHandler perl-script
PerlResponseHandler RT::Mason
</Location>
</VirtualHost>
Nick Price wrote:
> Hi
>
> I'm still having a few problems with the web interface of rt-3.8.1 on
> a new install of fedora 9 including all the latest updates
>
> In firefox on the localhost RT will run as follows _http://localhost_
> <http://localhost/> or _http://localhost/rt_ both take me to RT login
> page but I
> only see the page in text format
>
> On a remote PC if I try to connect to RT _http://myIPaddress_
> <http://myipaddress/> I get the default apache welcome page
> when I try _http://myIPaddress/rt_ <http://myipaddress/rt> I get 404
> webpage could not be found
>
> The Fedora server will also be running mrtg as the main page
> (_http://myIPaddress_ <http://myipaddress/>)
>
> so I need RT to run as _http://myIPaddress/rt_ <http://myipaddress/rt>
>
> it doesn't matter what i seem to add it just flips between text and
> full mode in both root and myIPaddress/rt
>
> I need it to run only as http://myIPaddress/rt
>
> Please any ideas
>
>
> This is the config i'm running with now /ect/httpd/conf.d/rt3.conf
>
> NameVirtualHost localhost
> <VirtualHost localhost>
> ServerAdmin webmaster at localhost
> ServerName localhost
> DocumentRoot "/opt/rt3/share/html"
> AddDefaultCharset UTF-8
> PerlRequire "/opt/rt3/bin/webmux.pl"
>
> <Location /NoAuth/images>
> SetHandler default
> </Location>
>
>
> <Location /rt>
> SetHandler perl-script
> PerlResponseHandler RT::Mason
> </Location>
> </VirtualHost>
>
>
> and RT_SiteConfig.pm
>
>
> Set( $rtname, 'myDomain.coml');
> #Set(@Plugins,(qw(Extension::QuickDelete)));
> Set( $WebDomain, 'localhost');
> Set( $WebPath, '/rt');
>
> ------------------------------------------------------------------------
> Get thousands of games on your PC, your mobile phone, and the web with
> Windows®. Game with Windows
> <http://clk.atdmt.com/MRT/go/108588800/direct/01/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
More information about the rt-users
mailing list