Problems uploading codeigniter project from localhost to live server -
i have developed project in codeigniter. want move localhost live server. moved it, website opens first time , when refresh page, shows blank page. tried in browser, there same problem. after 30 minutes when tried open website, opens first time , again on refreshing site, blank page appears.
upon closing browser , opening again, page opens first time , after refreshing not work neither goes other pages.
i not understand problem. please should me.
try .htaccess:
<ifmodule mod_rewrite.c> rewriteengine on rewritebase / #removes access system folder users. #additionally allow create system.php controller, #previously not have been possible. #'system' can replaced if have renamed system folder. rewritecond %{request_uri} ^system.* rewriterule ^(.*)$ /index.php?/$1 [l] #when application folder isn't in system folder #this snippet prevents user access application folder #rename 'application' applications folder name. rewritecond %{request_uri} ^application.* rewriterule ^(.*)$ /index.php?/$1 [l] #checks see if user attempting access valid file, #such image or css document, if isn't true sends #request index.php rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ index.php?/$1 [l] </ifmodule> <ifmodule !mod_rewrite.c> # if don't have mod_rewrite installed, 404's # can sent index.php, , works normal. errordocument 404 /index.php </ifmodule>
Comments
Post a Comment