
Hi Christoph,
Ich habe OTRS ebenfalls als VHost laufen. Anbei meine Konfiguration:
<VirtualHost IP:80>
UseCanonicalName Off
DocumentRoot /opt/otrs/
ServerName otrs.meine-domain.net:80
ServerAdmin webmaster@meine-domain.net
ErrorLog /var/log/httpd/otrs_error.log
CustomLog /var/log/httpd/otrs_access.log combined
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
ScriptAlias / "/opt/otrs/bin/cgi-bin/"
Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
PerlModule Apache::Reload
PerlInitHandler Apache::Reload
-----Original Message----- From: otrs-de-bounces@otrs.org [mailto:otrs-de-bounces@otrs.org] On Behalf Of Christoph Haas Sent: Monday, August 08, 2005 1:57 PM To: User questions and discussions about OTRS.org in German Subject: Re: [otrs-de] otrs-Installation als name based virtual host?
Hallo Dieter, hallo Christian,
leider mache ich immer noch mit der Konfiguration von OTRS als Apache2-name based virtual host herum :-(
Ich bin bis jetzt nur einen kleinen Schritt weitergekommen: das Problem scheint wohl die "<Location />"-Direktive zu sein. Irgendwie scheint er "/" nicht zu finden ...
Unten nochmals die aktuelle Fassung von /etc/apache2/vhosts.d/otrs.conf
<Verzweiflung> Bin ich denn der Einzigste, der OTRS als Apache2-named based virtual host arbeiten lassen will??? </Verzweiflung>
Trotzdem danke! Gruss Christoph.
ServerAdmin netzwerke@meinedomain.de ServerName otrs.meinedomain.de DocumentRoot /opt/otrs/bin/cgi-bin/ DirectoryIndex index.pl Alias /otrs-web "/opt/otrs/var/httpd/htdocs" ScriptAlias /otrs "/opt/otrs/bin/cgi-bin/" ErrorLog /var/log/apache2/otrs-error_log CustomLog /var/log/apache2/otrs-access_log combined
# don't loose time with IP address lookups HostnameLookups Off
# needed for named virtual hosts UseCanonicalName Off
# configures the footer on server-generated documents ServerSignature On
# load all otrs modules Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
# Apache::Reload - Reload Perl Modules when Changed on Disk PerlModule Apache::Reload PerlInitHandler Apache::Reload
# directory settings
AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all </Directory>
AllowOverride None Order allow,deny Allow from all </Directory> # set mod_perl2 options <Location /> #ErrorDocument 403 /customer.pl # AllowOverride None AllowOverride ALL ErrorDocument 403 /index.pl SetHandler perl-script PerlHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders Order allow,deny Allow from all </Location> </VirtualHost>
-- Mit freundlichen Gruessen / Yours sincerely Christoph Haas Linux User #99546 GnuPG-/PGP-fingerprint: 944B D713 F72F 4398 B156 8089 DA8B 68F1 1543 51C3 GnuPG-/PGP-public-key: http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x154351C3