Upgrade from apache 2.2 to apache 2.4

Asked by Alexandr

Hello,

I have graphite 0.9.10 running under apache 2.2.22 (Linux Debian testing/jessie with not upgraded apache2 yet).

I'm going to upgrade apache2 to the current for "Debian testing" version 2.4.7. I know that apache 2.4 has major changes comparing with 2.2 series. I have no possibility to install a separate testing version of graphite+apache2.4 to check possible issues, so my question is - does anybody have an experience of upgrading apache2 from 2.2 to 2.4 for graphite 0.9.10 or just clean installation of graphite 0.9.10 with apache 2.4? And did you have any problems during such an upgrade or installation?

Thanks in advance,
  Alexandr

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Alexandr
Solved:
Last query:
Last reply:
Revision history for this message
Alexandr (alexandr-bravo) said :
#1

Good morning,

I upgraded apache2 from 2.2.22 to 2.4.7, the only one tweak was required to make graphite 0.9.10 working.

If you use original graphite installation scheme with installation path under /opt/graphite you have to definitely allow apache2 to access /opt/graphite/conf/graphite.wsgi in your virtual host apache config. The simplest (but not most secure) way is:

        <Directory /opt/graphite/conf/>
                Require all granted
        </Directory>

The question could be closed as solved.

Alexandr