php - My CodeIgniter project not running on WAMP server -
i have project developed in codeigniter works perfect on xampp server not working on wamp server.
i've changed
$config['index_page'] = 'index.php'; $config['index_page'] = '';
and .htaccess i've
rewritecond %{request_uri} ^system.* rewriterule ^(.*)$ /index.php?/$1 [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ index.php?/$1 [l]
homepage of website appears properly. no link working whenever click on link wamp server homepage appears in french version.
project run on wamp if there index.php in url.
e.g.
http://localhost/codeigniter/welcome/view (this link doesn't work) http://localhost/codeigniter/index.php/welcome/view (links works properly)
try one, it's working everywhere :
rewriteengine on rewritecond $1 !^(index\.php|images|css|robots\.txt) rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewritecond %{request_filename} !-l rewriterule ^(.*)$ index.php/$1 [l]
php mysql codeigniter-2
No comments:
Post a Comment