RewriteEngine On RewriteBase /padrao RewriteCond %{REQUEST_URI} ^system.* RewriteRule ^(.*)$ /index.php?/$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L] # make sure this is the right host RewriteCond %{HTTP_HOST} styl.com$ [NC] # make sure this is a request for an existing directory RewriteCond %{REQUEST_FILENAME} -d # redirect RewriteRule ^(.*)$ http://www.styl.com/dev/home [L,R=301]
stylweb/padrao/master/.htaccess
