N/APosted on - 06/27/2019
I was using localhost on my mac but an error encountered and I have to change some settings within the file. The problem here arises first is that I am not able to find the localhost folder in my system. Where is the localhost folder in mac or how can I find the path for the same?
Default Localhost Folder In Mac OSX
You can find the required folder in your system by looking in the http.conf file. Just use the command http-V in your command prompt. In the output of this command SERVER_CONFIG_FILE will provide us the location of httpd.conf. Then refer the same httpd.conf file and then locate your localhost folder in the DocumentRoot. This will provide you the exact location of the required folder where you can make the required changes for your program.