Appache 2.4: el proxy inverso con directiva de ubicación no funciona

Appache 2.4: el proxy inverso con directiva de ubicación no funciona

Tengo un problema en el proxy inverso apache2.4.

Configuración de Appache:

ProxyPass "/"  "http://domain2.com"
ProxyPassReverse "/"  "http://domain2.com/"
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
# If the path restricted cookie is set or the request asks for Javascript, images, or other content we don't need to protect
RewriteCond %{HTTP_COOKIE} t_path=.+
#RewriteCond %{REQUEST_URI} \.(?!(html|htm|pdf))
RewriteRule ^/(.*)$ http://domain2.com/$1 [P,QSA]

# If we have a token in the query string, verify it
RewriteCond %{QUERY_STRING} t=(.+)$
RewriteRule ^(/.*)      /auth/?path=$1 [passthrough,QSA]

RewriteRule ^.*$ - [F]


<Location /test>
        SetHandler modperl
        PerlOptions +GlobalRequest
        PerlResponseHandler test::Handler
</Location> 

Si presiono la URLhttp://dominio1.com/abc/cdb/?t=787986en el navegador, arroja un error como " The requested URL /auth/ was not found on this server." Además, si sigo los pasos como "eliminar líneas de proxy inverso->reiniciar Apache->presionar URL en el navegador->agregar líneas de proxy inverso-reiniciar Apache", funciona bien (puede estar en caché). test::Handlercomprobará la URL válida y sus parámetros y establecerá la URL de redireccionamiento de retorno. Hubo un problema con el proxy inverso y la ubicación. Por favor que alguien me ayude a resolverlo.

información relacionada