php - codeigniter home page url -


i have codeigniter folder has entire application many pages of site maybe dont understand way link home page....

here problem, have folder named ci , content format

   ~/sites/ci$ ls -la    total 56 drwxr-xr-x@ 18 tamer  staff    612 apr  8 17:26 application drwxr-xr-x  11 tamer  staff    374 apr 11 09:46 css drwxr-xr-x   6 tamer  staff    204 mar 24 14:20 graphics -rwxr-xr-x@  1 tamer  staff   6321 apr  7 12:20 index.php drwxr-xr-x  17 tamer  staff    578 apr 11 09:54 js -rwxr-xr-x@  1 tamer  staff   2496 apr  7 12:20 license.txt drwxr-xr-x@ 10 tamer  staff    340 apr  7 12:20 system drwxr-xr-x@ 16 tamer  staff    544 apr  7 12:20 user_guide 

as can see folder named ci has application folder , if put on server have navigate http;//mysite.com/ci not want. how make work without having use ci in url

i'm not totally sure (so correct me if i'm wrong), way codeigniter allows use nice urls using .htaccess file rewrite. goes through index.php file. if true try move index.php , .htaccess. update index.php point application , system folder (ci/application , ci/system). able access site visiting http://mysite.com.

haven't tried , i'm assuming using .htaccess file rewriting. , using absolute urls assets.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -