
I would like to make OTRS 3.0 to use the Agent login page by default, instead of the Customer one (our customers don't have access for the time being).
I've read some things, but I'm a bit confused on were to start, or what to change :S
Cheers!
Moderator: crythias
Hum that's part of my problem, were is the apache config file on OTRS? I can see a httpd.conf on /etc/apache2, but it's empty... :SWolfgangf wrote:you can use apache redirect and place your config into a .htaccess file
also a good ideacrythias wrote:For simplicity sake, I'd recommend putting an index.html with meta refresh in /var/www/htdocs or whatever your system's default root.
Code: Select all
order deny,allow
Allow from all
Options +FollowSymlinks
<IfModule mod_rewrite.c>
RewriteEngine on
# hostname only -> Customer Login
RewriteCond %{REQUEST_URI} ^.*/$
RewriteRule ^.*$ https://<otrs_host.domain>/otrs/customer.pl [R]
# Customer Login
RewriteCond %{REQUEST_URI} ^.*/customer/?$
RewriteRule ^.*$ https://<otrs_host.domain>/otrs/customer.pl [R]
# Agent Login
RewriteCond %{REQUEST_URI} ^.*/admin/?$
RewriteRule ^.*$ https://<otrs_host.domain>/otrs/index.pl [R]
</IfModule>