
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. _________________________________________________________________ Like puzzles? Play free games & earn great prizes. Play Clink now. http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2

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.

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@otrs.org [mailto:otrs-bounces@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.

Marcus Dennis wrote:
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.
mod_rewrite doesn't deal with redirection, it deals with *rewriting* the URL (so you see http://www.agenthelpdesk.com/ in your address bar, but actually the webserver is showing you http:// www.agenthelpdesk.com/otrs/index.pl).
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 /).
While this would work, I'd say a simple one-line Redirect is a lot easier (no regular expression needed). :o) Nils Breunese.
participants (3)
-
Greg Evans
-
Marcus Dennis
-
Nils Breunese (Lemonbit)