The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Turn off or rename "error_log"

Discussion in 'General Discussion' started by Strikeplate, May 26, 2006.

  1. Strikeplate

    Strikeplate Registered

    Joined:
    May 26, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have a situation where an error_log file is being created in a directory which contents can be viewed by my userbase. Basically along with there list of files they see "error_log" as a file as well. Is there a way to disable the auto-creation of an error_log file?

    In the alternative, if I could somehow modify the name of the error_log (to something like error_log.txt) then I could hide the file based on the extention.

    Any ideas/suggestions?

    Thanks.
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Regardless of the name of the file, you should be able to prevent public access by means of .htaccess settings.
     
Loading...

Share This Page