I have CodeIgniter running on an Apache server on AWS. For verification, I need to place a text file in my website’s root directory. It should be:
mywebsite.com/verification.txt
I’ve tried adding a view and controller, but as everything expects PHP files, this predicatively failed me, resulting in a 404 error. Any advice would be greatly appreciated.
2
Answers
You can give the file permission, In case anyone from the outside world gets access to your system they can do anything with these files. Including deleting them.
Did you tried to upload the verification.txt file to your www root folder where is placed the main index.php file ? This should work as simply as a robots.txt file works.