06-28-2009, 11:35 PM
[eluser]vang163[/eluser]
hi,
i've searched the forum & it seems to me that this is the best file structure to adopt.
c:/wamp/www/CodeIgniter/system
c:/wamp/www/CodeIgniter/application/project1
c:/wamp/www/CodeIgniter/public_html/index.php, and .htaccess(this is a blank file)
OS: windows
browser: firefox
environment: WAMP
index.php
----------
$system_folder = "../system";
$application_folder = "c:/wamp/www/CodeIgniter/application/project1";
config.php
-----------
$config['base_url'] = "http://localhost/CodeIgniter/public_html";
$config['index_page'] = "index.php";
$config['uri_protocol'] = "AUTO";
router.php
-------------
$route['default_controller'] = "General";
I've setup as above and all is running ok.
Now i want to remove the index.php from the URL which i'm still having problem after much research on the forum. Any assistance/guidance is appreciated.
From http://localhost/CodeIgniter/public_html/index.php/general/login_form.html
to http://localhost/CodeIgniter/public_html/general/login_form.html
regards
hi,
i've searched the forum & it seems to me that this is the best file structure to adopt.
c:/wamp/www/CodeIgniter/system
c:/wamp/www/CodeIgniter/application/project1
c:/wamp/www/CodeIgniter/public_html/index.php, and .htaccess(this is a blank file)
OS: windows
browser: firefox
environment: WAMP
index.php
----------
$system_folder = "../system";
$application_folder = "c:/wamp/www/CodeIgniter/application/project1";
config.php
-----------
$config['base_url'] = "http://localhost/CodeIgniter/public_html";
$config['index_page'] = "index.php";
$config['uri_protocol'] = "AUTO";
router.php
-------------
$route['default_controller'] = "General";
I've setup as above and all is running ok.
Now i want to remove the index.php from the URL which i'm still having problem after much research on the forum. Any assistance/guidance is appreciated.
From http://localhost/CodeIgniter/public_html/index.php/general/login_form.html
to http://localhost/CodeIgniter/public_html/general/login_form.html
regards