![]() |
image file path and uri conflict - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: image file path and uri conflict (/showthread.php?tid=63740) |
image file path and uri conflict - Edwin - 12-05-2015 Hi all, i having trouble with the file path to display raw image in the browser (which mean copy the image url into new tab), because found that Codeigniter treat it as a controller and eventually give me 404. example: http://mydomain.com/upload/portfolio/img.png NOTE: i got use .htaccess to remove index.php how to solve this? thanks for advice!! RE: image file path and uri conflict - scion - 12-05-2015 show here your htaccess file RE: image file path and uri conflict - freddy - 12-07-2015 (12-05-2015, 08:04 AM)Edwin Wrote: Hi all, what do you want to, please clear question ? Code: Options -Indexes //prevent listing file in your directory http://www.thesitewizard.com/apache/prevent-directory-listing-htaccess.shtml |