Welcome Guest, Not a member yet? Register   Sign In
path file
#1

[eluser]wilfred[/eluser]
I tried to load my URI using http://localhost/mysite/index.php/blog
but it couldnt load. Where should I place my application folder file?
should I create a folder called mysite and place it inside the codeigniter folder or in the www folder? And how will the blog.file be called from the mysite folder?
#2

[eluser]InsiteFX[/eluser]
Hi wilfred,

1) application/config/config.php - you need to set your base_url

2) application/config/routes.php - you need to change the default controller to blog

3) your site index.php - you need to set the system and application path directories

Enjoy
InsiteFX
#3

[eluser]wilfred[/eluser]
do I create a new index.php file inside mysite folder or I edit the index.php file that is in codeigniter/application folder?
#4

[eluser]khagendra[/eluser]
do u have set the base_url in confi file or not?

if the ur root folder is mysite, u need to set the base_url in config file, like this
Code:
$config['base_url'] = "http://localhost/mysite/";
#5

[eluser]wilfred[/eluser]
where do i place the mysite folder? or do i need another application folder at all?
#6

[eluser]wilfred[/eluser]
I mean where excatly should the root folder be and what should it contain?
#7

[eluser]InsiteFX[/eluser]
htdocs or www |
mysite |

index.php should be in your mysite root

Enjoy
InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB