Httpd Config Issue On CentOS 7

Home » CentOS » Httpd Config Issue On CentOS 7
CentOS 2 Comments

Migrating a website from CentOS 6 ot 7. I try to fire up apache, and it fails, complaining of a directive:
CustomLog logs/internal.oir.cit_ssl_request_log \
“%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \”%r\” %b”

I’m googling, but I’d be happy if someone who knows apache more deeply could tell me what’s wrong with that – am I missing a package I need to install, or had the directive syntax changed?

Thanks in advance.

mark

2 thoughts on - Httpd Config Issue On CentOS 7

  • In my /etc/apache2/sites-enabled/000-default.conf

    I have:

    CustomLog ${APACHE_LOG_DIR}/access.log combined

    Does your folder after CustomLog exist? Are all the variables still the same in c7 (apache 2.4) vs c6 (apache 2.2)?

    -wes

  • the specific error message Apache logs when parsing this would likely be of help in diagnosing why thats not working..