i want create app url 'http://example.com'. entering url, shows 'http error 403.14 - forbidden'. when have inserted 'index.php' @ last of url 'http://example.com/index.php' landing page rendering in browser have changed
$config['base_url'] = 'http://example.com'; $config['index_page'] = '';
and
$config['uri_protocol'] = 'request_uri';
in config.php file. have placed .htaccess file in codeigniter root folder along application , system folder. in .htaccess file have coded
<ifmodule mod_rewrite.c> rewriteengine on rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ index.php/$1 [l] </ifmodule>
i want remove 'index.php' url. using iis 8.5 web server.
htaccess file rewriteengine on rewritecond $1 !^(index\.php|resources|robots\.txt) rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ index.php?/$1 [l] site working http://demo.crowdfundingscript.com/ config file $config['uri_protocol'] = 'auto'; $config['index_page'] = '';
Comments
Post a Comment