Advertisement
Guest User

Untitled

a guest
Mar 15th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. SetEnv APPLICATION_ENV development
  2.  
  3. RewriteEngine On
  4.  
  5. RewriteCond %{REQUEST_FILENAME} !-f
  6. RewriteRule ^(?!app)(.+)$ /index.php?u=$1 [NC,QSA,L]
  7.  
  8. RewriteCond %{REQUEST_FILENAME} !-f
  9. RewriteRule ^app(.+)$ /app/index.php?u=$1 [NC,QSA,L]
  10.  
  11. RewriteCond %{REQUEST_FILENAME} -s [OR]
  12. RewriteCond %{REQUEST_FILENAME} -l [OR]
  13. RewriteCond %{REQUEST_FILENAME} -d
  14. RewriteRule ^.*$ - [NC,L]
  15. RewriteRule ^.*$ index.php [NC,L]
  16.  
  17. RewriteCond %{REQUEST_FILENAME} !-f
  18. RewriteRule ^(?!app)(.+)$ /index.php?u=$1 [NC,QSA,L]
  19.  
  20. SetEnv APPLICATION_ENV development
  21.  
  22. RewriteEngine On
  23.  
  24. RewriteCond %{REQUEST_FILENAME} !-f
  25. RewriteRule ^(?!app)(.+)$ /index.php?u=$1 [NC,QSA,L]
  26.  
  27. # rewrite /addbeta to /appbeta/index.php ...
  28. RewriteCond %{REQUEST_FILENAME} !-f
  29. RewriteRule ^appbeta(.*)$ /appbeta/index.php?u=$1 [NC,QSA,L]
  30.  
  31. RewriteCond %{REQUEST_FILENAME} !-f
  32. RewriteRule ^app(.+)$ /app/index.php?u=$1 [NC,QSA,L]
  33.  
  34. RewriteCond %{REQUEST_FILENAME} -s [OR]
  35. RewriteCond %{REQUEST_FILENAME} -l [OR]
  36. RewriteCond %{REQUEST_FILENAME} -d
  37. RewriteRule ^.*$ - [NC,L]
  38. RewriteRule ^.*$ index.php [NC,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement