Proxy reverse and rewrite

Moderator: crythias

OTRS newbie
Posts: 2
Joined: 16 Jan 2018, 16:20
OTRS Version?: 5.0.24

Proxy reverse and rewrite

Postby wigberto » 17 Jan 2018, 13:39

I am trying to perform a ProxyReverse from a main apache to the apache server where I have installed otrs, but I can not get it to work properly.
My configuration is the following:

Code: Select all

<VirtualHost *:80>
    ServerName localhost
   ProxyRequests Off
   ProxyTimeout 300
   ProxyPass /otrs http://xxxxx/
   ProxyPass /otrs-web http://xxxxx/otrs-web
   ProxyPassReverse /otrs http://xxxxx/
   ProxyPassReverse /otrs-web http://xxxxx/otrs-web
   RewriteEngine On
   RewriteRule ^/($ http://xxxxx/otrs/$1 [NC,L
   ErrorLog "logs/localhost.log"

The user's home page and password work correctly, it is displayed well, but when you log in, the page error does not exist because instead of going to the page http: //xxxxx/otrs/ load the page http: / /xxxxx/ and can not find it.
I'm trying to do a Rewrite, but it does not work for me:

Code: Select all

   RewriteEngine On
   RewriteRule ^/($ http://xxxxx/otrs/$1 [NC,L]

Thank you

Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests