I am having trouble.
I uploaded my files and apache is not recognizing my hidden database files like .env.
Apache needs to recognize the dot files like .env which contains all the database info and stuff and it doesn't seem to be recognized by Apache atm.
How can i do this?
I am using a 6 core VDS
How to get apache to recognize hidden files like .env?
-
- New to forums
- Posts: 1
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Fri Dec 15, 2017 5:09 pm
Re: How to get apache to recognize hidden files like .env?
When you say "recognize," what do you mean? Do you want these to show up in its auto-generated index page, or something else?
If a file contains your database information, you should generally want it to be ignored by Apache, and only read by your own scripts.
If a file contains your database information, you should generally want it to be ignored by Apache, and only read by your own scripts.