Welcome Guest, Not a member yet? Register   Sign In
Cannot reach dir in root dir.
#1

[eluser]juan1904[/eluser]
Hi!

I am currently developing a website in Codeigniter 2.1.3, and to this point it's going really well.
However, today a really weird problem occured.

When I started this project, I put three directories in the root of the project. They're called 'js', 'css', and 'img'. And I can reach them by typing mydomain.com/js, mydomain.com/css, and mydomain.com/img.

Today, I needed a folder called 'cache' aswell. So I created the folder in the root, and tried to reach it. And here's my weird issue: When I typed mydomain.com/cache, I was redirected to mydomain.com/cache/?/cache, and this gave me the following response:

Quote:404 Page Not Found

The page you requested was not found.

So I thought to myself, maybe the problem is within the name 'cache'. So I tried to create a new folder called 'trololo', just for testing purpose. Again I was redirected to mydomain.com/trololo/?/trololo.

I also tried to remove all my self-made routes in application/config/routes.php. This had no effect.

Has anyone had a similar problem? Any clue what it is about?

I can also say, I'm currently trying to get Carabiner to work with my project, so in production environment, Carabiner will merge and minimize my css and javascript files.

Thanks in advance!

Best regards,
Johan


Messages In This Thread
Cannot reach dir in root dir. - by El Forum - 10-11-2013, 09:50 AM
Cannot reach dir in root dir. - by El Forum - 10-11-2013, 12:41 PM
Cannot reach dir in root dir. - by El Forum - 10-12-2013, 04:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB