I need to allow a link like this www.example.com/example.mov to be accessed or downloaded via browser in a code igniter application. Right now i received a “Page not found” message. The file is in the root directory, but i think there is some config in Code Igniter not allowing this behavior.
I need to allow a link like this www.example.com/example.mov to be accessed or downloaded
Share
If it’s a full url make sure you enter it as a full url ie http://www.example.com/example.mov if it’s a relative url on your server and it’s in the root use this:
Update, based on the file working from another location you could add this line to the .htaccess file in the root (the one in the same folder where the application folder is, not inside the application folder)