环境:
centos 7
Apache 2.4.6
Znuny 6.033
一、问题:
1、 链接URI地址出现OTRSAgentInterface参数
http://192.168.0.217/index.pl?OTRSAgent ... PhWXwdrlKH,
这让我无法创建一个相同的页面(CTI功能)来创建工单,因为OTRSAgentInterface字符是随机的,无法找出相同点,每次都要重新登陆。
2、 在点击系统管理-系统配置后,更改任何参数。点击部署之后,会弹出登陆地址我想这也和OTRSAgentInterface的出现有关。
二、操作过程
众所周知,zunny的登陆地址为:http://ip/otrs/index.pl但对我来说地址有些长,
我希望直接访问http://IP/index.pl即可,于是我找到了以下帖子。
https://forums.otterhub.org/viewtopic.php?f=60&t=9329
更改后就出现OTRSAgentInterface的问题。
1、我仍然测试过将http://ip/otrs/index.pl改为http://ip/itsm/index.pl,就不会出现 OTRSAgentInterface字符,所以我想一定是隐藏otrs字符的问题。
代码如下:
ScriptAlias /itsm/ "/opt/otrs/bin/cgi-bin/"
<Directory "/opt/otrs/bin/cgi-bin/">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
#
# Below is what we copied from the <Location> section
#
ErrorDocument 403 itsm/index.pl
# DirectoryIndex itsm/index.pl
AddHandler perl-script index.pl .cgi <----- change ScriptHandler setting here.
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
</Directory>
URL encounter OTRSAgentInterface problem
Moderator: crythias
-
- Znuny superhero
- Posts: 635
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: URL encounter OTRSAgentInterface problem
im too lazy to translate this..
however, if your change the ScriptAlias at *.conf file, you have to change it as well at Admin > System Configuration > ScriptAlias
however, if your change the ScriptAlias at *.conf file, you have to change it as well at Admin > System Configuration > ScriptAlias
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
Re: URL encounter OTRSAgentInterface problem
Thank you very much for your help. I deleted the "/" in scriptalias of *. Conf, and this problem has been solved,Thanks.