July 25, 2011
by gangsar,
9 weeks 20 hours ago Comment: 8718
dan kalau mau ditambahkan folder `pengecualiannya` (lihat klausa
!^(index\.php|images|robots\.txt
di .htaccessnya), misal: kamu punya folder js, stylesheets, dan fonts. Kamu harus menambahkan js, stylesheets, dan fonts itu di dalam klausa `pengecualian` tersebut, seperti ini:
July 25, 2011
by gangsar,
9 weeks 20 hours ago Comment: 8717
coba baca di user_guide/general/urls.html di user guidenya deh:
Silahkan diartikan sendiri.
Removing the index.php file
By default, the index.php file will be included in your URLs:
example.com/index.php/news/article/my_article
You can easily remove this file by using a .htaccess file with some simple rules. Here is an example of such a file, using the "negative" method in which everything is redirected except the specified items:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
In the above example, any HTTP request other than those for index.php, images, and robots.txt is treated as a request for your index.php file.
July 25, 2011
by asrid5313,
9 weeks 1 day ago Comment: 8710
coba edit file application/config/config.php
.../*
|--------------------------------------------------------------------------
| Index File
|--------------------------------------------------------------------------
|
| Typically this will be your index.php file, unless you've renamed it to
| something else. If you are using mod_rewrite to remove the page set this
| variable so that it is blank.
|
*/$config['index_page']="index.php";//ini yg diedit...
Comments
dan kalau mau ditambahkan
July 25, 2011 by gangsar, 9 weeks 20 hours ago
Comment: 8718
dan kalau mau ditambahkan folder `pengecualiannya` (lihat klausa
di .htaccessnya), misal: kamu punya folder js, stylesheets, dan fonts. Kamu harus menambahkan js, stylesheets, dan fonts itu di dalam klausa `pengecualian` tersebut, seperti ini:
semoga membantu...
coba baca di
July 25, 2011 by gangsar, 9 weeks 20 hours ago
Comment: 8717
coba baca di user_guide/general/urls.html di user guidenya deh:
Silahkan diartikan sendiri.
Removing the index.php file
By default, the index.php file will be included in your URLs:
example.com/index.php/news/article/my_article
You can easily remove this file by using a .htaccess file with some simple rules. Here is an example of such a file, using the "negative" method in which everything is redirected except the specified items:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
In the above example, any HTTP request other than those for index.php, images, and robots.txt is treated as a request for your index.php file.
jangan lupa pelajari
July 25, 2011 by arvernester, 9 weeks 1 day ago
Comment: 8715
jangan lupa pelajari .htaccess codeigniter untuk mod rewrite.
untuk lebih jelas silakan baca di wikinya, di http://codeigniter.com/wiki/mod_rewrite/
Cara hilangkan index.php
July 25, 2011 by asrid5313, 9 weeks 1 day ago
Comment: 8710
coba edit file application/config/config.php