Add docroot permissions for apache >= 2.4
When running in apache 2.4, the following sort of error was observed when trying to access the graphite Web app: AH01630: client denied by server configuration: /var/lib/graphite/webapp/content/js/composer.js, referer: httpcomposer/? This change conditionally adds the appropriate permissions to allow static web content to be served. Change-Id: I7826a2fdb1b47d39eb7a4a43c6896a16fdbb32c8
This commit is contained in:
parent
a25d50cfb7
commit
2efd63e6e2
|
@ -61,4 +61,9 @@
|
|||
Allow from all
|
||||
</IfVersion>
|
||||
</Directory>
|
||||
<IfVersion >= 2.4>
|
||||
<Directory /var/lib/graphite/webapp/content/>
|
||||
Require all granted
|
||||
</Directory>
|
||||
</IfVersion>
|
||||
</VirtualHost>
|
||||
|
|
Loading…
Reference in New Issue