Welcome Guest, Not a member yet? Register   Sign In
CI URLs F1 F1 plz
#1

[eluser]nirbhab[/eluser]
hello frndz

i have recently uploaded CI on a webserver.
but facing typical problem, CI is working perfectly on my localhost.

few point to know abt my config:

config 1: [system/application/config/config.php]

$config['url_suffix'] = "";

config 2: [system/application/config/config.php]

$config['url_suffix'] = ".html";

the way i access resources:

www.your-site.com/index.php/news/article/my_article

note: i have read the manual
second, i am not using .htaccess and please don't tell me to access it.

test url: PLEASE CHECK THE TEST URLS.

when using config 1:

http://cdcg.in/mvc/index.php/blog

when using config 2: [currently config 1 is working thats why u cann't access second one]
http://cdcg.in/mvc/index.php/blog.html

second configration is working but i wanna knw why first one is not working?
as it is working perfectly on my local server.

i even studed index.php

it has following line which explains the EXTENSION .php to be used while using MVC framework.

please help me out :-(
define('EXT', '.'.pathinfo(__FILE__, PATHINFO_EXTENSION));

plz help me!
#2

[eluser]Derek Allard[/eluser]
No need to double post, we'll see it. I've closed this thread.




Theme © iAndrew 2016 - Forum software by © MyBB