[CLOSED] OTRS set address login
Moderator: crythias
-
- Znuny superhero
- Posts: 682
- Joined: 29 May 2012, 22:47
- Znuny Version: 6.0.24
- Real Name: Klaus Salazar
- Location: Perú
[CLOSED] OTRS set address login
Greetings, as I can do for that when a agents loguin in the web entering to http://192.168.1.2/otrs/index.pl just dial http://192.168.1.2 i know that this is done with apache but I think that otrs has your own template and here is where I should set?
Last edited by klausneil on 05 Dec 2012, 18:23, edited 1 time in total.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: OTRS set address login
I put an index.html file with a meta refresh in that apache DocumentRoot folder, personally.
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
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
-
- Znuny superhero
- Posts: 682
- Joined: 29 May 2012, 22:47
- Znuny Version: 6.0.24
- Real Name: Klaus Salazar
- Location: Perú
Re: OTRS set address login
For begin crythias thanks for all your help, Well I have in /var/www/index.php the following
<html>
<head>
<meta http-equiv="Refresh" content="0;url=http://midomian.com/otrs/index.pl">
</head>
because apache by default document root is /var/www on Debian but I have created a file .htaccess including you one line Options -Indexes but still the same. Now I have seen the following addresses:
/opt/otrs/var/httpd/htdocs/js/thirdparty/ckeditor-3.6.3/.htaccess
/opt/otrs/bin/fcgi-bin/index.pl
/opt/otrs/bin/cgi-bin/index.pl
Now there a template in /opt/otrs/var/httpd/htdocs/ and here is "index.html" "js" "skins" index.html within this content that direciona a /otrs/index.pl This would help?
<html>
<head>
<meta http-equiv="Refresh" content="0;url=http://midomian.com/otrs/index.pl">
</head>
because apache by default document root is /var/www on Debian but I have created a file .htaccess including you one line Options -Indexes but still the same. Now I have seen the following addresses:
/opt/otrs/var/httpd/htdocs/js/thirdparty/ckeditor-3.6.3/.htaccess
/opt/otrs/bin/fcgi-bin/index.pl
/opt/otrs/bin/cgi-bin/index.pl
Now there a template in /opt/otrs/var/httpd/htdocs/ and here is "index.html" "js" "skins" index.html within this content that direciona a /otrs/index.pl This would help?
Last edited by klausneil on 02 Feb 2013, 18:21, edited 1 time in total.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: OTRS set address login
.htaccess will be ignored if AllowOverride is none
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
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
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: OTRS set address login
Maybe. I can't vouch for other people's work.
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
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
-
- Znuny superhero
- Posts: 682
- Joined: 29 May 2012, 22:47
- Znuny Version: 6.0.24
- Real Name: Klaus Salazar
- Location: Perú
Re: OTRS set address login
ok but if change $Self->{ScriptAlias} = ''; in /opt/otrs/scripts/apache2-httpd.include.conf and add
# agent, admin and customer frontend
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/" by Alias / "/opt/otrs/bin/cgi-bin/"
and change Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/" by Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
After this, in the forum I ask that i have to tell mod_perl to run in /opt/otrs/bin/cgi-bin/ Location section below would not work, because it will break all CSS, so you can just comment the whole thing out
# <Location /otrs>
# ErrorDocument 403 /otrs/customer.pl
# ErrorDocument 403 /otrs/index.pl
# DirectoryIndex index.pl
# SetHandler perl-script
# PerlResponseHandler ModPerl::Registry
# Options +ExecCGI
# PerlOptions +ParseHeaders
# PerlOptions +SetupEnv
# Order allow,deny
# Allow from all
# </Location>
Also that change this, Instead of the <Location> directive, we will just copy needed parts into Directory section AND change SetHandler to AddHandler.
<Directory "/opt/otrs/bin/cgi-bin/">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
#
# Below is what we copied from the <Location> section
#
ErrorDocument 403 /index.pl
DirectoryIndex index.pl
AddHandler perl-script .pl .cgi <----- change ScriptHandler setting here.
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
</Directory>
this is the part I do not understand, please help me
# agent, admin and customer frontend
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/" by Alias / "/opt/otrs/bin/cgi-bin/"
and change Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/" by Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
After this, in the forum I ask that i have to tell mod_perl to run in /opt/otrs/bin/cgi-bin/ Location section below would not work, because it will break all CSS, so you can just comment the whole thing out
# <Location /otrs>
# ErrorDocument 403 /otrs/customer.pl
# ErrorDocument 403 /otrs/index.pl
# DirectoryIndex index.pl
# SetHandler perl-script
# PerlResponseHandler ModPerl::Registry
# Options +ExecCGI
# PerlOptions +ParseHeaders
# PerlOptions +SetupEnv
# Order allow,deny
# Allow from all
# </Location>
Also that change this, Instead of the <Location> directive, we will just copy needed parts into Directory section AND change SetHandler to AddHandler.
<Directory "/opt/otrs/bin/cgi-bin/">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
#
# Below is what we copied from the <Location> section
#
ErrorDocument 403 /index.pl
DirectoryIndex index.pl
AddHandler perl-script .pl .cgi <----- change ScriptHandler setting here.
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
</Directory>
this is the part I do not understand, please help me
Re: OTRS set address login
please don't try these kind of configs if you don't have any clue on apache configs.
You really shold hire professional help for OTRS Setup and/or operations
You really shold hire professional help for OTRS Setup and/or operations
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny superhero
- Posts: 682
- Joined: 29 May 2012, 22:47
- Znuny Version: 6.0.24
- Real Name: Klaus Salazar
- Location: Perú
Re: OTRS set address login
Thanks for the recommendation but the idea of having a forum is to give and receive all the help, if this were that easy to hire a specialist would have been the first to do before of make me this forum member 

Last edited by klausneil on 04 Dec 2012, 23:23, edited 3 times in total.
-
- Znuny superhero
- Posts: 682
- Joined: 29 May 2012, 22:47
- Znuny Version: 6.0.24
- Real Name: Klaus Salazar
- Location: Perú
Re: OTRS set address login
Still someone who can help you really appreciate your help
Re: OTRS set address login
This forum is on OTRS, you have a lot of basic IT operations questions. The forum can not compensate the knowledge of a professional IT education.
Follow the advice of Crytias and use a simple Meta refresh.
You might also read the apache web server documentation, especially http://httpd.apache.org/docs/current/mo ... write.html
Follow the advice of Crytias and use a simple Meta refresh.
You might also read the apache web server documentation, especially http://httpd.apache.org/docs/current/mo ... write.html
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny superhero
- Posts: 682
- Joined: 29 May 2012, 22:47
- Znuny Version: 6.0.24
- Real Name: Klaus Salazar
- Location: Perú
Re: OTRS set address login
Thanks I'll remember, but I use a meta refresh and this give me the address http://mi.dominio.com/otrs/index.pl I want to know is how I can do so that instead of accessing from http://mi.dominio.com/otrs/index.pl only are http://mi.dominio.com can know this seems a configuration apache but the template of web interface of OTRS so how could do this. thanks.