Welcome Guest, Not a member yet? Register   Sign In
CI working locally but not online
#1

[eluser]herrmoinsen[/eluser]
Hi all,

I developed a small website with CI and all works fine on my local system (MAMP).
Now I moved the site to my webserver and the only site I see is the startpage. This page looks fine and CSS and images are beeing loaded correctly.

But as I e.g. append the controller "/Start" to the URL (which on my local system displays the start page as well ...) I get the "404 Page Not Found" error.

I guess this is an .htaccess problem but I don't know what to do. This is what my .htaccess file looks like.

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|img|css|robots\.txt)
RewriteRule ^(.*)$ /projects/gw/index.php/$1 [L]

I tried every possible path in the last line (starting with /www and so on) but it won't work. Any guessings?

Thanks a lot.
herrmoinsen
#2

[eluser]Fabdrol[/eluser]
Hi!

I've got the same problem.. it seems to have something to do with permissions or ownership on the files.
(Anybody?)

anyway, if I find a solution, I'll let you know.




Theme © iAndrew 2016 - Forum software by © MyBB