daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Oct 11th, 2017 6 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine on
  3. RewriteBase /
  4.  
  5. # Test
  6. #RedirectMatch ^wcf/forum/Thread-(.*)$ /wcf/index.php?test/&greet=$1
  7. RewriteRule ^wcf/forum/Thread-(.*)$ wcf/index.php?test/&greet=$1 [PT]
  8.  
  9. # Rewrite application /blog/
  10. RewriteCond %{SCRIPT_FILENAME} !-d
  11. RewriteCond %{SCRIPT_FILENAME} !-f
  12. RewriteRule ^blog/(.*)$ blog/index.php?$1 [L,QSA]
  13.  
  14. # Rewrite application /calendar/
  15. RewriteCond %{SCRIPT_FILENAME} !-d
  16. RewriteCond %{SCRIPT_FILENAME} !-f
  17. RewriteRule ^calendar/(.*)$ calendar/index.php?$1 [L,QSA]
  18.  
  19. # Rewrite application /gallery/
  20. RewriteCond %{SCRIPT_FILENAME} !-d
  21. RewriteCond %{SCRIPT_FILENAME} !-f
  22. RewriteRule ^gallery/(.*)$ gallery/index.php?$1 [L,QSA]
  23.  
  24. # Rewrite application /filebase/
  25. RewriteCond %{SCRIPT_FILENAME} !-d
  26. RewriteCond %{SCRIPT_FILENAME} !-f
  27. RewriteRule ^filebase/(.*)$ wcf/filebase/index.php?$1 [L,QSA]
  28.  
  29. # Rewrite application /forum/
  30. RewriteCond %{SCRIPT_FILENAME} !-d
  31. RewriteCond %{SCRIPT_FILENAME} !-f
  32. RewriteRule ^forum/(.*)$ wcf/forum/index.php?$1 [L,QSA]
  33.  
  34. # Rewrite application /wcf/
  35. RewriteCond %{SCRIPT_FILENAME} !-d
  36. RewriteCond %{SCRIPT_FILENAME} !-f
  37. RewriteRule ^wcf/(.*)$ wcf/index.php?$1 [L,QSA]
  38.  
  39. # Rewrite application /cms/
  40. RewriteCond %{SCRIPT_FILENAME} !-d
  41. RewriteCond %{SCRIPT_FILENAME} !-f
  42. RewriteRule ^cms/(.*)$ wcf/cms/index.php?$1 [L,QSA]
  43.  
  44. # Rewrite application /
  45. RewriteCond %{SCRIPT_FILENAME} !-d
  46. RewriteCond %{SCRIPT_FILENAME} !-f
  47. RewriteRule ^wcf/(.*)$ wcf/index.php?$1 [L,QSA]
  48.  
  49.  
  50. </IfModule>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top