1. RewriteEngine On
  2.  
  3. RewriteCond %{REQUEST_URI} !^/mnub2010/file/.*
  4. RewriteCond %{REQUEST_URI} !^/mnub2010/install/.*
  5. RewriteCond %{REQUEST_URI} !^/mnub2010/design/.*
  6. RewriteCond %{REQUEST_URI} !^/mnub2010/plugins/.*
  7. RewriteCond %{REQUEST_URI} !^/mnub2010/index.php
  8. RewriteCond %{REQUEST_URI} !^/mnub2010/robots.txt
  9. RewriteCond %{REQUEST_URI} !^/mnub2010/favicon.ico
  10. RewriteCond %{REQUEST_URI} !^/mnub2010/mochi.html
  11. RewriteRule ^(.*)$ /mnub2010/index.php?do=/$1 [L]
  12. RewriteRule ^file/music_folder/([0-9a-z_]+)\.([a-z0-9]+)$ /mnub2010/index.php?do=/data/module_music/file_$1/type_$2 [L]
  13. RewriteRule ^file/videos/src/([0-9a-z_]+)\.([a-z0-9]+)$ /mnub2010/index.php?do=/data/module_video/file_$1/type_$2 [L]
  14. RewriteRule ^file/pic/gallery/([0-9a-z_]+)\.([a-z]+)$ /mnub2010/index.php?do=/data/module_gallery/file_$1/type_$2 [L]
  15. RewriteRule ^file/pic/gallery/thumb/([0-9a-z]+)\.([a-z]+)$ /mnub2010/index.php?do=/data/module_gallery-thumb/file_$1/type_$2 [L]
  16. RewriteRule ^file/pic/groups/gallery/([0-9a-z_]+)\.([a-z]+)$ /mnub2010/index.php?do=/data/module_groups/file_$1/type_$2 [L]
  17.  
  18.  
  19. RewriteCond %{REQUEST_URI} !^/mnub2010/file/.*
  20. RewriteCond %{REQUEST_URI} !^/mnub2010/install/.*
  21. RewriteCond %{REQUEST_URI} !^/mnub2010/design/.*
  22. RewriteCond %{REQUEST_URI} !^/mnub2010/plugins/.*
  23. RewriteCond %{REQUEST_URI} !^/mnub2010/mochi.html
  24. RewriteRule ^index.php(/.*)$ /mnub2010/index.php?do=$1 [L]