Hallo Dennis,
[ 2. OTRS Instanz ]
On Di, Jun 14, 2005 at 01:42:09 +0200, Dennis Schwan wrote:
>Ich habe eine zweite Installation angelegt. Das Problem ist: Wenn ich
>auf den zweiten Vhost gehe zeigt er mir trotzdem den ersten an. Er
>meckert dann auch, dass in der Config.pm der SecureMode aktiv w�re, das
>ist er aber nicht. Das verstehe ich nicht ganz. Mein 2ter VHost:
>
><VirtualHost 192.168.245.101:80>
>
> ServerName otrs2.ems-ag.de
> ServerAlias otrs2
> ServerAdmin [EMAIL PROTECTED]
> DocumentRoot /opt/otrs2/bin/cgi-bin
> ErrorLog /var/log/apache2/otrs2_error_log
> TransferLog /var/log/apache2/otrs2_access_log
Sieht gut aus.
> Perlrequire /opt/otrs2/scripts/apache2-perl-startup.pl
Schau mal in dieses Skript. Hier musst du relativ weit oben auch noch
die Pfade anpassen.
> PerlModule Apache::Reload
> PerlInitHandler Apache::Reload
>
>#ScriptAlias / "/opt/otrs2/bin/cgi-bin/"
Wieso kommentierst du den ScriptAlias aus? Den brauchst du unbedingt,
lass den mal drinn ;-). Z.B.:
ScriptAlias /otrs2 "/opt/otrs2/bin/cgi-bin/"
>Alias /otrs-web/ "/opt/otrs2/var/httpd/htdocs/"
Das musst du auch anpassen:
Alias /otrs2-web/ "/opt/otrs2/var/httpd/htdocs/"
>
><Location />
> ErrorDocument 403 customer.pl
> DirectoryIndex customer.pl
># SetHandler perl-script
># PerlHandler ModPerl::Registry
># Options +ExecCGI
># PerlOptions +ParseHeaders
></Location>
>
><LocationMatch /.*\.pl>
> Options +ExecCGI
> SetHandler cgi-script
> SetHandler perl-script
> PerlHandler ModPerl::Registry
> PerlOptions +ParseHeaders
></LocationMatch>
>
><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>
>
></VirtualHost>
OK, der Rest schaut auch gut aus. Du verwendest mod_perl und deshalb
muss auch noch der Webserver restartet werden, nachdem du die �nderungen
�bernommen hast.
Ciao,
Christian
--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
http://www.otrs.de/ :: Manage your communication!
_______________________________________________
OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/
Archiv: http://lists.otrs.org/pipermail/otrs-de/
Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/
Support oder Consulting fuer Ihr OTRS System?
=> http://www.otrs.de/