Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

mod_rewrite: Rewrite all requests including requests containing %2F

Posted on 2013-12-30
1
Medium Priority
?
445 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 2000 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

Hire Technology Freelancers with Gigs

Work with 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

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month9 days, 16 hours left to enroll

927 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