F
F
FulgerX20072016-11-28 23:54:36
Apache HTTP Server
FulgerX2007, 2016-11-28 23:54:36

How to redirect the main pages of the OTRS system?

Hello.
I have an OTRS 5s stit and I would like to give aliases to the main pages, if I explain correctly.
Example :
example.com/admin/ -> example.com/otrs/index.pl
example.com/ -> example.com/otrs/costumer.pl
Via .htaccess

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
vaut, 2016-11-29
@FulgerX2007

On the other hand, I solved it:
In /etc/apache2/sites-available/otrs.conf added:
RedirectMatch ^/$ "/otrs/costumer.pl"
RedirectMatch ^/admin/$ "/otrs/index.pl"

G
gill-sama, 2017-03-20
@artds

or for your case

for k in test['set']['item']:
    print(k['i']['n'])

S
sim3x, 2017-03-20
@sim3x

r = requests.get(protimg)
for item in r.json():
   if ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question