[otrs] Changing URL names
Marcus Dennis
MDennis at depaulindustries.com
Mon Jul 2 13:05:53 GMT 2007
The directives you're looking for:
LoadModule rewrite_module modules/mod_rewrite.so
RewriteEngine On
RewriteRule ^/$ /otrs/index.pl [R]
The first line is actually probably already in the httpd.conf, commented
out with a # sign. It loads the piece of apache that deals with this
kind of redirection. The second line turns it on. The third line tells
it what to do. In case you're not familiar with regular expressions, ^
means the beginning of a string, and $ means the end of a string, so ^/$
means look for a / all by itself (nothing else). This is replaced by
/otrs/index.pl. The [R] flag says to actually reload the page with the
new path instead of silently redirecting (so that other things on the
page know to look for stuff in /otrs instead of /).
-----Original Message-----
From: otrs-bounces at otrs.org [mailto:otrs-bounces at otrs.org] On Behalf Of
Nils Breunese (Lemonbit)
Sent: Monday, July 02, 2007 11:55 AM
To: User questions and discussions about OTRS.org
Subject: Re: [otrs] Changing URL names
Greg Evans wrote:
> I'm open-source Illiterate so bare with me on my silly questions.
> I plan on using OTRS as an internal help desk for our small
> company. I don't need the customers to have any functionality with
> OTRS. I don't know how to change the default agent login from
> http://localhost/otrs/index.pl to something like Http://
> www.agenthelpdesk.com. Where Do i make these changes? I don't
> know jack about apache, but I'm guessing the changes have to happen
> somewhere in there... Unfortunately, I don't know the first thing
> about it. I am somewhat familiar with Microsoft IIS so any help on
> this issue would be greatly appreciated.
1. You need to setup DNS so that www.agenthelpdesk.com points to the
machine that OTRS is running on. This is outside of OTRS and depends
on your setup.
2. Set $Self->{'FQDN'} = 'www.agenthelpdesk.com'; in Kernel/Config.pm
3. Add something like 'Redirect / /otrs/index.pl' in the httpd.conf
file or put this in a .htaccess file in the document root.
Nils Breunese.
More information about the otrs
mailing list