Report this

What is the reason for this report?

How to remove error_logs file?

Posted on April 21, 2014

Hi, I have a setup of centos / apache with virtualmin. I just noticed today that error_logs files are being created in public_html folder and is publicly accessible. How can I prevent this file from being created in public_html, can I shift the location of this file? OR any other solutions? Please help. Thanks for your help in advance.



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.

Can you pastebin your .htaccess file (if any) and your virtualhost’s config?

http://pastebin.com/7PbRaNnP <br> <br>here is the link for virtualhost and .htaccess file

Please discard the previous one <br> <br>http://pastebin.com/i1Jy1AfR is the new link. <br> <br> <br>Thanks for the help

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.