JarekMk

Untitled

Mar 18th, 2011
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. <IfModule mod_rewrite.c>
  2.  
  3. # Tell PHP that the mod_rewrite module is ENABLED.
  4. SetEnv HTTP_MOD_REWRITE On
  5.  
  6. Options +FollowSymLinks
  7. RewriteEngine on
  8. RewriteRule test-(.*)\.htm$ inc/tesmodrewite.php?q=test_$1
  9. RewriteRule test2-(.*)\.htm$ /inc/tesmodrewite.php?q=test_$1
  10. RewriteRule pm-(.*)\.(jpg|png|gif|html)$ ?pm=$1
  11. RewriteRule pt-(.*)\.(jpg|png|gif|html)$ ?pt=$1
  12. RewriteRule dt-(.*)\.(jpg|png|gif)$ ?dt=$1
  13. RewriteRule dm-(.*)\.(jpg|png|gif)$ ?dm=$1
  14. RewriteRule di-(.*)\.(jpg|jpeg|png|gif|bmp)$ ?di=$1
  15. RewriteRule page(.*)\.html$ gallery.php?p=$1
  16.  
  17. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment