Hi,
How do I go about changing/redirecting the URL for customer.pl and index.pl. I've set up two aliases in DNS pointing to the server but I have no idea how to configure apache.
I want http://servicedesk to point to customer.pl and
http://OTRS to point to index.pl
Any assistance would be great
Change customer and agent URL
Moderator: crythias
-
- Znuny newbie
- Posts: 16
- Joined: 22 Mar 2012, 10:21
- Znuny Version: 31000
- Real Name: Matthew Smith
-
- 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: Change customer and agent URL
apaches rewrite module would be your friend
here is an example
here is an example
Code: Select all
order deny,allow
Allow from all
Options +FollowSymlinks
<IfModule mod_rewrite.c>
RewriteEngine on
# Customer Login
RewriteCond %{REQUEST_URI} ^.*/servicedesk/?$
RewriteRule ^.*$ http://your.host.name/otrs/customer.pl [R]
# Agent Login
RewriteCond %{REQUEST_URI} ^.*/OTRS/?$
RewriteRule ^.*$ http://your.host.name/otrs/otrs/index.pl [R]
</IfModule>
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
Re: Change customer and agent URL
Where to place this ?