I have problems with htaccess on my project, when I use htaccess on the locale it runs fine and there is no problem, but when I upload it to the server it does not work.
I want my index.php to disappear, my domain is sindangasih-server.com/receiving. receiving is the name of my project.
My htaccess is like this.
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
and my config configuration looks like this
$http = 'http' . ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 's' : '') . '://';
$newurl = str_replace("index.php","", $_SERVER['SCRIPT_NAME']);
$config['base_url'] = "$http" . $_SERVER['SERVER_NAME'] . "" . $newurl;
$config['index_page'] = '';
$config['uri_protocol'] = 'REQUEST_URI';
When I open sindangasih-server.com/receiving out writing like this.
The requested URL /receiving/tiket/tampildatatiket was not found on this server.