apache 2.4 compatibility issues (14.04 LTS)
brennebeck opened this issue · 0 comments
Since 2.4 is now standard in the 14.04 apt repos, there are a few issues with the default apache2.conf
...
Line 89: LockFile ${APACHE_LOCK_DIR}/accept.lock
AH00526: Syntax error on line 89 of /etc/apache2/apache2.conf: Invalid command 'LockFile', perhaps misspelled or defined by a module not included in the server configuration
Changing the above to Mutex file:${APACHE_LOCK_DIR} default
corrects the issue, though I'm not positive it's actually required in 2.4. I haven't really looked into it that much.
Line 201: Options -Indexes FollowSymLinks
AH00526: Syntax error on line 201 of /etc/apache2/apache2.conf: Either all Options must start with + or -, or no Option may.
For me using +FollowSymLinks
is what I generally want and handles the issue.
Line 273: Include conf.d/
apache2: Syntax error on line 273 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf.d/: No such file or directory
Just creating the dir fixes the above.