godsid/dooneeweb/master/.htaccess
#RewriteBase /doonee.tv/
RewriteEngine on
DirectoryIndex index.html index.php ci2.php
RewriteCond %{HTTP_HOST} ^dev.doonee.tv
RewriteRule (.*) http://dev.dooneetv.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^(www.)?doonee.tv
RewriteRule (.*) http://www.dooneetv.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} dev.dooneetv.com
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^/assets/files
RewriteRule (.*) http://www.dooneetv.com/$1 [R=301,L]
RewriteRule ^assets/files/(.*) /files/$1 [L]
RewriteRule ^backoffice/(js|css|img)/(.*) /assets/backoffice/$1/$2 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(ci2.php|images|robots.txt)
RewriteRule ^(.*)$ /ci2.php/$1 [L]
On Github License
Files