Multiple Bugzilla databases with a single installation

View: New views
4 Messages — Rating Filter:   Alert me  

Multiple Bugzilla databases with a single installation

by Xavier Rosario Negron :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.  Recently I created two databases with one installation of bugzilla.
This are the two configuration files I am using.

#Bugzilla Install
<Directory /var/www/html/its>
    AddHandler cgi-script .cgi
    Options +Indexes +ExecCGI
    DirectoryIndex index.cgi
    AllowOverride Limit
</Directory>

#Bugzilla Install
<Directory /var/www/html/bugs_dev>
    SetEnv PROJECT bugs_dev
    AddHandler cgi-script .cgi
    Options +Indexes +ExecCGI
    DirectoryIndex index.cgi
    AllowOverride Limit
</Directory>

Whe I access them it only uses one database.  I tried to used the virtual
host configuration, but it didn't work.  I tried a work arround.  I created
a symbolic for one of the environments and this way I can access the tow
databases.  Does there another way to solve this matter?  Thanks.
--
Xavier Rosario Negrón
Especialista Sistemas Operativos
Oficina Sistemas de Información
Administración Central
Universidad de Puerto Rico
Tel. 787-250-0000 x.5418
email- xavier.rosario@...
_______________________________________________
support-bugzilla mailing list
support-bugzilla@...
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-bugzilla@... in the To: field when you reply.

Re: Multiple Bugzilla databases with a single installation

by ericrch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Howdy Xavier,

You need to have a different localconfig in each bugzilla install
directory.  Also, each data/params should be appropriately set for the
respective URLs.

Good luck!
e.

Xavier Rosario Negron wrote:

> Hi.  Recently I created two databases with one installation of bugzilla.
> This are the two configuration files I am using.
>
> #Bugzilla Install
> <Directory /var/www/html/its>
>     AddHandler cgi-script .cgi
>     Options +Indexes +ExecCGI
>     DirectoryIndex index.cgi
>     AllowOverride Limit
> </Directory>
>
> #Bugzilla Install
> <Directory /var/www/html/bugs_dev>
>     SetEnv PROJECT bugs_dev
>     AddHandler cgi-script .cgi
>     Options +Indexes +ExecCGI
>     DirectoryIndex index.cgi
>     AllowOverride Limit
> </Directory>
>
> Whe I access them it only uses one database.  I tried to used the virtual
> host configuration, but it didn't work.  I tried a work arround.  I created
> a symbolic for one of the environments and this way I can access the tow
> databases.  Does there another way to solve this matter?  Thanks.
>  


_______________________________________________
support-bugzilla mailing list
support-bugzilla@...
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-bugzilla@... in the To: field when you reply.

Parent Message unknown Re: Multiple Bugzilla databases with a single installation

by Gervase Markham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 03/11/09 15:32, Xavier Rosario Negron wrote:
> Whe I access them it only uses one database.

The name of the database used is defined in the "localconfig" file, not
in your webserver configuration.

Gerv
_______________________________________________
support-bugzilla mailing list
support-bugzilla@...
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-bugzilla@... in the To: field when you reply.

Re: Multiple Bugzilla databases with a single installation

by Max Kanat-Alexander :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/03/2009 07:32 AM, Xavier Rosario Negron wrote:
> Whe I access them it only uses one database.  I tried to used the virtual
> host configuration, but it didn't work.  I tried a work arround.  I created
> a symbolic for one of the environments and this way I can access the tow
> databases.

        Why use one installation for both databases, why not just install
Bugzilla twice?

        In any case, you have to do:

        PROJECT=bugs_dev ./checksetup.pl

        To have a "checksetup.pl" for the bugs_dev one.

        -Max
--
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.
_______________________________________________
support-bugzilla mailing list
support-bugzilla@...
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-bugzilla@... in the To: field when you reply.