Welcome Guest, Not a member yet? Register   Sign In
Retrofitting App to use CodeIgniter
#3

[eluser]Crafter[/eluser]
I used apache's htaccess
Code:
# If the file or directory exists, show it
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^(.+) - [PT,L]

    # Blank queries get sent to the index
    RewriteRule ^$ /index.php [L]

    # All other queries get sent to the index as index.php/whatever
    RewriteRule ^(.*)$ /index.php/$1 [L]

In this way i had a directory stucture
application --> CI's directory
admin --> old app
somefile.php --> oldapp


Messages In This Thread
Retrofitting App to use CodeIgniter - by El Forum - 09-12-2008, 09:25 AM
Retrofitting App to use CodeIgniter - by El Forum - 09-12-2008, 11:37 AM
Retrofitting App to use CodeIgniter - by El Forum - 09-15-2008, 04:12 AM
Retrofitting App to use CodeIgniter - by El Forum - 09-15-2008, 04:27 AM
Retrofitting App to use CodeIgniter - by El Forum - 09-15-2008, 07:56 AM
Retrofitting App to use CodeIgniter - by El Forum - 09-16-2008, 07:01 AM
Retrofitting App to use CodeIgniter - by El Forum - 09-16-2008, 11:43 AM
Retrofitting App to use CodeIgniter - by El Forum - 09-16-2008, 12:09 PM
Retrofitting App to use CodeIgniter - by El Forum - 09-16-2008, 02:13 PM
Retrofitting App to use CodeIgniter - by El Forum - 09-17-2008, 01:37 PM
Retrofitting App to use CodeIgniter - by El Forum - 09-17-2008, 07:32 PM
Retrofitting App to use CodeIgniter - by El Forum - 09-18-2008, 10:08 AM
Retrofitting App to use CodeIgniter - by El Forum - 09-18-2008, 12:19 PM
Retrofitting App to use CodeIgniter - by El Forum - 09-18-2008, 12:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB