Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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:
    166
    Regardless of the name of the file, you should be able to prevent public access by means of .htaccess settings.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice