CodeIgniter Forums

Full Version: htaccess question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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,

El Forum

[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