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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content