CodeIgniter Forums
Files/Media Not getting Access publicly with URL in Codeignitator - 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: Files/Media Not getting Access publicly with URL in Codeignitator (/showthread.php?tid=77583)



Files/Media Not getting Access publicly with URL in Codeignitator - aadiimughal - 09-20-2020

I'm using a Codeignitator application named Perfex CRM and I'm having an issue to access its photos/files
when I'm logged in web panel I can access photos and all files with URL encryption 
My question is I want to access these files/Media publicly without login to web panel but when I visit this URL without login it gives me this error
more to it i also tried to access files directy from folder 

Code:
https://support.two.com.pk/uploads/tasks/2020082011243932x32.png
 but it still gives same error 404.
What i have tried for this to access these file publically.
  1. i have tried to change permission from htaccess file

  2. i have tried to change all folder permission from 755 to 777 and also files permission from 644 to 777 but no luck.



RE: Files/Media Not getting Access publicly with URL in Codeignitator - InsiteFX - 09-20-2020

In the config.php there should be a encryption key. When your logged in
it sees the key in the panel but if you try to access the url there is no
encryption key. So 404 Error.


RE: Files/Media Not getting Access publicly with URL in Codeignitator - aadiimughal - 09-21-2020

(09-20-2020, 05:04 PM)InsiteFX Wrote: In the config.php there should be a encryption key. When your logged in
it sees the key in the panel but if you try to access the url there is no
encryption key. So 404 Error.


that's helpful!! 
but can i configure this encryption key in the mobile native app?