CodeIgniter Forums
Allow direct access to a php file - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Allow direct access to a php file (/showthread.php?tid=70706)



Allow direct access to a php file - jhob - 05-18-2018

I need to place a php script onto the same web space that a codeigniter app runs from.

However codeigniter is blocking access to this file and returning a 404.

I have tried to place exceptions in the .htaccess but this hasn't worked.

Any ideas on how I can allow access direct access to this one script?

Thanks


RE: Allow direct access to a php file - jreklund - 05-18-2018

Place it in the public_html folder. It should take priority.