Solved

mod_rewrite: Rewrite all requests including requests containing %2F

Posted on 2013-12-30
1
425 Views
Last Modified: 2013-12-30
I use this mod_rewrite code:
RewriteEngine On
RewriteRule .* application.php

Open in new window

http://example.com/a%2Fb does NOT get rewritten.  What can I do to make EVERYTHING be rewritten including URLS with %2F in them?
0
Comment
Question by:hankknight
1 Comment
 
LVL 25

Accepted Solution

by:
Cyclops3590 earned 500 total points
ID: 39746362
You might want to look at the following documentation from Apache

http://httpd.apache.org/docs/2.2/mod/core.html#allowencodedslashes

the allowencodedslashes directive might be off which could be causing your rewrite rule to not match.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now