Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Tarantula and Bugzilla on same machine apache config help..

I am trying to install bugzilla on the same box as my install of tarantula. I went through the instructions to install Taratula on my CentOS 6 box. Tarantula installed easily and seems to be working. I then installed bugzilla on the same machine.
I then added the following entry in httpd.conf


ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /var/www/html/bugzilla
ServerName local.bugzilla.com
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log commona

AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit FileInfo Indexes



and is followed by

LoadModule passenger_module /opt/tarantula/rails/vendor/bundle/ruby/1.9.1/gems/passenger-3.0.15/ext/apache2/mod_passenger.so
PassengerRoot /opt/tarantula/rails/vendor/bundle/ruby/1.9.1/gems/passenger-3.0.15
PassengerRuby /usr/local/rvm/wrappers/ruby-1.9.3-p327@global/ruby


I also updated my /etc/hosts file to include

127.0.0.1 local.bugzilla.com

When I try to access local.bugzilla.com from my browser I get Tarantula..
1 person has
this problem
+1
Reply
  • Ari Hakala (Prove Expertise Oy) December 18, 2012 15:36
    We use following configuration under /etc/httpd/conf.d to set up different subdirectories for applications.

    # more tarantula.conf
    LoadModule passenger_module /usr/local/rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.15/ext/apache2/mod_passenger.so
    PassengerRoot /usr/local/rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.15
    PassengerRuby /usr/local/rvm/wrappers/ruby-1.9.3-p194/ruby

    RackBaseURI /t

    Options -MultiViews

    # more bugzilla.conf
    Alias /bugzilla/var/lib/bugzilla/data/webdot /var/lib/bugzilla/data/webdot
    Alias /bugzilla /usr/share/bugzilla

    AddHandler cgi-script .cgi
    Options +Indexes +ExecCGI +FollowSymLinks
    DirectoryIndex index.cgi index.html
    AllowOverride Limit Options FileInfo
    AddType application/vnd.mozilla.xul+xml .xul
    AddType application/rdf+xml .rdf
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited indifferent, undecided, unconcerned sad, anxious, confused, frustrated

  • Ari Hakala (Prove Expertise Oy) December 18, 2012 15:37
    One option to consider is to run both applications in own virtual machines. Propably easier to set up,
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited indifferent, undecided, unconcerned sad, anxious, confused, frustrated