Apache Lounge



Forum Index Downloads Search Register Log in  RSS Apache Lounge

Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.



A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.

RewriteRule not working with Location

Post new topic   Reply to topic    Apache Forum Index -> Apache

View previous topic :: View next topic  
Author Message

Joined: 29 Jun 2017
Posts: 2
Location: India

PostPosted: Thu 29 Jun '17 11:33    Post subject: RewriteRule not working with Location Reply with quote

I am trying to write a module and call it using a location tag.
My configuration is below.
<Location /example>
SetHandler my_handler handlerRewriteRule "/example/" "" [L=302,R]
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.
Back to top
James Blond

Joined: 19 Jan 2006
Posts: 6352
Location: Germany, Next to Hamburg

PostPosted: Mon 28 Aug '17 23:25    Post subject: Reply with quote

This is a cross post. See https://www.apachelounge.com/viewtopic.php?t=7669&highlight=
Back to top

Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1