I've just solved this for myself - the issue was my basic misunderstanding of apache vhosts directives. FWIW, I just needed to put the directives inside of my (already existing) *:443 vhost instead of trying to give RT it's own vhost.
chrisokelly wrote: > > Hi guys, I've just downloaded the current version of RT 4.0 and am trying > to install it. > > I had some trouble fixing the dependencies, however updating CPAN build > sorted them. I have been able to initialize the DB no problem and I have > set up the RT_SiteConfig file. > > I believe my issue is affected by the fact that we run other services on > this same version of apache. > > I have set up my vhosts file in apache with the following: > # Tell FastCGI to put its temporary files somewhere sane; this may > # be necessary if your distribution doesn't already set it > #FastCgiIpcDir /tmp > > FastCgiServer /var/www/ithelp/sbin/rt-server.fcgi -processes 5 > -idle-timeout 300 > > <VirtualHost docs.ourcompany.com> > ### Optional apache logs for RT > # Ensure that your log rotation scripts know about these files > # ErrorLog /opt/rt4/var/log/apache2.error > #TransferLog /opt/rt4/var/log/apache2.access > # LogLevel debug > > AddDefaultCharset UTF-8 > Alias /ithelp/NoAuth/images/ > /var/www/ithelp/share/html/NoAuth/images/ > ScriptAlias /ithelp /var/www/ithelp/sbin/rt-server.fcgi/ > > #DocumentRoot "/var/www/ithelp/share/html/" > <Location /ithelp> > Order allow,deny > Allow from all > > Options +ExecCGI > AddHandler fastcgi-script fcgi > </Location> > </VirtualHost> > > in the same file exists 2 other vhosts - one is at *:80 and is a redirect > to port 443 (to force SSL), the other in on 443 and mainly used for an > installation of moodle. The *:443 host also includes mod_jk config for > Alfresco (a CMS running in Tomcat, also on this server.) > > When I start (or restart) apache, I see in /var/log/apache2/error.log: > [Thu Aug 23 16:43:17 2012] [notice] FastCGI: process manager initialized > (pid 2391) > [Thu Aug 23 16:43:17 2012] [warn] FastCGI: server > "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2392) > [Thu Aug 23 16:43:17 2012] [notice] Apache/2.2.14 (Ubuntu) > mod_fastcgi/2.4.6 mod_jk/1.2.28 PHP/5.3.2-1ubuntu4.17 with Suhosin-Patch > mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations > [Thu Aug 23 16:43:18 2012] [warn] FastCGI: server > "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2399) > [Thu Aug 23 16:43:19 2012] [warn] FastCGI: server > "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2400) > [Thu Aug 23 16:43:20 2012] [warn] FastCGI: server > "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2402) > [Thu Aug 23 16:43:21 2012] [warn] FastCGI: server > "/var/www/ithelp/sbin/rt-server.fcgi" started (pid 2403) > > TBH I'm not sure why those are warning... the server starting seems like > just what I want. However when I browse to the address I get a page with > "Index of /ithelp". I can browse to > docs.ourcompany.com/ithelp/share/html/index.html but just see a page that > I haven't yet set up the web server and I am Almost there. > > I'll post some more environment info below, but basically I am stuck here. > I have tried many different values for the virtualhost, > docs.ourcompany.com, docs.ourcompany.com/ithelp, /ithelp, */ithelp, *, but > get the same every time (and yep, I am restarting apache in between). Does > anyone know what I am missing? > > Apache's modules: > Compiled in modules: > core.c > mod_log_config.c > mod_logio.c > prefork.c > http_core.c > mod_so.c > Loaded Modules: > core_module (static) > log_config_module (static) > logio_module (static) > mpm_prefork_module (static) > http_module (static) > so_module (static) > alias_module (shared) > auth_basic_module (shared) > authn_file_module (shared) > authz_default_module (shared) > authz_groupfile_module (shared) > authz_host_module (shared) > authz_user_module (shared) > autoindex_module (shared) > cgi_module (shared) > deflate_module (shared) > dir_module (shared) > env_module (shared) > fastcgi_module (shared) > jk_module (shared) > mime_module (shared) > negotiation_module (shared) > php5_module (shared) > reqtimeout_module (shared) > rewrite_module (shared) > setenvif_module (shared) > ssl_module (shared) > status_module (shared) > auth_ntlm_winbind_module (shared) > Syntax OK > > uname -a > Linux docs.ourcompany.com 2.6.32-33-server #72-Ubuntu SMP Fri Jul 29 > 21:21:55 UTC 2011 x86_64 GNU/Linux > > lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 10.04.4 LTS > Release: 10.04 > Codename: lucid > > apache2 -v > Server version: Apache/2.2.14 (Ubuntu) > Server built: Mar 5 2012 16:42:17 > > -- View this message in context: http://old.nabble.com/Configuring-apache-for-RT-4.0-tp34338212p34342292.html Sent from the Request Tracker - User mailing list archive at Nabble.com.
