The Apache Haus Forum

Forum Topics => Apache 2.4 => Topic started by: raghavendra.tg on June 29, 2017, 11:39:55 AM

Title: RewriteRule not working with Location
Post by: raghavendra.tg on June 29, 2017, 11:39:55 AM
Hi,
I am trying to write a C module and call it using a location directive.
My configuration is below.
<Location /example>
SetHandler my_handler
handlerRewriteRule "/example/"  "http://10.139.8.61:8080/Demo2/" [L=302,R]
</Location> 
This will do the required redirection to get the login page. Also do the successful login page and go to other pages.
But my C handler code never gets called. I do not see any debug statements in the log.
Am I missing any more configurations here? Please provide me the inputs to make this work.
Thanks
Raghavendra
Title: Re: RewriteRule not working with Location
Post by: mario on July 20, 2017, 10:18:45 PM
Cross topic see https://forum.apachehaus.com/index.php?topic=1487.0