Can someone tell me why this code would work on my local server but not on godaddy server?
I get the following error on godaddy...
I have creating one codeigniter project and host on godaddy server but .htaccess file does not working
my problem is "https://www.tripbrip.com/index.php/home/app_view" this same url come in my url side but i want to remove index.php in this link
my directory structure is this:
Options +MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ index.php/?$1 [NC,L]
my config file:
$config['base_url'] = "https://".$_SERVER['HTTP_HOST'].'/';
$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';
This file run in my localhost but not working on server.
I have use many code but still problem remain same .
If I browse to http://example.com/bootstrap.php I get a 404 resource not available at /