Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine on
- RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]
- $config['base_url'] = ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "https" : "http");
- $config['base_url'] .= "://".$_SERVER['HTTP_HOST'];
- $config['base_url'] .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);
Add Comment
Please, Sign In to add comment