![]() |
Accessing images in Multiple Applications [Resolved] - 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: Accessing images in Multiple Applications [Resolved] (/showthread.php?tid=48425) |
Accessing images in Multiple Applications [Resolved] - El Forum - 01-16-2012 [eluser]sayo[/eluser] having problems accessing images in multiple applications using one CI installation. I have this .htaccess Options +FollowSymLinks Options -Indexes DirectoryIndex index.php RewriteEngine on RewriteCond $1 !^(index\.php|img|css|js|phpjobscheduler|robots\.txt|favicon\.ico) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [NC,L] I have two applications: user admin Everything works great with index.php which accesses the user folder but in the admin.php which is for the admin, images are not displayed. Any suggestions pls? NOTE: all works good on localhost Accessing images in Multiple Applications [Resolved] - El Forum - 01-18-2012 [eluser]sayo[/eluser] Thanks! I just discovered that I had passworded the folders giving the problems before switching to CI using .htaccess All I had to do was to remove the password and things worked fine. Thanks for the help |