Warm tip: This article is reproduced from serverfault.com, please click

Files/Media Not getting Access publicly with URL in Codeignitator

发布于 2020-09-20 22:38:37

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 enter image description here

My question is I want to access these files/Media publicly with out login to web panel but when I visit this URL without login it gives me this error

enter image description here

more to it i also tried to access files directy from folder 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.
Questioner
Aadii Mughal
Viewed
0
Aadii Mughal 2020-12-11 04:18:14

I have found a solution I have removed encryption folder and encryption id from config.php file and then cleared cache folder all set. working fine to me.