[SOLVED] How to get a friendly URL

Moderator: crythias

Post Reply
bleitner
Znuny newbie
Posts: 17
Joined: 29 Apr 2012, 18:09
Znuny Version: 3.1.4
Real Name: bob
Company: temboo

[SOLVED] How to get a friendly URL

Post by bleitner »

I'm trying to get to a friendly url:

http://otrs.domain.com for http://otrs.domain.com/otrs/index.pl
and
http://helpdesk.domain.com for http://otrs.domain.com/otrs/customer.pl

I've tried using the solution is this How-To:
viewtopic.php?f=60&t=9329
which works for index.pl, but doesn't seem to solve for customer.pl. I've asked in multiple threads and have not received any answers.

I've tried using the solution in this thread:
viewtopic.php?f=62&t=15133
but when I add the rewrite to the httpd.conf file the browser tries to download the *.pl file rather than render it.

Can anyone provide some assistance with achieving this?
Last edited by bleitner on 01 Aug 2012, 02:54, edited 1 time in total.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to get a friendly URL

Post by crythias »

index.pl is DirectoryIndex in SetHandler perl-script
It would make sense to include a DirectoryIndex to include customer.pl
If not, create a new folder with customer.pl being index.pl in it and point to it in the customer virtualhost.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
bleitner
Znuny newbie
Posts: 17
Joined: 29 Apr 2012, 18:09
Znuny Version: 3.1.4
Real Name: bob
Company: temboo

Re: How to get a friendly URL

Post by bleitner »

Got this done, had to add some virtual host for each scenario as well as the rewrites for each.
Post Reply