Hi !
I'm facing a problem that I can't seem to solve by myself.
At work we're running OTRS 5, the thing is , I was asked to find a way to hide subdirectories in the url.
Right now when I go on my OTRS web UI it looks like this : domain.com/otrs/index.pl
And I want it to look like this : domain.com
My virtual host has the "Allow Authconfig" line in it.
So I thought it could be a good idea to add a .htaccess to just do a Rewrite Rule.
So I went to opt/otrs/bin/cgi-bin/ and created a .htaccess here.
When the .htaccess file is empty, it's still working no issues so far.
But even If I just add the "RewriteEngine On" line, it instantly do a 500 error when I try to access my otrs web ui ....
So I tried changing my Virtual Host and changed "Allow Authconfig" to -> "Allow All"
The error changed from a 500 to 403.
So I thought I needed to change permissions to the .htaccess file and did a Chmod 755, but that did no good.
TLDR : I'm trying to hide all subdirectories AND files from the otrs web ui URL so it goes from "domain.com/otrs/index.pl" to "domain.com" even if you navigate through the different links after the login screen.
If someone can guide me it would be aweome !!
Hide Subdirectories path in URL
Moderator: crythias
-
- Znuny newbie
- Posts: 1
- Joined: 29 Dec 2017, 17:29
- Znuny Version: otrs 5
- Real Name: Ren