Default Site - Debain Apache site-available

Allgemein Fragen, deutsche News, Ankündigungen & Events zum OTRS
Post Reply
mscheller
Znuny newbie
Posts: 3
Joined: 02 Aug 2021, 15:38
Znuny Version: 6.0
Real Name: Markus Scheller

Default Site - Debain Apache site-available

Post by mscheller »

Hallo,

ich habe Znuny installiert und soweit läuft alles. Nun möchte ich das beim Aufruf der Seite nicht otrs.domain.local/otrs eingegeben werde muss sondern nur otrs.domain.local

Folgendes habe ich gemacht:

sudo cp -va /opt/otrs/scripts/apache2-httpd.include.conf /etc/apache2/sites-available/otrs.conf

cd /etc/apache2/sites-available/

sudo chown root:root otrs.conf

sudo a2ensite otrs

systemctl reload apache2


Beim Aufruf der Seite otrs.domain.local, erhalte ich nun folgende Seite / Fehler! Leider weiß ich nicht mehr weiter.

#!/usr/bin/env perl
# --
# Copyright (C) 2001-2021 xxx, https://otrs.com/
# Copyright (C) 2021 Znuny GmbH, https://znuny.org/
# --
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see https://www.gnu.org/licenses/gpl-3.0.txt.
# --

use strict;
use warnings;

# use ../../ as lib location
use FindBin qw($Bin);
use lib "$Bin/../..";
use lib "$Bin/../../Kernel/cpan-lib";
use lib "$Bin/../../Custom";

# 0=off;1=on;
my $Debug = 0;

# load agent web interface
use Kernel::System::Web::InterfaceAgent();
use Kernel::System::ObjectManager;

local $Kernel::OM = Kernel::System::ObjectManager->new();

my $Interface = Kernel::System::Web::InterfaceAgent->new( Debug => $Debug );
$Interface->Run();
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Default Site - Debain Apache site-available

Post by root »

Hi,

versuche mal

Code: Select all

a2enmod perl
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
mscheller
Znuny newbie
Posts: 3
Joined: 02 Aug 2021, 15:38
Znuny Version: 6.0
Real Name: Markus Scheller

Re: Default Site - Debain Apache site-available

Post by mscheller »

Module perl already enabled!!

Ne leider nicht, trotzdem Danke.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Default Site - Debain Apache site-available

Post by root »

Hi,

dann bitte noch a2enmod cgi dazu.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply