• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installation/configuration problem

I'm trying to install CodeIgniter 2.0 in a similar way i was using it with CI 1.6
I want this directory structure:

- .htaccess (redirect everything to webroot)
- application
- system
- webroot
   - .htaccess
   - css
   - js
   - images
   - index.php

I'm using .htaccess to redirect the whole thing to webroot/ and thereafter i check through another .htaccess if the requested URL exist in the webroot/ directory. If exist, output the file, else redirect to index.php which is CI index.php file.

I've dig into CI Router and problem seems to be related to URI retrieved from the server.
In my case, my project is in /Sites/DemoProject/ and URI parsed by CI Router always start by /Sites/DemoProject/ which is my base url.

Is this a bug or something i'm doing wrong?

Messages In This Thread
Installation/configuration problem - by El Forum - 07-21-2011, 09:53 AM
Installation/configuration problem - by El Forum - 07-22-2011, 07:08 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.