Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SetEnv APPLICATION_ENV development
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^(?!app)(.+)$ /index.php?u=$1 [NC,QSA,L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^app(.+)$ /app/index.php?u=$1 [NC,QSA,L]
- RewriteCond %{REQUEST_FILENAME} -s [OR]
- RewriteCond %{REQUEST_FILENAME} -l [OR]
- RewriteCond %{REQUEST_FILENAME} -d
- RewriteRule ^.*$ - [NC,L]
- RewriteRule ^.*$ index.php [NC,L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^(?!app)(.+)$ /index.php?u=$1 [NC,QSA,L]
- SetEnv APPLICATION_ENV development
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^(?!app)(.+)$ /index.php?u=$1 [NC,QSA,L]
- # rewrite /addbeta to /appbeta/index.php ...
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^appbeta(.*)$ /appbeta/index.php?u=$1 [NC,QSA,L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^app(.+)$ /app/index.php?u=$1 [NC,QSA,L]
- RewriteCond %{REQUEST_FILENAME} -s [OR]
- RewriteCond %{REQUEST_FILENAME} -l [OR]
- RewriteCond %{REQUEST_FILENAME} -d
- RewriteRule ^.*$ - [NC,L]
- RewriteRule ^.*$ index.php [NC,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement