SHARE
TWEET

Untitled

a guest Mar 15th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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]
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