I was a dummy and started making changes to the 000-default-ls-ssl.conf file without a back up.
Here is what I think the file should be with the actual domain name changed to example.com.
Options Indexes FollowSymLinks
Require all granted
If I run apachectl -t as a not root user with SUDO it says that there is a snytax error in the line with the SSLCertifcateFile. It also says that the fullchain.pem file does not exist.
But if I run the same command as root it says syntax is ok?
1st is the config ok? 2nd should the sudo user and root test the config the same?
One last question. I have been reading that it is better to place the items that are normally in the hraccess file in the apache conf since it makes apache faster??? What does the experts on here think?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.