need help |
[eluser]hermawan_fsi[/eluser]
i just new using CI, what iam asking is i am already install in my local server such as http://192.127.0.40/ignition/ i already set the database correcly, but when iam running http://192.127.0.40/ignition/index.php getting message like this. Welcome to CodeIgniter! The page you are looking at is being generated dynamically by CodeIgniter. If you would like to edit this page you'll find it located at: system/application/views/welcome_message.php The corresponding controller for this page is found at: system/application/controllers/welcome.php but when iam typing http://192.127.0.40/ignition/backend.php CodeExtinguisher - is running inside already index.php too.. what iam asking is how to set index.php tobe like backend.php, even i rename those file iam still got error to open links such as blog etc.. thanks..
[eluser]opterons[/eluser]
Open your system>application>config>config.php file and change: Code: $config['index_page'] = 'index.php'; Code: $config['index_page'] = 'backend.php '; Code: RewriteEngine On Code: <Directory //var/www/html/your_site> That covers pretty much everything let me know if it works out for ya. -Bryan
[eluser]hermawan_fsi[/eluser]
first thanks for your reply, but the problem stil came out, the error is Not Found The requested URL /ignition/backend.php/login was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. even iam change the apache conf server like you suggested. <Directory //home/smf/ignition/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all and i am already rename from backend.php became index.php, and in system/application/config/config.php | 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'] = "backend.php"; is there any missing that i am should be to modified more.. thanks..
[eluser]hermawan_fsi[/eluser]
finaly it's work.. what iam to do is.. to change backend.php text in config.php tobe index.php but.. why the Blog links is still not working ? the error is " 404 Page Not Found The page you requested was not found."
[eluser]Muhammad Faisal Shabbir[/eluser]
You should use base_url function for proper linking between ur links. Or for base url you have to write your base url in config.php file $config['base_url'] = "http://localhost/xyzWeb/"; Or you should writre your link in such way <a href="<?=base_url()?>home/view">View</a> I hope this will work
[eluser]hermawan_fsi[/eluser]
in the sample programs CodeExtinguisher i have got some links such as. # Template # Blog # User Management, the problem for me is.. when i click "Blog" the error came out that " 404 Page Not Found, The page you requested was not found." already change the path $config['base_url'] = "http://192.127.0.40/ignition/".$_SERVER['HTTP_HOST']; --still same error. FYI in my apache /home/smf/ -- for httpd.conf..
[eluser]Majd Taby[/eluser]
hey hermawan_fsi, I am bundling a blog with CE but it's not done yet. Somehow that link made it to the official release, I never realized that. The "Blog" link points to nowhere actually. Sorry for the confusion. |
Welcome Guest, Not a member yet? Register Sign In |