Advertisement
Guest User

Untitled

a guest
Jan 27th, 2010
631
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.44 KB | None | 0 0
  1. <IfModule mod_rewrite.c>
  2. RewriteEngine On
  3. RewriteBase /
  4. RewriteRule ^signup$ signup.php
  5. RewriteRule ^account$ account.php
  6. RewriteRule ^logout$ logout.php
  7. RewriteRule ^login$ login.php
  8. RewriteRule ^recent-questions$ recent.php
  9. RewriteRule ^popular-questions$ popular.php
  10. RewriteRule ^confirmemail$ confirmemail.php
  11. RewriteRule ^confirmemail/(.*) confirmemail.php?code=$1
  12. RewriteRule ^ask$ ask.php
  13. RewriteRule ^member/(.*)/(.*) memberprofile.php?pid=$1&name=$2
  14. RewriteRule ^editaccount$ editaccount.php
  15. RewriteRule ^changeemail$ changeemail.php
  16. RewriteRule ^changepass$ changepass.php
  17. RewriteRule ^top-experts$ top-experts.php
  18. RewriteRule ^search$ search.php
  19. RewriteRule ^rss/recent$ rss_recent.php
  20. RewriteRule ^rss/popular$ rss_popular.php
  21. RewriteRule ^forgot$ forgot.php
  22. RewriteRule ^resetpassword/(.*) resetpassword.php?code=$1
  23. RewriteRule ^resendconfirmation/(.*) resendconfirmation.php?userid=$1
  24. RewriteRule ^termsofuse$ termsofuse.php
  25. RewriteRule ^privacypolicy$ privacypolicy.php
  26. RewriteRule ^aboutus$ aboutus.php
  27. RewriteRule ^advertising$ advertising.php
  28. RewriteRule ^contactus$ contactus.php
  29. RewriteRule ^([^/.]+)/([^/.]*)?$ view.php?title=$1&id=$2&%{QUERY_STRING}
  30. RewriteRule ^([^/.]+)(\/)?$ categories.php?key=$1
  31. </IfModule>
  32.  
  33. <IfModule mod_security.c>
  34.    # Turn off mod_security filtering.
  35.   SecFilterEngine Off
  36.  
  37.    # The below probably isn't needed,
  38.   # but better safe than sorry.
  39.   SecFilterScanPOST Off
  40. </IfModule>
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement