We wish to rename the OTRS folder - i.e. change http://domain/otrs/index.pl to http://domain/somethingelse/index.pl.
Is this possible and how can it be done?
Solved: Rename the OTRS folder
Moderator: crythias
-
- Znuny expert
- Posts: 167
- Joined: 26 Jan 2011, 13:23
- Znuny Version: 3.0.7
- Real Name: Rod Behr
- Company: Impact
- Location: London, United Kingdom
- Contact:
Solved: Rename the OTRS folder
Last edited by RBehr on 19 Apr 2011, 16:54, edited 1 time in total.
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Rename the OTRS folder
you need to chance the Aliases in your webservers config
look into /etc/apache2/conf.d/otrs.conf
look into /etc/apache2/conf.d/otrs.conf
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
-
- Znuny expert
- Posts: 167
- Joined: 26 Jan 2011, 13:23
- Znuny Version: 3.0.7
- Real Name: Rod Behr
- Company: Impact
- Location: London, United Kingdom
- Contact:
Re: Rename the OTRS folder
Thank you Wolfgang
Our setup is under Windows, so I assume you refer to c:\Program Files\OTRS\Apache\conf\httpd.conf?
Once the references in this file are changed, what changes need to be made to the actual folder structure? Confusingly, there are two OTRS folders (c:\Program Files\OTRS\OTRS\...). Which of these should be renamed? There also appear to be other files which make hard-coded reference to these folder structures:
Again, your help is sincerely appreciated.
Our setup is under Windows, so I assume you refer to c:\Program Files\OTRS\Apache\conf\httpd.conf?
Once the references in this file are changed, what changes need to be made to the actual folder structure? Confusingly, there are two OTRS folders (c:\Program Files\OTRS\OTRS\...). Which of these should be renamed? There also appear to be other files which make hard-coded reference to these folder structures:
- c:\program files\otrs\apache\conf\httpd.conf
c:\program files\otrs\kernel\config.pm
c:\program files\otrs\scripts\apache2-perl-startup.pl
c:\program files\otrs\scripts\login.pl
c:\program files\otrs\var\httpd\htdocs\index.html
others?
Again, your help is sincerely appreciated.
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Rename the OTRS folder
I see - you have no signature - therefore I can only guess ...
I don't have a windows installation, but look in
c:\program files\otrs\apache\conf\httpd.conf
first or look for files like otrs.conf in path c:\program files\otrs\apache\ and it's subfolder
you need to find there something like
and you want to change the <Location /otrs> to the URL you want
I don't have a windows installation, but look in
c:\program files\otrs\apache\conf\httpd.conf
first or look for files like otrs.conf in path c:\program files\otrs\apache\ and it's subfolder
you need to find there something like
Code: Select all
<Location /otrs>
# ErrorDocument 403 /otrs/customer.pl
ErrorDocument 403 /otrs/index.pl
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
Order allow,deny
Allow from all
</Location>
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Rename the OTRS folder
and probaly this here http://forums.otrs.org/viewtopic.php?f=62&t=9334 also needs to be checked
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
-
- Znuny expert
- Posts: 167
- Joined: 26 Jan 2011, 13:23
- Znuny Version: 3.0.7
- Real Name: Rod Behr
- Company: Impact
- Location: London, United Kingdom
- Contact:
Re: Rename the OTRS folder
Ultimately, needed to make the following changes:
c:\program files\otrs\apache\conf\httpd.conf:
Line 500: "RedirectMatch ^/$ /avsm/index.pl"
c:\program files\otrs\scripts\apache2-httpd.include.conf:
Line 7: ScriptAlias /avsm/ "C:/PROGRA~1/OTRS/otrs/bin/cgi-bin/"
Core ==> ScriptAlias = /avsm/
Restart OTRS Services
This worked. Many thanks for your help.
c:\program files\otrs\apache\conf\httpd.conf:
Line 500: "RedirectMatch ^/$ /avsm/index.pl"
c:\program files\otrs\scripts\apache2-httpd.include.conf:
Line 7: ScriptAlias /avsm/ "C:/PROGRA~1/OTRS/otrs/bin/cgi-bin/"
Core ==> ScriptAlias = /avsm/
Restart OTRS Services
This worked. Many thanks for your help.
Rod Behr
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
Software Design Manager and Database Analyst | Impact Audiovisual | London
Installation: OTRS 3.0.7, Apache 2, Strawberry Perl 5 on Ubuntu 10.04.3 Server with separate MySQL Server, also on Ubuntu 10.04.3
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: Solved: Rename the OTRS folder
No problem - you found the way yourself 

Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting