mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-02 13:18:12 +09:00
52 lines
2.3 KiB
Plaintext
52 lines
2.3 KiB
Plaintext
# +-------------------------------------------------------------------------+
|
|
# | Copyright (C) 2004-2024 The Cacti Group |
|
|
# | |
|
|
# | This program is free software; you can redistribute it and/or |
|
|
# | modify it under the terms of the GNU General Public License |
|
|
# | as published by the Free Software Foundation; either version 2 |
|
|
# | of the License, or (at your option) any later version. |
|
|
# | |
|
|
# | This program is distributed in the hope that it will be useful, |
|
|
# | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
# | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
# | GNU General Public License for more details. |
|
|
# +-------------------------------------------------------------------------+
|
|
# | Cacti: The Complete RRDTool-based Graphing Solution |
|
|
# +-------------------------------------------------------------------------+
|
|
# | This code is designed, written, and maintained by the Cacti Group. See |
|
|
# | about.php and/or the AUTHORS file for specific developer information. |
|
|
# +-------------------------------------------------------------------------+
|
|
# | http://www.cacti.net/ |
|
|
# +-------------------------------------------------------------------------+
|
|
|
|
<VirtualHost *:80>
|
|
DocumentRoot /var/www/html
|
|
|
|
AddType text/html .php
|
|
|
|
DirectoryIndex index.php
|
|
|
|
<Directory "/var/www/html/">
|
|
Options FollowSymLinks MultiViews ExecCGI
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
|
|
<FilesMatch \.(php|phar)$>
|
|
SetHandler "proxy:unix:/run/php-fpm/www.sock|fcgi://localhost"
|
|
</FilesMatch>
|
|
|
|
# Wire up Apache to use Travis CI's php-fpm.
|
|
#<IfModule mod_fastcgi.c>
|
|
# AddHandler php5-fcgi .php
|
|
# Action php5-fcgi /php5-fcgi
|
|
# Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
|
|
# FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization
|
|
#
|
|
# <Directory /usr/lib/cgi-bin>
|
|
# Require all granted
|
|
# </Directory>
|
|
#</IfModule>
|
|
</VirtualHost>
|