CodeIgniter Forums
htaccess question - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: htaccess question (/thread-39620.html)



htaccess question - El Forum - 03-16-2011

[eluser]k2zs[/eluser]
I am getting errors from my web server that indicate "file not found" when I display slide shows. The thumbnails and photos are in a sub-directory of a folder called "Photos". My htaccess includes the photos folder but not the sub-folders, is that why? here is the line from my htaccess file:

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|css|js|images|Photos|user_guide|robots\.txt|sitemap\.xml)
RewriteRule ^(.*)$ ./index.php/$1 [L]

The slide shows all work (at least for me) so I'm not sure why I'm getting these errors all the time. I am using "Lytebox" to generate the slide shows.

My provider emailed me and asked me to fix this issue. If I need to include the sub-folders then how would I write the statement?

Thanks,


htaccess question - El Forum - 03-16-2011

[eluser]InsiteFX[/eluser]
Maybe change Photos to photos could be a case thing.
You would also need to rename the directory Photos to lower case.

InsiteF