Do you use Virtual Hosts? Do you have different hostnames? It's hard to
help when we don't know the details of you apache configuration.
- Renée
Ikhsan Muhammad schrieb:
> Hi everybody,
>
> I am trying to run 2 OTRS instances with only 1 apache and 1 MySql. I am
> running on Windows XP.
> I am going to use 1 OTRS for production and 1 OTRS for development, which I
> call OTRS Prod and OTRS Dev respectively.
> The path for OTRS production is : C:/PROGRA~1/OTRS/OTRS/
> The path for OTRS development is : C:/PROGRA~1/OTRS/otrsdev/
>
> Here what I have done:
> 1. Create new directory containing the OTRS for development
> (C:/PROGRA~1/OTRS/otrsdev/)
>
> 2. Add include statement in Apache's httpd.conf:
> # include the OTRS Prod configuration
> Include 'C:/PROGRA~1/OTRS/OTRS/scripts/apache2-httpd-new.include.conf'
>
> # include the OTRS dev configuration
> Include 'C:/PROGRA~1/OTRS/otrsdev/scripts/apache2-httpd-new.include.conf'
>
> # ---
>
> 2. Change all statement in file
> 'C:/PROGRA~1/OTRS/otrsdev/scripts/apache2-httpd-new.include.conf' from
> C:/PROGRA~1/OTRS/OTRS/ to C:/PROGRA~1/OTRS/otrsdev/
>
> 3. Change the "use lib" statement in
> C:/PROGRA~1/OTRS/otrsdev/scripts/apache2-perl-startup.pl
> use lib "C:/PROGRA~1/OTRS/otrsdev";
> use lib "C:/PROGRA~1/OTRS/otrsdev/Kernel/cpan-lib";
>
> 4. Create new config.pm. Change the database and home directody in config.pm
> .
> $Self->{'Database'} = 'otrsdev';
>
> $Self->{Home} = 'C:/PROGRA~1/OTRS/otrsdev';
>
>
> Now, when I run the OTRS development , http://localhost/otrsdev/index.pl ,
> it used the otrs production database (otrs) instead of otrs development
> database (otrsdev) and use all of the library (Kernel) under
> C:/PROGRA~1/OTRS/OTRS/ instead of C:/PROGRA~1/OTRS/otrsdev. Hence, everytime
> I made a change in the OTRS develoment the OTRS production is also changing
> and vice versa.
>
> I have made some experiment, when I changed the order of the include
> statement in httpd.conf:
>
> # include the OTRS dev configuration
> Include 'C:/PROGRA~1/OTRS/otrsdev/scripts/apache2-httpd-new.include.conf'
>
>
> # include the OTRS production configuration
> Include 'C:/PROGRA~1/OTRS/OTRS/scripts/apache2-httpd-new.include.conf'
>
>
> # ---
>
> The result is that the OTRS production and OTRS development will use the
> otrs development database (otrsdev) and use all of the library (Kernel) from
> C:/PROGRA~1/OTRS/otrsdev.
>
> I am really confused here. Can anyone help me??
>
> Thanx a lot before.
>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> OTRS mailing list: dev - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/dev
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
>
> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> http://www.otrs.com/en/support/enterprise-subscription/
--
Perl-Magazin: http://perl-magazin.de
Perl-Nachrichten: http://perl-nachrichten.de
---------------------------------------------------------------------
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/