Mehrer Systeme nebeinander

Hilfe zu Znuny Problemen aller Art
Locked
zrako02
Znuny newbie
Posts: 55
Joined: 13 Nov 2006, 09:01

Mehrer Systeme nebeinander

Post by zrako02 »

Hallo ich will mehrer Systeme parallel laufen lassen:

1. System otrs1 in /opt/otrs1
2. System otrs2 in /opt/otrs2
3. System otrs3 in /opt/otrs3

ist kein Produktivsystem nur Spielwiese.

Man kann ja verschieden conf dateien in /etc/apache2/init.d/ legen
alsp z.Bsp otrs1.conf otrs2.conf otrs3.conf:

Code: Select all

#
# Basic apache configuration file for OTRS
#
# agent, admin and customer frontend
#
ScriptAlias /otrs1/ "/opt/otrs1/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs1/var/httpd/htdocs/"
#
# Directory settings
#
<Directory "/opt/otrs1/bin/cgi-bin/">
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
</Directory>
<Directory "/opt/otrs1/var/httpd/htdocs/">
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Code: Select all

#
# Basic apache configuration file for OTRS
#
# agent, admin and customer frontend
#
ScriptAlias /otrs2/ "/opt/otrs2/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs2/var/httpd/htdocs/"
#
# Directory settings
#
<Directory "/opt/otrs2/bin/cgi-bin/">
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
</Directory>
<Directory "/opt/otrs2/var/httpd/htdocs/">
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Code: Select all

#
# Basic apache configuration file for OTRS
#
# agent, admin and customer frontend
#
ScriptAlias /otrs3/ "/opt/otrs3/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs3/var/httpd/htdocs/"
#
# Directory settings
#
<Directory "/opt/otrs3/bin/cgi-bin/">
    AllowOverride None
    Options +ExecCGI -Includes
    Order allow,deny
    Allow from all
</Directory>
<Directory "/opt/otrs3/var/httpd/htdocs/">
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
Nur wenn ich jetzt den Alias otrs-web auch noch entsprechend ändere geht gar nichts mehr.
Muss der Alias otrs-web heissen

oder wie kann ich die directive
# Frontend::WebPath
# (Define base URL of images, css, js)
$Self->{'Frontend::WebPath'} = '/otrs-web/';

# Frontend::ImagePath
# (Define URL of images)
$Self->{'Frontend::ImagePath'} = '/otrs-web/images/Standard/';
verwenden? Das geht wohl nicht:

Code: Select all

# Frontend::WebPath
    # (Define base URL of images, css, js)
    $Self->{'Frontend::WebPath'} = '/otrs1-web/';

    # Frontend::ImagePath
    # (Define URL of images)
    $Self->{'Frontend::ImagePath'} = '/otrs1-web/images/Standard/';
OTRS: 2.4.5
OS: OpenSuse 11.2
Apache2/MySQL 5
Locked