Hello
Is it possible to change the name in the url IE
https://xxx/[b]otrs[/b]/customer.pl
https://xxx/[b]otrs[/b]/index.pl
is it just a simple case of changing the folder name?
or will this cause problems?
thanks
Change otrs name in URL
Moderator: crythias
-
- Znuny newbie
- Posts: 9
- Joined: 18 Jun 2021, 08:55
- Znuny Version: OTRS6
- Real Name: Jamie Griffiths
-
- Znuny Employee
- Posts: 132
- Joined: 13 Sep 2021, 09:38
- Znuny Version: Znuny 6.3.x
- Real Name: Shawn Beasley
- Company: Znuny
Re: Change otrs name in URL
What is the desired URL?
-
- Znuny newbie
- Posts: 9
- Joined: 18 Jun 2021, 08:55
- Znuny Version: OTRS6
- Real Name: Jamie Griffiths
Re: Change otrs name in URL
Something like sd (Service Desk)
-
- Znuny Employee
- Posts: 132
- Joined: 13 Sep 2021, 09:38
- Znuny Version: Znuny 6.3.x
- Real Name: Shawn Beasley
- Company: Znuny
-
- Znuny newbie
- Posts: 9
- Joined: 18 Jun 2021, 08:55
- Znuny Version: OTRS6
- Real Name: Jamie Griffiths
Re: Change otrs name in URL
Thanks,
so if I add
Alias /otrs-web/ "/srv/otrs/var/httpd/htdocs/"
ScriptAlias / "/srv/otrs/bin/cgi-bin/"
this will remove otrs?
we would be happy to remove the whole name
so if I add
Alias /otrs-web/ "/srv/otrs/var/httpd/htdocs/"
ScriptAlias / "/srv/otrs/bin/cgi-bin/"
this will remove otrs?
we would be happy to remove the whole name
-
- Znuny superhero
- Posts: 638
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Change otrs name in URL
I guess,
From: http://FQDN/otrs/index.pl
To: http://FQDN/servicedesk/index.pl
Find where the otrs apache script is located
Change
Then, restart webserver...
and also change the ScriptAlias in System Configuration
good luck
From: http://FQDN/otrs/index.pl
To: http://FQDN/servicedesk/index.pl
Find where the otrs apache script is located
Change
Code: Select all
(-) ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
(+) ScriptAlias /servicedesk/ "/opt/otrs/bin/cgi-bin/"
Code: Select all
<IfModule mod_perl.c>
# Setup environment and preload modules
Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl
# Reload Perl modules when changed on disk
PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
# general mod_perl2 options
(-) <Location /otrs>
(+) <Location /servicedesk>
# ErrorDocument 403 /otrs/customer.pl
(-) ErrorDocument 403 /otrs/index.pl
(+) ErrorDocument 403 /servicedesk/index.pl
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
<IfModule mod_version.c>
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
Order allow,deny
Allow from all
</IfModule>
</Location>
# mod_perl2 options for GenericInterface
(-) <Location /otrs/nph-genericinterface.pl>
(+) <Location /servicedesk/nph-genericinterface.pl>
PerlOptions -ParseHeaders
</Location>
</IfModule>
and also change the ScriptAlias in System Configuration
good luck
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