[rt-users] Fresh Install of RT-4.0.0rc4

Xavier Montagutelli xavier.montagutelli at unilim.fr
Wed Feb 9 02:38:05 EST 2011


On Tuesday 08 February 2011 23:10:06 Max McGrath wrote:
> You are correct!
> 
> See...I told you I'm not good with Apache!
> 
> Anyways...when I go straight to my web server I get:
> 
> It works!
> 
> This is the default web page for this server.
> 
> The web server software is running but no content has been added, yet.
> 
> So, what do I need to do in my apache config to point it to wherever RT
> should be running?
> --
> Max McGrath
> Asst. Network Admin/Systems Specialist
> Carthage College
> 262-552-5512
> mmcgrath at carthage.edu
> 
> On Tue, Feb 8, 2011 at 3:34 PM, Kevin Falcone 
<falcone at bestpractical.com>wrote:
> > On Tue, Feb 08, 2011 at 02:55:01PM -0600, Max McGrath wrote:
> > >    Thanks for the reply Kevin.
> > >    I get "Not Found. The requested URL/rt/ was not found on this web
> > 
> > server." in Firefox.
> > 
> > >    And "Oops! This Link appears to be broken!" in Chrome.
> > >    It's not even an RT error at that point, so something gets seriously
> > 
> > broken with whatever I am
> > 
> > I don't see anything in your config which would make /rt work
> > 
> > >    On Tue, Feb 8, 2011 at 2:51 PM, Kevin Falcone <[2]
> > 
> > falcone at bestpractical.com> wrote:
> > >      > If I change my httpd.conf to something referenced in
> > 
> > web_deployment.pod such
> > 
> > >      > as:
> > >      > 
> > >      > <IfModule !mpm_netware_module>
> > >      > <IfModule !mpm_winnt_module>
> > >      > #User rt
> > >      > #Group www
> > >      > </IfModule>
> > >      > </IfModule>
> > >      > 
> > >      > <VirtualHost [3]rt.example.com>

Your "VirtualHost" must match your previously defined "NameVirtualHost" 
directive.

On a Debian system, you have a /etc/apache2/ports.conf file, giving the default 
listinening port and the default NameVirtualHost. Very often "*:80".

So, you should check what name to use for your VirtualHost directive. 
rt.example.com seems odd.

Ref : http://httpd.apache.org/docs/2.0/vhosts/examples.html


> > >      > ServerRoot /usr
> > >      > ServerAdmin root at localhost
> > >      > 
> > >      > LoadModule authz_host_module modules/mod_authz_host.so
> > >      > LoadModule env_module modules/mod_env.so
> > >      > LoadModule alias_module modules/mod_alias.so
> > >      > LoadModule perl_module modules/mod_perl.so
> > >      > 
> > >      > # optional apache logs for RT
> > >      > # ErrorLog /opt/rt4/var/log/apache2.error
> > >      > # TransferLog /opt/rt4/var/log/apache2.access
> > >      > # LogLevel debug
> > >      > 
> > >      > AddDefaultCharset UTF-8
> > >      > PerlSetEnv RT_SITE_CONFIG /opt/rt4/etc/RT_SiteConfig.pm
> > >      > 
> > >      > RedirectMatch permanent (.*)/$ $1/index.html
> > >      > 
> > >      > DocumentRoot "/opt/rt4/share/html"
> > >      > <Directory "/opt/rt4/share/html">
> > >      > Order allow,deny
> > >      > Allow from all
> > >      > 
> > >      > SetHandler perl-script
> > >      > PerlResponseHandler Plack::Handler::Apache2
> > >      > PerlSetVar psgi_app /opt/rt4/sbin/rt-server
> > >      > </Directory>
> > >      > <Perl>
> > >      > use Plack::Handler::Apache2;
> > >      > Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
> > >      > </Perl>
> > >      > </VirtualHost>
> > >      > 
> > >      > My RT site doesn't run at all! I have libapache2-mod-perl2
> > 
> > installed.
> > 
> > >      What errors do you get?
> > >      
> > >      The mod_perl doc may want some of the cleanups I added to the
> > 
> > fastcgi
> > 
> > >      section
> > >      -kevin
> > > 
> > > References
> > > 
> > >    Visible links
> > >    1. mailto:mmcgrath at carthage.edu
> > >    2. mailto:falcone at bestpractical.com
> > >    3. http://rt.example.com/

-- 
Xavier Montagutelli                      Tel : +33 (0)5 55 45 77 20
Service Commun Informatique              Fax : +33 (0)5 55 45 75 95
Universite de Limoges
123, avenue Albert Thomas
87060 Limoges cedex



More information about the rt-users mailing list