• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
External Programs

#1
[eluser]bhbutter123[/eluser]
If I have most of my site run with codeigniter can I still use other programs with the site as well? For example, some of the programs I use I simply put into a subfolder of the site and then the url would look like http://somesite.com/external_program/index.php for the index page of the other application. With codeigniter rewriting the urls I am thinking I will not be able to do it, what do you think?

#2
[eluser]clip[/eluser]
I believe this can be done, it only gets trick if you plan on removing the index.php from your urls with .htaccess. Even then you can still do it with a properly constructed .htaccess file. Only requests through the ci index.php file are handled by ci.

#3
[eluser]pistolPete[/eluser]
You can exclude specific subfolders from rewriting in your .htaccess file: http://ellislab.com/codeigniter/user-gui.../urls.html
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt|add_your_subfolder_here)
RewriteRule ^(.*)$ /index.php/$1 [L]


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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