How to change file permissions of log files for mod_jk's JkLogFile and mod_rewrite's RewriteLog?

Solution Unverified - Updated -

Issue

  • How do I change file permissions for mod_jk's JkLogFile and mod_rewrite's RewriteLog? Both default to 644.
  • When I set "umask 002" in Apache httpd start-up script, file permissions for other log files (error_log and access_log) were changed to 664. But both log files created byJkLogFile and RewriteLog were not changed.

Environment

  • Apache httpd 2.2
  • mod_jk
  • mod_rewrite

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.