Welcome Guest, Not a member yet? Register   Sign In
Homepage Dissapeared
#1

[eluser]khuram[/eluser]
Hi,

I am working on my first CI project. I was writing some Models and testing them in the welcome controller.
I have put the code in the fonzii folder in the www. So, my htaccess file is like this,
Quote:RewriteEngine on
RewriteCond $1 !^(index\.php|images|captcha|css|js|robots\.txt)
RewriteRule ^(.*)$ /fonzii/index.php/$1 [L]

The page at localhost/fonzii/welcome is showing the welcome page but localhost/fonzii/ is showing the welcome page as the default controller is set to welcome but its not showing for localhost/fonzii . i.e. without the last slash, its giving 404.

Any suggestions as to what I may be doing wrong.
Much regards




Theme © iAndrew 2016 - Forum software by © MyBB