[gelöst] Apache Problem

Hilfe zu Znuny Problemen aller Art
Locked
thomas91
Znuny advanced
Posts: 103
Joined: 23 Dec 2010, 23:01
Znuny Version: 6.0.18
Location: Lauda-Königshofen

[gelöst] Apache Problem

Post by thomas91 »

Hallo Forum,

ich habe mein System heute neugestartet und jetzt bekomme ich folgende Fehlermeldung:
OTRS:/home/administrator/Desktop# /etc/init.d/apache2 start
Starting web server: apache2[Thu Apr 19 08:37:48 2012] [warn] The Alias directive in /etc/apache2/sites-enabled/otrsindex at line 8 will probably never match because it overlaps an earlier Alias.
[Thu Apr 19 08:37:48 2012] [warn] The ScriptAlias directive in /etc/apache2/sites-enabled/otrsindex at line 9 will probably never match because it overlaps an earlier ScriptAlias.
Syntax error on line 18 of /etc/apache2/sites-enabled/otrsindex:
AllowOverride not allowed here
failed!
/etc/apache2/sites-enabled/otrsindex

Code: Select all

UseCanonicalName Off
DocumentRoot /opt/otrs/
ServerName otrs.ln.intra:80 ServerAdmin webmaster@localhost ErrorLog /var/log/httpd/otrs_error.log CustomLog /var/log/httpd/otrsmain_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

ErrorDocument 403 /index.pl
AllowOverride None
Options +ExecCGI
SetHandler perl-script
PerlHandler ModPerl::Registry
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
PerlSendHeader On
PerlSetupEnv On
Order allow,deny
Allow from all
DirectoryIndex index.pl

ErrorDocument 403 /index.pl AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all DirectoryIndex index.pl AllowOverride None Order allow,deny Allow from all
Last edited by thomas91 on 02 Oct 2013, 10:19, edited 1 time in total.
MfG Thomas

Produktiv:
OTRS: 5.0.9
ITSM: 5.0.?
FAQ: 5.0.?
OS: Debian 9.8 x64
Application: Apache2/MySQL 5.5
VM auf: VMware ESXi 6.5
E-Mails: MS Exchange 2013

-- Achtung, es folgt ein Witz:

Code: Select all

    # dpkg-reconfigure brain
    Paket »brain« ist nicht installiert und es ist keine Info verfügbar.
-- weiter geht's im Thread…[/size]
thomas91
Znuny advanced
Posts: 103
Joined: 23 Dec 2010, 23:01
Znuny Version: 6.0.18
Location: Lauda-Königshofen

Re: Apache Problem

Post by thomas91 »

Hallo Forum,

ich hab das Problem gefunden!
Und zwar war das vor ein paar Wochen versucht, dass OTRS unter http://helpdesk:80 erreicht.
Dazu hab ich unter /etc/apache2/sites-enabled/ die Defaultdatei kopiert und in otrsindex benannt.
Nach dem ich diese aus sites-enabled gelöscht habe funktioniert wieder alles.

Gruß
MfG Thomas

Produktiv:
OTRS: 5.0.9
ITSM: 5.0.?
FAQ: 5.0.?
OS: Debian 9.8 x64
Application: Apache2/MySQL 5.5
VM auf: VMware ESXi 6.5
E-Mails: MS Exchange 2013

-- Achtung, es folgt ein Witz:

Code: Select all

    # dpkg-reconfigure brain
    Paket »brain« ist nicht installiert und es ist keine Info verfügbar.
-- weiter geht's im Thread…[/size]
Locked