summaryrefslogtreecommitdiff
path: root/net/cacti/files
diff options
context:
space:
mode:
authorhauke <hauke@pkgsrc.org>2019-04-29 16:09:05 +0000
committerhauke <hauke@pkgsrc.org>2019-04-29 16:09:05 +0000
commit686217da912163846f773c808f07d64bfeaa39e0 (patch)
tree2bc766ead504a025db5bcbf568e3f86c2044da1f /net/cacti/files
parent673a8c8a63be4c87d5983f159d4e4d32a4a7d530 (diff)
downloadpkgsrc-686217da912163846f773c808f07d64bfeaa39e0.tar.gz
Completing the upgrade to Cacti v1.2.3.
Funny enough, the previous commit coincided with my own work on a package upgrade. It brought a few bits and bobs I had been missing, and my work closes a few of its gaps. In detail: INSTALL - set CACTI_USER and APACHE_GROUP properly MESSAGES - mention newer PHPs' php.d, while updating the extension list mention <https://github.com/Cacti/cacti/issues/2621> setup problem Makefile - add mandatory dependencies: php-{json,zlib,mbstring,posix} add patched files to 'paths' substitution files/httpd-cacti.conf - convert to Apache 2.4 ACL syntax patches/ - comments, CACTI_LOGDIR substitution Minor touch-ups everywhere - I am sure there is more to do. The result pkglints, builds, installs, configures (taking the above #2621 into account), and runs.
Diffstat (limited to 'net/cacti/files')
-rw-r--r--net/cacti/files/httpd-cacti.conf7
1 files changed, 5 insertions, 2 deletions
diff --git a/net/cacti/files/httpd-cacti.conf b/net/cacti/files/httpd-cacti.conf
index aee46091f2b..e3561488cc6 100644
--- a/net/cacti/files/httpd-cacti.conf
+++ b/net/cacti/files/httpd-cacti.conf
@@ -10,8 +10,11 @@ Alias /cacti "@CACTIDIR@"
AllowOverride Limit
AddHandler application/x-httpd-php .php
DirectoryIndex index.php
- Order allow,deny
- Allow from all
+
+ # Adjust access
+ Require ip 127.0.0.1
+ #Require all granted
+
</Directory>
# some people prefer a simple URL like http://cacti.example.com