Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1

    Default Turn off or rename "error_log"

    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. #2
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    Regardless of the name of the file, you should be able to prevent public access by means of .htaccess settings.

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 06-06-2011, 10:22 PM
  2. Replies: 3
    Last Post: 01-23-2011, 11:18 PM
  3. Replies: 0
    Last Post: 01-19-2011, 09:00 AM
  4. Apache error_log "optimization"
    By chrismfz in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-29-2009, 09:32 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube