CodeIgniter Forums
Simple question about directories... - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Simple question about directories... (/showthread.php?tid=11419)



Simple question about directories... - El Forum - 09-08-2008

[eluser]Unknown[/eluser]
Hey everyone,

I'm very new to CodeIgnitor (assuming control over a website, http://www.codekindness.org, built on CI) and have recently added a JS to control browser types into a new directory in root, JS.

However, if you check out the site, it's clear the JS directory isn't active (or isn't contributing the script for browser checking). Is there a way to activate directories in root web (public_html) through CI, to ensure that the script is bring read?

Thanks!
--Dave


Simple question about directories... - El Forum - 09-08-2008

[eluser]xwero[/eluser]
you probably have to change the .htaccess file/directory exceptions
Quote:RewriteCond $1 !^(index\.php|images|robots\.txt)
Add the directory your js files are in and your js should work.


Simple question about directories... - El Forum - 09-08-2008

[eluser]Unknown[/eluser]
Tremendous thanks! I suspected that, but did want to check beforehand.. :o)
--Dave