Permalink
Browse files

Fixing htaccess version. Output is now 866% more accurate.

  • Loading branch information...
1 parent 90d1346 commit 870c9312b1da370e8e669ebb6231b18d9980a0e2 @cowboy committed Nov 23, 2011
Showing with 11,730 additions and 42 deletions.
  1. +5 −2 htaccess/.htaccess
  2. +11,725 −40 htaccess/readme.md
View
@@ -1,5 +1,8 @@
# Tested in MAMP 2.05, Apache/2.2.21
RewriteEngine on
-RewriteCond %{QUERY_STRING} (.*)(.*)\1
-RewriteRule .* /?%1%2%1%2%1 [R,NE]
+
+# Note: mod_rewrite seems to just die after a dozen or so redirects using
+# ^(.+?)((.*?\1)+)$ possibly because it's INSANELY SLOW AND IDIOTIC
+RewriteCond %{QUERY_STRING} ^(\[Subject\])((.*?\1)+)$
+RewriteRule .* /?%1%3%2 [R,NE]
Oops, something went wrong.

0 comments on commit 870c931

Please sign in to comment.