Updates for racktables install.

This commit is contained in:
Darren 'Tadgy' Austin 2024-02-14 20:19:58 +00:00
commit 44af970c00
4 changed files with 36 additions and 26 deletions

View file

@ -86,8 +86,10 @@ ScriptSock cgid.sock
LogFormat "%h %l %u %t \"%r\" %>s %b" Common LogFormat "%h %l %u %t \"%r\" %>s %b" Common
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" Combined LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" Combined
LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" VHostCombined LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" VHostCombined
CustomLog /tmp/access.log Combined env=!no_log
#CustomLog /var/log/httpd/access.log Combined env=!no_log #CustomLog /var/log/httpd/access.log Combined env=!no_log
LogLevel warn allowmethods:crit authz_core:crit include:crit LogLevel info
# allowmethods:crit authz_core:crit include:crit
# ssl:warn # ssl:warn
ErrorLog syslog:local7 ErrorLog syslog:local7
@ -310,7 +312,7 @@ DirectoryIndex disabled
Require all granted Require all granted
AllowMethods GET POST OPTIONS AllowMethods GET HEAD POST OPTIONS
DirectoryIndex index.html DirectoryIndex index.html
<IfModule include_module> <IfModule include_module>
@ -341,7 +343,7 @@ DirectoryIndex disabled
Require all granted Require all granted
AllowMethods GET POST OPTIONS AllowMethods GET HEAD POST OPTIONS
DirectoryIndex disabled DirectoryIndex disabled

View file

@ -22,6 +22,8 @@
#ProxyPass /terrastate http://127.0.0.1:9200 #ProxyPass /terrastate http://127.0.0.1:9200
#ProxyPassReverse /terrastate http://127.0.0.1:9200 #ProxyPassReverse /terrastate http://127.0.0.1:9200
Alias /racktables /srv/www/html/racktables/wwwroot
<IfModule userdir_module> <IfModule userdir_module>
UserDir /data/home/*/www/html UserDir /data/home/*/www/html
UserDir Disabled root UserDir Disabled root

View file

@ -7,3 +7,4 @@
# This is read by the standalone daemon and embedded servers # This is read by the standalone daemon and embedded servers
[server] [server]
datadir=/var/lib/mysql datadir=/var/lib/mysql
character-set-server=utf8

View file

@ -515,7 +515,7 @@ error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
; Development Value: On ; Development Value: On
; Production Value: Off ; Production Value: Off
; https://php.net/display-errors ; https://php.net/display-errors
display_errors = Off display_errors = On
; The display of errors which occur during PHP's startup sequence are handled ; The display of errors which occur during PHP's startup sequence are handled
; separately from display_errors. We strongly recommend you set this to 'off' ; separately from display_errors. We strongly recommend you set this to 'off'
@ -612,7 +612,7 @@ syslog.ident = php
; The syslog facility is used to specify what type of program is logging ; The syslog facility is used to specify what type of program is logging
; the message. Only used when error_log is set to syslog. ; the message. Only used when error_log is set to syslog.
;syslog.facility = local6 syslog.facility = local6
; Set this to disable filtering control characters (the default). ; Set this to disable filtering control characters (the default).
; Some loggers only accept NVT-ASCII, others accept anything that's not ; Some loggers only accept NVT-ASCII, others accept anything that's not
@ -928,28 +928,30 @@ default_socket_timeout = 60
; Be sure to appropriately set the extension_dir directive. ; Be sure to appropriately set the extension_dir directive.
; ;
extension=bz2 extension=bz2
extension=bcmath
extension=calendar
; The ldap extension must be before curl if OpenSSL 1.0.2 and OpenLDAP is used ; The ldap extension must be before curl if OpenSSL 1.0.2 and OpenLDAP is used
; otherwise it results in segfault when unloading after using SASL. ; otherwise it results in segfault when unloading after using SASL.
; See https://github.com/php/php-src/issues/8620 for more info. ; See https://github.com/php/php-src/issues/8620 for more info.
;extension=ldap extension=ldap
extension=curl
;extension=curl extension=enchant
;extension=ffi ;extension=ffi
;extension=ftp extension=ftp
;extension=fileinfo ;extension=fileinfo
;extension=gd extension=gd
;extension=gettext extension=gettext
;extension=gmp extension=gmp
;extension=intl extension=iconv
extension=intl
;extension=imap ;extension=imap
;extension=mbstring ;extension=mbstring
;extension=exif ; Must be after mbstring as it depends on it extension=exif ; Must be after mbstring as it depends on it
extension=mysqli extension=mysqli
;extension=oci8_12c ; Use with Oracle Database 12c Instant Client ;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
;extension=oci8_19 ; Use with Oracle Database 19 Instant Client ;extension=oci8_19 ; Use with Oracle Database 19 Instant Client
;extension=odbc ;extension=odbc
;extension=openssl extension=openssl
;extension=pdo_firebird ;extension=pdo_firebird
extension=pdo_mysql extension=pdo_mysql
;extension=pdo_oci ;extension=pdo_oci
@ -957,18 +959,21 @@ extension=pdo_mysql
;extension=pdo_pgsql ;extension=pdo_pgsql
extension=pdo_sqlite extension=pdo_sqlite
;extension=pgsql ;extension=pgsql
;extension=shmop extension=phar
extension=posix
extension=shmop
; The MIBS data available in the PHP distribution must be installed. ; The MIBS data available in the PHP distribution must be installed.
; See https://www.php.net/manual/en/snmp.installation.php ; See https://www.php.net/manual/en/snmp.installation.php
;extension=snmp extension=snmp
extension=soap
;extension=soap extension=sockets
;extension=sockets extension=sodium
;extension=sodium
extension=sqlite3 extension=sqlite3
;extension=tidy extension=sysvmsg
;extension=xsl extension=sysvsem
extension=sysvshm
extension=tidy
extension=xsl
extension=zip extension=zip
;zend_extension=opcache ;zend_extension=opcache
@ -1341,7 +1346,7 @@ pgsql.log_notice = 0
[bcmath] [bcmath]
; Number of decimal digits for all bcmath functions. ; Number of decimal digits for all bcmath functions.
; https://php.net/bcmath.scale ; https://php.net/bcmath.scale
bcmath.scale = 0 bcmath.scale = 4
[browscap] [browscap]
; https://php.net/browscap ; https://php.net/browscap