Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.53 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. .htaccess 301 Redirect Appending Query's to End of URL
  2. #if there is a match in the map
  3. RewriteCond ${redirect_map:$1} !=""
  4. RewriteRule ^(.*)$ ${redirect_map:$1}? [R,L]
  5.        
  6. RewriteEngine On
  7. RewriteMap redirect_map txt:/usr/local/apache/conf/redirect.map
  8.        
  9. directory/subdirectory1/subdirectory2/ example/category7/subdirectory/file.html
  10. directory4/subdirectory2/subdirectory9/ example/category5/subdirectory4/file332.html
  11.        
  12. RewriteRule ^(.)(/./d/[^.]*)$ /category/refine.cgi?&a=$2
  13.        
  14. RewriteRule ^(.)(/./d/[^.]*)$ /category/refine.cgi?