The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: RewriteRule not working with Location  (Read 553 times)

raghavendra.tg

  • Newbie
  • *
  • Offline Offline
  • Posts: 2
RewriteRule not working with Location
« 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
Logged

mario

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 575
Re: RewriteRule not working with Location
« Reply #1 on: July 20, 2017, 10:18:45 PM »

« Last Edit: November 09, 2017, 10:19:15 AM by dj02 »
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13