Solved

mod_rewrite: Rewrite all requests including requests containing %2F

Posted on 2013-12-30
1
432 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

815 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

8 Experts available now in Live!

Get 1:1 Help Now