OTRS Customer URL

Moderator: crythias

Locked
Madwin
Znuny newbie
Posts: 15
Joined: 11 Jan 2011, 00:22
Znuny Version: 3.0.4

OTRS Customer URL

Post by Madwin »

Hi

I'd like to remove some things in the Customer URL, the OTRS default URL is [url]http://<server-name-or-ip-address>/otrs/customer.pl[/url] and the admin URL is [url]http://<server-name-or-ip-address>/otrs/index.pl[/url], is there a way to remove the /otrs/customer.pl and index.pl from the URL? since my OTRS is going to be public and accesed publicly, I'm trying to make it as secure as possible, so if there is anyway to do this, I'd really appreciate the help

Regards,
OTRS: 3.0.4
OS: Debian Lenny
Apache2 / MySQL5
cbravo
Znuny advanced
Posts: 113
Joined: 18 Nov 2010, 00:33
Znuny Version: 3.0

Re: OTRS Customer URL

Post by cbravo »

how about making an html page that displays a table with two columns. Left columns would be something like customers click here and right one with agents click here. After that you would automatically make the redirection and neither clients nor agents would have to write down the whole address.
OTRS: 3.08
OS: Ubuntu
Apache2/MySQL 5
vanoastro
Znuny newbie
Posts: 6
Joined: 17 Jan 2011, 11:14
Znuny Version: 2.4

Re: OTRS Customer URL

Post by vanoastro »

Hi,
You are running apache2. So what about rewrite rules in apache using mod_rewrite?
Here you can find guide http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

Regards
vanoastro
Madwin
Znuny newbie
Posts: 15
Joined: 11 Jan 2011, 00:22
Znuny Version: 3.0.4

Re: OTRS Customer URL

Post by Madwin »

Thank you both for the replies

i'll give the mod_rewrite a look to see if that solves my problem, but i don't know if that would create any problems with OTRS itself, anyway, I'll go and give it a try and post the results here

Regards,
OTRS: 3.0.4
OS: Debian Lenny
Apache2 / MySQL5
Madwin
Znuny newbie
Posts: 15
Joined: 11 Jan 2011, 00:22
Znuny Version: 3.0.4

Re: OTRS Customer URL

Post by Madwin »

Well, playing around with this, i was able to change the name of otrs on the URL, but still I'm not able to hide the customer.pl, or index.pl on the OTRS URL, if anyonw has done this, i'd really appreciate the help, in the meantime, i'll keep playing with this

Regards,
OTRS: 3.0.4
OS: Debian Lenny
Apache2 / MySQL5
Madwin
Znuny newbie
Posts: 15
Joined: 11 Jan 2011, 00:22
Znuny Version: 3.0.4

Re: OTRS Customer URL

Post by Madwin »

Well, I've kinda succeded, i rewrote the http://my-domain/otrs/customer.pl to http://my-domain/my-name/my-file-name, and this is without the .pl, I did this using the following 2 lines in the httpd.conf file in apache2

Code: Select all

RewriteEngine on
RewriteRule ^/otrs/customer\.pl$ /my-name/my-file-name
if anyone has a better way to hide the URLs when i log in, i'd welcome the help on this.

Regards,
OTRS: 3.0.4
OS: Debian Lenny
Apache2 / MySQL5
Locked