operasoftware / dns-ui

Opera's LDAP-authenticated PowerDNS user interface
Apache License 2.0
282 stars 57 forks source link

Index of / when connecting to website. #165

Closed sdchristen closed 4 years ago

sdchristen commented 4 years ago

Trying to install basic Opera DNS UI with local authentication and HTTP (no LDAP or SSL). When connecting to the web server only get a listing of the public_html directory after authenticating (local auth using AuthUserFile is working).

This is an INTERNAL only server using an "invalid" top level domain using private IP addresses. The domain is LAN. Reverse is also configured and working 1.168.192.in-addr.arpa dns1.lan = 192.168.1.254

CentOS Linux release 8.1.1911 (Core) Have working PDNS PowerDNS 4.2.1 with PDNS Webserver\API working on port 8081. PDNS has MariaDB backend (10.3.17) PHP 7.4.3 Server version: Apache/2.4.37 (centos) PostgreSQL 10.6

The contents of dns-ui-master.zip downloaded from GIT are in /var/www/html/dns-ui Apache Server Configuration File /etc/httpd/conf/httpd.conf

    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #
    #AddHandler cgi-script .cgi

    # For type maps (negotiated resources):
    #AddHandler type-map var

    #
    # Filters allow you to process content before it is sent to the client.
    #
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
</IfModule>

#
# Specify a default charset for all content served; this enables
# interpretation of all content as UTF-8 by default.  To use the
# default browser choice (ISO-8859-1), or to allow the META tags
# in HTML content to override this choice, comment out this
# directive:
#
AddDefaultCharset UTF-8

<IfModule mime_magic_module>
    #
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type.  The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #
    MIMEMagicFile conf/magic
</IfModule>

#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

#
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall may be used to deliver
# files.  This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
# Defaults if commented: EnableMMAP On, EnableSendfile Off
#
#EnableMMAP off
EnableSendfile on

# Supplemental configuration
#
# Load config files in the "/etc/httpd/conf.d" directory, if any.
IncludeOptional sites-enabled/*.conf

Apache Virtual Host Configuration File

<VirtualHost *:80>
        ServerName dns1.lan
#       Redirect permanent / https://dns1.lan/
#</VirtualHost>

#<VirtualHost *:443>
        ServerName dns1.lan

#       SSLEngine on
#       SSLProtocol all -SSLv2 -SSLv3
#       SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:ECDHE-RSA-DES-CBC3-SHA:ECDHE-ECDSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA
#       SSLHonorCipherOrder on
#       SSLCertificateFile  /etc/cert/dns1.lan/cert.pem
#       SSLCertificateKeyFile /etc/cert/dns1.lan/privkey.pem
#       SSLCertificateChainFile /etc/cert/dns1.lan/chain.pem
#       SSLUseStapling          on
#       SSLStaplingResponderTimeout 5
#       SSLStaplingReturnResponderErrors off
#       Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains"

        DocumentRoot /var/www/html/dns-ui/public_html
        <Directory /var/www/html/dns-ui/public_html>
                AuthType Basic
                AuthName "DNS UI"
                AuthBasicProvider file
                AuthUserFile /etc/httpd/.htpasswd
                Require valid-user
        </Directory>

#       DirectoryIndex init.php
#       FallbackResource /init.php
#       AllowEncodedSlashes NoDecode
</VirtualHost>

Config.ini file

; DNS UI config file
[web]
enabled = 1
; Do not include a trailing / in the baseurl
baseurl = http://dns1.lan
logo = /logo-header-opera.png
; header and footer may contain HTML. Literal & " < and > should be escaped as &amp; &quot; &lt; $gt;
header = 'DNS management'
footer = 'Developed by <a href="https://www.opera.com/">Opera Software</a>.'
; Enable this option if you want system and zone admins to be forced to request changes just like the operators.
;force_change_review = 1
; Enable this option if you want all users to be forced to enter a comment for every change made.
;force_change_comment = 1

[email]
enabled = 0
; The mail address that outgoing mails will be sent from
from_address = dns@example.com
from_name = "DNS management system"
; Where to mail problem notifications to
report_address = admin@example.com
report_name = "Domain administrator"
; You can use the reroute directive to redirect all outgoing mail to a single
; mail address - typically for temporary testing purposes
;reroute = example@example.com

[database]
; Connection details to the Postgres database
dsn = "pgsql:host=localhost dbname=dnsui-db"
username =  dnsui-user
password =  passwordhere!

[authentication]
; compare the user ID's case? (on by default)
user_case_sensitive = 1

[php_auth]
enabled = 0
admin_group = "systems"

[ldap]
enabled = 0
; Address to connect to LDAP server
host = ldaps://ldap.example.com:636
; Use StartTLS for connection security (recommended if using ldap:// instead of ldaps:// above)
starttls = 0
; LDAP subtree containing USER entries
dn_user = "ou=users,dc=example,dc=com"
; LDAP subtree containing GROUP entries
dn_group = "ou=groups,dc=example,dc=com"
; Set to 1 if the LDAP library should process referrals. In most cases this
; is not needed, and for AD servers it can cause errors when querying the
; whole tree.
follow_referrals = 0

; Leave bind_dn empty if binding is not required
bind_dn =
bind_password =

; User attributes
user_id = uid
user_name = cn
user_email = mail

; If inactive users exist in your LDAP directory, filter with the following settings:
; Field to filter on:
;user_active = organizationalstatus
; Use *one* of user_active_true or user_active_false
; user_active_true means user is active if the user_active field equals its value
;user_active_true = 'current'
; user_active_false means user is active if the user_active field does not equal its value
;user_active_false = 'former'

; Group membership attributes. Examples below are for typical setups:
;
; POSIX groups
;  group_member = memberUid
;  group_member_value = uid
;
; Group-of-names groups
;  group_member = member
;  group_member_value = dn
;
; Attribute of group where members are stored
group_member = memberUid
; User attribute to compare with
group_member_value = uid

; Members of admin_group are given full access to DNS UI web interface
admin_group_cn = administrators

[powerdns]
api_url = "http://localhost:8081/api/v1/servers/localhost"
api_key = pdnsapikey

; Earlier version of DNS UI use INCEPTION-INCREMENT as the default for soa_edit_api but this has
; been dropped in PowerDNS 4.2; DEFAULT should be used instead, but one can set a different value
; for backwards compatibility with earlier PowerDNS versions.
soa_edit_api = DEFAULT

[dns]
; Enable DNSSEC view UI (requires PowerDNS 4.1)
dnssec = 0
; Allow enabling/disabling DNSSEC through the UI
dnssec_edit = 1

; If enabled (the default), matching PTR records will be automatically created
; when new A or AAAA records are added.
autocreate_reverse_records = 1

; Space-separated lists
local_zone_suffixes = "localdomain"
local_ipv4_ranges = "10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 127.0.0.0/8"
local_ipv6_ranges = "fd00::/8 ::1/128"

; if non-empty, only allow entering these (comma seperated) values in the Classification column
; Note that this is purely a front-end restriction, designed to avoid accidental errors.
;classification_whitelist = "internal,public"

[git_tracked_export]
; If enabled, will export zones as bind9 zone format to the specified path and
; will git add / git commit on behalf of the active user.
; path must be a git repository writable by the webserver user.
enabled = 0
path = /tmp/dns-export

PSQL database and user

dnsui-db=> \du
                                    List of roles
 Role name  |                         Attributes                         | Member of
------------+------------------------------------------------------------+-----------
 dnsui-user | Create DB                                                  | {}
 postgres   | Superuser, Create role, Create DB, Replication, Bypass RLS | {}

dnsui-db-> \l
                                   List of databases
   Name    |   Owner    | Encoding |   Collate   |    Ctype    |   Access privileges
-----------+------------+----------+-------------+-------------+-----------------------
 dnsui-db  | dnsui-user | UTF8     | en_US.UTF-8 | en_US.UTF-8 |
 postgres  | postgres   | UTF8     | en_US.UTF-8 | en_US.UTF-8 |
 template0 | postgres   | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +
           |            |          |             |             | postgres=CTc/postgres
 template1 | postgres   | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +
           |            |          |             |             | postgres=CTc/postgres
(4 rows)

pdns.conf

#bind-config=/etc/named.conf
setgid=pdns
setuid=pdns

# Autogenerated configuration file template
#################################
# 8bit-dns      Allow 8bit dns queries
#
# 8bit-dns=no

#################################
# allow-axfr-ips        Allow zonetransfers only to these subnets
#
#allow-axfr-ips=192.168.1.254, 192.168.1.253

#################################
# allow-dnsupdate-from  A global setting to allow DNS updates from these IP ranges.
#
#allow-dnsupdate-from=192.168.1.254,192.168.1.253

#################################
# allow-notify-from     Allow AXFR NOTIFY from these IP ranges. If empty, drop all incoming notifies.
#
#allow-notify-from=192.168.1.254, 192.168.1.253

#################################
# allow-unsigned-notify Allow unsigned notifications for TSIG secured domains
#
# allow-unsigned-notify=yes

#################################
# allow-unsigned-supermaster    Allow supermasters to create zones without TSIG signed NOTIFY
#
# allow-unsigned-supermaster=yes

#################################
# also-notify   When notifying a domain, also notify these nameservers
#
#also-notify=192.168.1.253, 192.168.1.254

#################################
# any-to-tcp    Answer ANY queries with tc=1, shunting to TCP
#
# any-to-tcp=yes

#################################
# api   Enable/disable the REST API (including HTTP listener)
#
api=yes

#################################
# api-key       Static pre-shared authentication key for access to the REST API
#
api-key=pdnsapikey

#################################
# axfr-fetch-timeout    Maximum time in seconds for inbound AXFR to start or be idle after starting
#
# axfr-fetch-timeout=10

#################################
# axfr-lower-serial     Also AXFR a zone from a master with a lower serial
#
# axfr-lower-serial=no

#################################
# cache-ttl     Seconds to store packets in the PacketCache
#
# cache-ttl=20

#################################
# carbon-instance       If set overwrites the the instance name default
#
# carbon-instance=auth

#################################
# carbon-interval       Number of seconds between carbon (graphite) updates
#
# carbon-interval=30

#################################
# carbon-namespace      If set overwrites the first part of the carbon string
#
# carbon-namespace=pdns

#################################
# carbon-ourname        If set, overrides our reported hostname for carbon stats
#
# carbon-ourname=

#################################
# carbon-server If set, send metrics in carbon (graphite) format to this server IP address
#
# carbon-server=

#################################
# chroot        If set, chroot to this directory for more security
#
# chroot=

#################################
# config-dir    Location of configuration directory (pdns.conf)
#
config-dir=/etc/pdns

#################################
# config-name   Name of this virtual configuration - will rename the binary image
#
# config-name=

#################################
# control-console       Debugging switch - don't use
#
# control-console=no

#################################
# daemon        Operate as a daemon
#
# daemon=no

#################################
# default-api-rectify   Default API-RECTIFY value for zones
#
# default-api-rectify=yes

#################################
# default-ksk-algorithm Default KSK algorithm
#
# default-ksk-algorithm=ecdsa256

#################################
# default-ksk-size      Default KSK size (0 means default)
#
# default-ksk-size=0

#################################
# default-soa-edit      Default SOA-EDIT value
#
# default-soa-edit=

#################################
# default-soa-edit-signed       Default SOA-EDIT value for signed zones
#
# default-soa-edit-signed=

#################################
# default-soa-mail      mail address to insert in the SOA record if none set in the backend
#
# default-soa-mail=

#################################
# default-soa-name      name to insert in the SOA record if none set in the backend
#
# default-soa-name=a.misconfigured.powerdns.server

#################################
# default-ttl   Seconds a result is valid if not set otherwise
#
# default-ttl=3600

#################################
# default-zsk-algorithm Default ZSK algorithm
#
# default-zsk-algorithm=

#################################
# default-zsk-size      Default ZSK size (0 means default)
#
# default-zsk-size=0

#################################
# direct-dnskey Fetch DNSKEY, CDS and CDNSKEY RRs from backend during DNSKEY or CDS/CDNSKEY synthesis
#
# direct-dnskey=no

#################################
# disable-axfr  Disable zonetransfers but do allow TCP queries
#
#disable-axfr=no

#################################
# disable-axfr-rectify  Disable the rectify step during an outgoing AXFR. Only required for regression testing.
#
# disable-axfr-rectify=no

#################################
# disable-syslog        Disable logging to syslog, useful when running inside a supervisor that logs stdout
#
# disable-syslog=no

#################################
# distributor-threads   Default number of Distributor (backend) threads to start
#
# distributor-threads=3

#################################
# dname-processing      If we should support DNAME records
#
# dname-processing=no

#################################
# dnssec-key-cache-ttl  Seconds to cache DNSSEC keys from the database
#
# dnssec-key-cache-ttl=30

#################################
# dnsupdate     Enable/Disable DNS update (RFC2136) support. Default is no.
#
# dnsupdate=no

#################################
# do-ipv6-additional-processing Do AAAA additional processing
#
# do-ipv6-additional-processing=yes

#################################
# domain-metadata-cache-ttl     Seconds to cache domain metadata from the database
#
# domain-metadata-cache-ttl=60

#################################
# edns-subnet-processing        If we should act on EDNS Subnet options
#
# edns-subnet-processing=no

#################################
# enable-lua-records    Process LUA records for all zones (metadata overrides this)
#
# enable-lua-records=no

#################################
# entropy-source        If set, read entropy from this file
#
# entropy-source=/dev/urandom

#################################
# expand-alias  Expand ALIAS records
#
# expand-alias=no

#################################
# forward-dnsupdate     A global setting to allow DNS update packages that are for a Slave domain, to be forwarded to the master.
#
# forward-dnsupdate=yes

#################################
# forward-notify        IP addresses to forward received notifications to regardless of master or slave settings
#
# forward-notify=

#################################
# guardian      Run within a guardian process
#
# guardian=no

#################################
# include-dir   Include *.conf files from this directory
#
# include-dir=

#################################
# launch        Which backends to launch and order to query them in
#
launch=gmysql

gmysql-host=localhost
gmysql-user=pdns
gmysql-password=pdnspassword2018
gmysql-dbname=powerdns

#################################
# load-modules  Load this module - supply absolute or relative path
#
# load-modules=

#################################
# local-address Local IP addresses to which we bind
#
#local-address=192.168.1.254

#################################
# local-address-nonexist-fail   Fail to start if one or more of the local-address's do not exist on this server
#
# local-address-nonexist-fail=yes

#################################
# local-ipv6    Local IP address to which we bind
#
# local-ipv6=::

#################################
# local-ipv6-nonexist-fail      Fail to start if one or more of the local-ipv6 addresses do not exist on this server
#
# local-ipv6-nonexist-fail=yes

#################################
# local-port    The port on which we listen
#
# local-port=53

#################################
# log-dns-details       If PDNS should log DNS non-erroneous details
#
# log-dns-details=no

#################################
# log-dns-queries       If PDNS should log all incoming DNS queries
#
# log-dns-queries=no

#################################
# log-timestamp Print timestamps in log lines
#
# log-timestamp=yes

#################################
# logging-facility      Log under a specific facility
#
# logging-facility=

#################################
# loglevel      Amount of logging. Higher is more. Do not set below 3
#
# loglevel=4

#################################
# lua-axfr-script       Script to be used to edit incoming AXFRs
#
# lua-axfr-script=

#################################
# lua-dnsupdate-policy-script   Lua script with DNS update policy handler
#
# lua-dnsupdate-policy-script=

#################################
# lua-prequery-script   Lua script with prequery handler (DO NOT USE)
#
# lua-prequery-script=

#################################
# lua-records-exec-limit        LUA records scripts execution limit (instructions count). Values <= 0 mean no limit
#
# lua-records-exec-limit=1000

#################################
# master        Act as a master
#
#master=yes

#################################
# max-cache-entries     Maximum number of entries in the query cache
#
# max-cache-entries=1000000

#################################
# max-ent-entries       Maximum number of empty non-terminals in a zone
#
# max-ent-entries=100000

#################################
# max-nsec3-iterations  Limit the number of NSEC3 hash iterations
#
# max-nsec3-iterations=500

#################################
# max-packet-cache-entries      Maximum number of entries in the packet cache
#
# max-packet-cache-entries=1000000

#################################
# max-queue-length      Maximum queuelength before considering situation lost
#
# max-queue-length=5000

#################################
# max-signature-cache-entries   Maximum number of signatures cache entries
#
# max-signature-cache-entries=

#################################
# max-tcp-connection-duration   Maximum time in seconds that a TCP DNS connection is allowed to stay open.
#
# max-tcp-connection-duration=0

#################################
# max-tcp-connections   Maximum number of TCP connections
#
# max-tcp-connections=20

#################################
# max-tcp-connections-per-client        Maximum number of simultaneous TCP connections per client
#
# max-tcp-connections-per-client=0

#################################
# max-tcp-transactions-per-conn Maximum number of subsequent queries per TCP connection
#
# max-tcp-transactions-per-conn=0

#################################
# module-dir    Default directory for modules
#
# module-dir=/usr/lib64/pdns

#################################
# negquery-cache-ttl    Seconds to store negative query results in the QueryCache
#
# negquery-cache-ttl=60

#################################
# no-shuffle    Set this to prevent random shuffling of answers - for regression testing
#
# no-shuffle=off

#################################
# non-local-bind        Enable binding to non-local addresses by using FREEBIND / BINDANY socket options
#
# non-local-bind=no

#################################
# only-notify   Only send AXFR NOTIFY to these IP addresses or netmasks
#
# only-notify=0.0.0.0/0,::/0

#################################
# outgoing-axfr-expand-alias    Expand ALIAS records during outgoing AXFR
#
# outgoing-axfr-expand-alias=no

#################################
# overload-queue-length Maximum queuelength moving to packetcache only
#
# overload-queue-length=0

#################################
# prevent-self-notification     Don't send notifications to what we think is ourself
#
# prevent-self-notification=yes

#################################
# query-cache-ttl       Seconds to store query results in the QueryCache
#
# query-cache-ttl=20

#################################
# query-local-address   Source IP address for sending queries
#
#query-local-address=192.168.1.254

#################################
# query-local-address6  Source IPv6 address for sending queries
#
# query-local-address6=::

#################################
# query-logging Hint backends that queries should be logged
#
# query-logging=no

#################################
# queue-limit   Maximum number of milliseconds to queue a query
#
# queue-limit=1500

#################################
# receiver-threads      Default number of receiver threads to start
#
# receiver-threads=1

#################################
# resolver      Use this resolver for ALIAS and the internal stub resolver
#
# resolver=no

#################################
# retrieval-threads     Number of AXFR-retrieval threads for slave operation
#
# retrieval-threads=2

#################################
# reuseport     Enable higher performance on compliant kernels by using SO_REUSEPORT allowing each receiver thread to open its own socket
#
# reuseport=no

#################################
# rng   Specify the random number generator to use. Valid values are auto,sodium,openssl,getrandom,arc4random,urandom.
#
# rng=auto

#################################
# security-poll-suffix  Domain name from which to query security update notifications
#
# security-poll-suffix=

#################################
# send-signed-notify    Send TSIG secured NOTIFY if TSIG key is configured for a domain
#
# send-signed-notify=yes

#################################
# server-id     Returned when queried for 'id.server' TXT or NSID, defaults to hostname - disabled or custom
#
# server-id=

#################################
# setgid        If set, change group id to this gid for more security
#
setgid=pdns

#################################
# setuid        If set, change user id to this uid for more security
#
setuid=pdns

#################################
# signing-threads       Default number of signer threads to start
#
# signing-threads=3

#################################
# slave Act as a slave
#
# slave=no

#################################
# slave-cycle-interval  Schedule slave freshness checks once every .. seconds
#
# slave-cycle-interval=60

#################################
# slave-renotify        If we should send out notifications for slaved updates
#
# slave-renotify=no

#################################
# soa-expire-default    Default SOA expire
#
# soa-expire-default=604800

#################################
# soa-minimum-ttl       Default SOA minimum ttl
#
# soa-minimum-ttl=3600

#################################
# soa-refresh-default   Default SOA refresh
#
# soa-refresh-default=10800

#################################
# soa-retry-default     Default SOA retry
#
# soa-retry-default=3600

#################################
# socket-dir    Where the controlsocket will live, /var/run when unset and not chrooted
#
# socket-dir=

#################################
# superslave    Act as a superslave
#
# superslave=no

#################################
# tcp-control-address   If set, PowerDNS can be controlled over TCP on this address
#
# tcp-control-address=

#################################
# tcp-control-port      If set, PowerDNS can be controlled over TCP on this address
#
# tcp-control-port=53000

#################################
# tcp-control-range     If set, remote control of PowerDNS is possible over these networks only
#
# tcp-control-range=127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10

#################################
# tcp-control-secret    If set, PowerDNS can be controlled over TCP after passing this secret
#
# tcp-control-secret=

#################################
# tcp-fast-open Enable TCP Fast Open support on the listening sockets, using the supplied numerical value as the queue size
#
# tcp-fast-open=0

#################################
# tcp-idle-timeout      Maximum time in seconds that a TCP DNS connection is allowed to stay open while being idle
#
# tcp-idle-timeout=5

#################################
# traceback-handler     Enable the traceback handler (Linux only)
#
# traceback-handler=yes

#################################
# trusted-notification-proxy    IP address of incoming notification proxy
#
# trusted-notification-proxy=

#################################
# udp-truncation-threshold      Maximum UDP response size before we truncate
#
# udp-truncation-threshold=1232

#################################
# version-string        PowerDNS version in packets - full, anonymous, powerdns or custom
#
# version-string=full

#################################
# webserver     Start a webserver for monitoring (api=yes also enables the HTTP listener)
#
webserver=yes

#################################
# webserver-address     IP Address of webserver/API to listen on
#
webserver-address=192.168.1.254

#################################
# webserver-allow-from  Webserver/API access is only allowed from these subnets
#
webserver-allow-from=192.168.1.0/24, 192.168.2.0/24, 192.168.3.0/24, 192.168.86.0/24

#################################
# webserver-loglevel    Amount of logging in the webserver (none, normal, detailed)
#
# webserver-loglevel=normal

#################################
# webserver-max-bodysize        Webserver/API maximum request/response body size in megabytes
#
# webserver-max-bodysize=2

#################################
# webserver-password    Password required for accessing the webserver
#
# webserver-password=pdnspassword2018

#################################
# webserver-port        Port of webserver/API to listen on
#
webserver-port=8081

#################################
# webserver-print-arguments     If the webserver should print arguments
#
# webserver-print-arguments=no

#################################
# write-pid     Write a PID file
#
# write-pid=yes

#################################
# xfr-max-received-mbytes       Maximum number of megabytes received from an incoming XFR
#
# xfr-max-received-mbytes=100
thomas-pike commented 4 years ago
#       DirectoryIndex init.php
#       FallbackResource /init.php
#       AllowEncodedSlashes NoDecode

You have these lines commented-out. Without them you will certainly get no content.

sdchristen commented 4 years ago

For some reason I thought those lines were LDAP related. I uncommented them and am getting closer but it is still not working.

Added this to /etc/httpd/conf/httpd.conf:

ADDED - Load PHP

<FilesMatch .php$>

SetHandler application/x-httpd-php

Changed /etc/httpd/conf.modules.d/00-mpm.conf

Commented out:

LoadModule mpm_event_module modules/mod_mpm_event.so

Uncommented:

LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

[root@dns1 public_html]# httpd -V | grep MPM

Server MPM: prefork

Also verified PHP was working by creating phpinfo.php in public_html.

<?php

    phpinfo();

?>

http://dns1.lan/phpinfo.php gives:

PHP Version 7.4.3

System

Linux dns1.lan 4.18.0-147.5.1.el8_1.x86_64 #1 SMP Wed Feb 5 02:00:39 UTC 2020 x86_64

Build Date

Feb 18 2020 11:53:05

Server API

Apache 2.0 Handler

Virtual Directory Support

disabled

Configuration File (php.ini) Path

/etc

Loaded Configuration File

/etc/php.ini

Scan this dir for additional .ini files

/etc/php.d

Additional .ini files parsed

/etc/php.d/10-opcache.ini, /etc/php.d/20-bz2.ini, /etc/php.d/20-calendar.ini, /etc/php.d/20-ctype.ini, /etc/php.d/20-curl.ini, /etc/php.d/20-dom.ini, /etc/php.d/20-exif.ini, /etc/php.d/20-fileinfo.ini, /etc/php.d/20-ftp.ini, /etc/php.d/20-gd.ini, /etc/php.d/20-gettext.ini, /etc/php.d/20-iconv.ini, /etc/php.d/20-imap.ini, /etc/php.d/20-intl.ini, /etc/php.d/20-json.ini, /etc/php.d/20-ldap.ini, /etc/php.d/20-mbstring.ini, /etc/php.d/20-mysqlnd.ini, /etc/php.d/20-odbc.ini, /etc/php.d/20-pdo.ini, /etc/php.d/20-phar.ini, /etc/php.d/20-posix.ini, /etc/php.d/20-shmop.ini, /etc/php.d/20-simplexml.ini, /etc/php.d/20-sockets.ini, /etc/php.d/20-sodium.ini, /etc/php.d/20-sqlite3.ini, /etc/php.d/20-sysvmsg.ini, /etc/php.d/20-sysvsem.ini, /etc/php.d/20-sysvshm.ini, /etc/php.d/20-tokenizer.ini, /etc/php.d/20-xml.ini, /etc/php.d/20-xmlwriter.ini, /etc/php.d/20-xsl.ini, /etc/php.d/30-mcrypt.ini, /etc/php.d/30-mysqli.ini, /etc/php.d/30-pdo_mysql.ini, /etc/php.d/30-pdo_odbc.ini, /etc/php.d/30-pdo_sqlite.ini, /etc/php.d/30-xmlreader.ini, /etc/php.d/30-xmlrpc.ini, /etc/php.d/50-mysql.ini

PHP API

20190902

PHP Extension

20190902

Zend Extension

320190902

Zend Extension Build

API320190902,NTS

PHP Extension Build

API20190902,NTS

Debug Build

no

Thread Safety

disabled

Zend Signal Handling

enabled

Zend Memory Manager

enabled

Zend Multibyte Support

provided by mbstring

IPv6 Support

enabled

DTrace Support

available, disabled

Registered PHP Streams

https, ftps, compress.zlib, php, file, glob, data, http, ftp, compress.bzip2, phar

Registered Stream Socket Transports

tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3

Registered Stream Filters

zlib., string.rot13, string.toupper, string.tolower, string.strip_tags, convert., consumed, dechunk, bzip2., convert.iconv., mcrypt., mdecrypt.

http://www.zend.com/ This program makes use of the Zend Scripting Language Engine: Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies


Configuration

apache2handler

Apache Version

Apache/2.4.37 (centos) OpenSSL/1.1.1c PHP/7.4.3

Apache API Version

20120211

Server Administrator

root@localhost

Hostname:Port

dns1.lan:0

User/Group

apache(48)/48

Max Requests

Per Child: 0 - Keep Alive: on - Max Per Connection: 100

Timeouts

Connection: 60 - Keep-Alive: 5

Virtual Server

Yes

Server Root

/etc/httpd

Loaded Modules

core mod_so http_core mod_access_compat mod_actions mod_alias mod_allowmethods mod_auth_basic mod_auth_digest mod_authn_anon mod_authn_core mod_authn_dbd mod_authn_dbm mod_authn_file mod_authn_socache mod_authz_core mod_authz_dbd mod_authz_dbm mod_authz_groupfile mod_authz_host mod_authz_owner mod_authz_user mod_autoindex mod_brotli mod_cache mod_cache_disk mod_cache_socache mod_data mod_dbd mod_deflate mod_dir mod_dumpio mod_echo mod_env mod_expires mod_ext_filter mod_filter mod_headers mod_include mod_info mod_log_config mod_logio mod_macro mod_mime_magic mod_mime mod_negotiation mod_remoteip mod_reqtimeout mod_request mod_rewrite mod_setenvif mod_slotmem_plain mod_slotmem_shm mod_socache_dbm mod_socache_memcache mod_socache_shmcb mod_status mod_substitute mod_suexec mod_unique_id mod_unixd mod_userdir mod_version mod_vhost_alias mod_watchdog mod_dav mod_dav_fs mod_dav_lock mod_lua prefork mod_proxy mod_lbmethod_bybusyness mod_lbmethod_byrequests mod_lbmethod_bytraffic mod_lbmethod_heartbeat mod_proxy_ajp mod_proxy_balancer mod_proxy_connect mod_proxy_express mod_proxy_fcgi mod_proxy_fdpass mod_proxy_ftp mod_proxy_http mod_proxy_hcheck mod_proxy_scgi mod_proxy_uwsgi mod_proxy_wstunnel mod_ssl mod_systemd mod_cgi mod_http2 mod_proxy_http2 mod_php7

Directive

Local Value

Master Value

engine

1

1

last_modified

0

0

xbithack

0

0

Apache Environment

Variable

Value

UNIQUE_ID

XmZXUUBV3mPIilsskT-rKAAAAAI

HTTP_HOST

dns1.lan

HTTP_CONNECTION

keep-alive

HTTP_DNT

1

HTTP_UPGRADE_INSECURE_REQUESTS

1

HTTP_USER_AGENT

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36

HTTP_ACCEPT

text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9

HTTP_ACCEPT_ENCODING

gzip, deflate

HTTP_ACCEPT_LANGUAGE

en-US,en;q=0.9

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin

SERVER_SIGNATURE

no value

SERVER_SOFTWARE

Apache/2.4.37 (centos) OpenSSL/1.1.1c PHP/7.4.3

SERVER_NAME

dns1.lan

SERVER_ADDR

192.168.1.254

SERVER_PORT

80

REMOTE_ADDR

192.168.1.111

DOCUMENT_ROOT

/var/www/html/dns-ui/public_html

REQUEST_SCHEME

http

CONTEXT_PREFIX

no value

CONTEXT_DOCUMENT_ROOT

/var/www/html/dns-ui/public_html

SERVER_ADMIN

root@localhost

SCRIPT_FILENAME

/var/www/html/dns-ui/public_html/phpinfo.php

REMOTE_PORT

15931

REMOTE_USER

dnsui-user

AUTH_TYPE

Basic

GATEWAY_INTERFACE

CGI/1.1

SERVER_PROTOCOL

HTTP/1.1

REQUEST_METHOD

GET

QUERY_STRING

no value

REQUEST_URI

/phpinfo.php

SCRIPT_NAME

/phpinfo.php

HTTP Headers Information

HTTP Request Headers

HTTP Request

GET /phpinfo.php HTTP/1.1

Host

dns1.lan

Connection

keep-alive

Authorization

Basic ZG5zdWktdXNlcjpJOGMwMGtpZXMh

DNT

1

Upgrade-Insecure-Requests

1

User-Agent

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36

Accept

text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9

Accept-Encoding

gzip, deflate

Accept-Language

en-US,en;q=0.9

HTTP Response Headers

X-Powered-By

PHP/7.4.3

bz2

BZip2 Support

Enabled

Stream Wrapper support

compress.bzip2://

Stream Filter support

bzip2.decompress, bzip2.compress

BZip2 Version

1.0.6, 6-Sept-2010

calendar

Calendar support

enabled

Core

PHP Version

7.4.3

Directive

Local Value

Master Value

allow_url_fopen

On

On

allow_url_include

Off

Off

arg_separator.input

&

&

arg_separator.output

&

&

auto_append_file

no value

no value

auto_globals_jit

On

On

auto_prepend_file

no value

no value

browscap

no value

no value

default_charset

UTF-8

UTF-8

default_mimetype

text/html

text/html

disable_classes

no value

no value

disable_functions

no value

no value

display_errors

Off

Off

display_startup_errors

Off

Off

doc_root

no value

no value

docref_ext

no value

no value

docref_root

no value

no value

enable_dl

Off

Off

enable_post_data_reading

On

On

error_append_string

no value

no value

error_log

no value

no value

error_prepend_string

no value

no value

error_reporting

22527

22527

expose_php

On

On

extension_dir

/usr/lib64/php/modules

/usr/lib64/php/modules

file_uploads

On

On

hard_timeout

2

2

highlight.comment

FF8000

FF8000

highlight.default

0000BB

0000BB

highlight.html

000000

000000

highlight.keyword

007700

007700

highlight.string

DD0000

DD0000

html_errors

On

On

ignore_repeated_errors

Off

Off

ignore_repeated_source

Off

Off

ignore_user_abort

Off

Off

implicit_flush

Off

Off

include_path

.:/usr/share/pear:/usr/share/php

.:/usr/share/pear:/usr/share/php

input_encoding

no value

no value

internal_encoding

no value

no value

log_errors

On

On

log_errors_max_len

1024

1024

mail.add_x_header

Off

Off

mail.force_extra_parameters

no value

no value

mail.log

no value

no value

max_execution_time

30

30

max_file_uploads

20

20

max_input_nesting_level

64

64

max_input_time

60

60

max_input_vars

1000

1000

memory_limit

128M

128M

open_basedir

no value

no value

output_buffering

4096

4096

output_encoding

no value

no value

output_handler

no value

no value

post_max_size

8M

8M

precision

14

14

realpath_cache_size

4096K

4096K

realpath_cache_ttl

120

120

register_argc_argv

Off

Off

report_memleaks

On

On

report_zend_debug

On

On

request_order

GP

GP

sendmail_from

no value

no value

sendmail_path

/usr/sbin/sendmail -t -i

/usr/sbin/sendmail -t -i

serialize_precision

-1

-1

short_open_tag

Off

Off

SMTP

localhost

localhost

smtp_port

25

25

sys_temp_dir

no value

no value

syslog.facility

LOG_USER

LOG_USER

syslog.filter

no-ctrl

no-ctrl

syslog.ident

php

php

track_errors

Off

Off

unserialize_callback_func

no value

no value

upload_max_filesize

2M

2M

upload_tmp_dir

no value

no value

user_dir

no value

no value

user_ini.cache_ttl

300

300

user_ini.filename

.user.ini

.user.ini

variables_order

GPCS

GPCS

xmlrpc_error_number

0

0

xmlrpc_errors

Off

Off

zend.assertions

-1

-1

zend.detect_unicode

On

On

zend.enable_gc

On

On

zend.exception_ignore_args

On

On

zend.multibyte

Off

Off

zend.script_encoding

no value

no value

zend.signal_check

Off

Off

ctype

ctype functions

enabled

curl

cURL support

enabled

cURL Information

7.61.1

Age

4

Features

AsynchDNS

Yes

CharConv

No

Debug

No

GSS-Negotiate

No

IDN

Yes

IPv6

Yes

krb4

No

Largefile

Yes

libz

Yes

NTLM

Yes

NTLMWB

Yes

SPNEGO

Yes

SSL

Yes

SSPI

No

TLS-SRP

Yes

HTTP2

Yes

GSSAPI

Yes

KERBEROS5

Yes

UNIX_SOCKETS

Yes

PSL

Yes

HTTPS_PROXY

Yes

MULTI_SSL

No

BROTLI

Yes

Protocols

dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp

Host

x86_64-redhat-linux-gnu

SSL Version

OpenSSL/1.1.1c

ZLib Version

1.2.11

libSSH Version

libssh/0.9.0/openssl/zlib

Directive

Local Value

Master Value

curl.cainfo

no value

no value

date

date/time support

enabled

timelib version

2018.03

"Olson" Timezone Database Version

0.system

Timezone Database

internal

Default timezone

UTC

Directive

Local Value

Master Value

date.default_latitude

31.7667

31.7667

date.default_longitude

35.2333

35.2333

date.sunrise_zenith

90.583333

90.583333

date.sunset_zenith

90.583333

90.583333

date.timezone

no value

no value

dom

DOM/XML

enabled

DOM/XML API Version

20031129

libxml Version

2.9.7

HTML Support

enabled

XPath Support

enabled

XPointer Support

enabled

Schema Support

enabled

RelaxNG Support

enabled

exif

EXIF Support

enabled

Supported EXIF Version

0220

Supported filetypes

JPEG, TIFF

Multibyte decoding support using mbstring

enabled

Extended EXIF tag formats

Canon, Casio, Fujifilm, Nikon, Olympus, Samsung, Panasonic, DJI, Sony, Pentax, Minolta, Sigma, Foveon, Kyocera, Ricoh, AGFA, Epson

Directive

Local Value

Master Value

exif.decode_jis_intel

JIS

JIS

exif.decode_jis_motorola

JIS

JIS

exif.decode_unicode_intel

UCS-2LE

UCS-2LE

exif.decode_unicode_motorola

UCS-2BE

UCS-2BE

exif.encode_jis

no value

no value

exif.encode_unicode

ISO-8859-15

ISO-8859-15

fileinfo

fileinfo support

enabled

libmagic

537

filter

Input Validation and Filtering

enabled

Directive

Local Value

Master Value

filter.default

unsafe_raw

unsafe_raw

filter.default_flags

no value

no value

ftp

FTP support

enabled

FTPS support

enabled

gd

GD Support

enabled

GD headers Version

2.2.5

GD library Version

2.2.5

FreeType Support

enabled

FreeType Linkage

with freetype

GIF Read Support

enabled

GIF Create Support

enabled

JPEG Support

enabled

PNG Support

enabled

WBMP Support

enabled

XPM Support

enabled

XBM Support

enabled

WebP Support

enabled

BMP Support

enabled

TGA Read Support

enabled

Directive

Local Value

Master Value

gd.jpeg_ignore_warning

1

1

gettext

GetText Support

enabled

hash

hash support

enabled

Hashing Engines

md2 md4 md5 sha1 sha224 sha256 sha384 sha512/224 sha512/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b crc32c fnv132 fnv1a32 fnv164 fnv1a64 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

MHASH support

Enabled

MHASH API Version

Emulated Support

iconv

iconv support

enabled

iconv implementation

glibc

iconv library version

2.28

Directive

Local Value

Master Value

iconv.input_encoding

no value

no value

iconv.internal_encoding

no value

no value

iconv.output_encoding

no value

no value

imap

IMAP c-Client Version

2007f

SSL Support

enabled

Kerberos Support

enabled

Directive

Local Value

Master Value

imap.enable_insecure_rsh

Off

Off

intl

Internationalization support

enabled

ICU version

62.1

ICU Data version

62.1

ICU TZData version

2018e

ICU Unicode version

11.0

Directive

Local Value

Master Value

intl.default_locale

no value

no value

intl.error_level

0

0

intl.use_exceptions

0

0

json

json support

enabled

ldap

LDAP Support

enabled

Total Links

0/unlimited

API Version

3001

Vendor Name

OpenLDAP

Vendor Version

20446

SASL Support

Enabled

Directive

Local Value

Master Value

ldap.max_links

Unlimited

Unlimited

libxml

libXML support

active

libXML Compiled Version

2.9.7

libXML Loaded Version

20907

libXML streams

enabled

mbstring

Multibyte Support

enabled

Multibyte string engine

libmbfl

HTTP input encoding translation

disabled

libmbfl version

1.3.2

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Multibyte (japanese) regex support

enabled

Multibyte regex (oniguruma) version

6.8.2

Directive

Local Value

Master Value

mbstring.detect_order

no value

no value

mbstring.encoding_translation

Off

Off

mbstring.func_overload

0

0

mbstring.http_input

no value

no value

mbstring.http_output

no value

no value

mbstring.http_output_conv_mimetypes

^(text/|application/xhtml+xml)

^(text/|application/xhtml+xml)

mbstring.internal_encoding

no value

no value

mbstring.language

neutral

neutral

mbstring.regex_retry_limit

1000000

1000000

mbstring.regex_stack_limit

100000

100000

mbstring.strict_detection

Off

Off

mbstring.substitute_character

no value

no value

mcrypt

mcrypt support

enabled

mcrypt_filter support

enabled

Version

2.5.8

Api No

20021217

Supported ciphers

cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes

Supported modes

cbc cfb ctr ecb ncfb nofb ofb stream

Directive

Local Value

Master Value

mcrypt.algorithms_dir

no value

no value

mcrypt.modes_dir

no value

no value

mysql

MySQL Support

enabled

Active Persistent Links

0

Active Links

0

Client API version

mysqlnd 7.4.3

Directive

Local Value

Master Value

mysql.allow_local_infile

On

On

mysql.allow_persistent

On

On

mysql.connect_timeout

60

60

mysql.default_host

no value

no value

mysql.default_password

no value

no value

mysql.default_port

no value

no value

mysql.default_socket

/var/lib/mysql/mysql.sock

/var/lib/mysql/mysql.sock

mysql.default_user

no value

no value

mysql.max_links

Unlimited

Unlimited

mysql.max_persistent

Unlimited

Unlimited

mysql.trace_mode

Off

Off

mysqli

MysqlI Support

enabled

Client API library version

mysqlnd 7.4.3

Active Persistent Links

0

Inactive Persistent Links

0

Active Links

0

Directive

Local Value

Master Value

mysqli.allow_local_infile

Off

Off

mysqli.allow_persistent

On

On

mysqli.default_host

no value

no value

mysqli.default_port

3306

3306

mysqli.default_pw

no value

no value

mysqli.default_socket

/var/lib/mysql/mysql.sock

/var/lib/mysql/mysql.sock

mysqli.default_user

no value

no value

mysqli.max_links

Unlimited

Unlimited

mysqli.max_persistent

Unlimited

Unlimited

mysqli.reconnect

Off

Off

mysqli.rollback_on_cached_plink

Off

Off

mysqlnd

mysqlnd

enabled

Version

mysqlnd 7.4.3

Compression

supported

core SSL

supported

extended SSL

supported

Command buffer size

4096

Read buffer size

32768

Read timeout

86400

Collecting statistics

Yes

Collecting memory statistics

No

Tracing

n/a

Loaded plugins

mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_caching_sha2_password,auth_plugin_sha256_password

API Extensions

mysqli,pdo_mysql,mysql

odbc

ODBC Support

enabled

Active Persistent Links

0

Active Links

0

ODBC library

unixODBC

ODBCVER

0x0380

ODBC_CFLAGS

-I/usr/include

ODBC_LFLAGS

-L/usr/lib64

ODBC_LIBS

-lodbc

Directive

Local Value

Master Value

odbc.allow_persistent

On

On

odbc.check_persistent

On

On

odbc.default_cursortype

Static cursor

Static cursor

odbc.default_db

no value

no value

odbc.default_pw

no value

no value

odbc.default_user

no value

no value

odbc.defaultbinmode

return as is

return as is

odbc.defaultlrl

return up to 4096 bytes

return up to 4096 bytes

odbc.max_links

Unlimited

Unlimited

odbc.max_persistent

Unlimited

Unlimited

openssl

OpenSSL support

enabled

OpenSSL Library Version

OpenSSL 1.1.1c FIPS 28 May 2019

OpenSSL Header Version

OpenSSL 1.1.1c FIPS 28 May 2019

Openssl default config

/etc/pki/tls/openssl.cnf

Directive

Local Value

Master Value

openssl.cafile

no value

no value

openssl.capath

no value

no value

pcre

PCRE (Perl Compatible Regular Expressions) Support

enabled

PCRE Library Version

10.32 2018-09-10

PCRE Unicode Version

11.0.0

PCRE JIT Support

enabled

PCRE JIT Target

x86 64bit (little endian + unaligned)

Directive

Local Value

Master Value

pcre.backtrack_limit

1000000

1000000

pcre.jit

0

0

pcre.recursion_limit

100000

100000

PDO

PDO support

enabled

PDO drivers

mysql, odbc, sqlite

pdo_mysql

PDO Driver for MySQL

enabled

Client API version

mysqlnd 7.4.3

Directive

Local Value

Master Value

pdo_mysql.default_socket

/var/lib/mysql/mysql.sock

/var/lib/mysql/mysql.sock

PDO_ODBC

PDO Driver for ODBC (unixODBC)

enabled

ODBC Connection Pooling

Enabled, strict matching

pdo_sqlite

PDO Driver for SQLite 3.x

enabled

SQLite Library

3.26.0

Phar

Phar: PHP Archive support

enabled

Phar API version

1.1.1

Phar-based phar archives

enabled

Tar-based phar archives

enabled

ZIP-based phar archives

enabled

gzip compression

enabled

bzip2 compression

enabled

Native OpenSSL support

enabled

Phar based on pear/PHP_Archive, original concept by Davey Shafik. Phar fully realized by Gregory Beaver and Marcus Boerger. Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.

Directive

Local Value

Master Value

phar.cache_list

no value

no value

phar.readonly

On

On

phar.require_hash

On

On

posix

POSIX support

enabled

Reflection

Reflection

enabled

session

Session Support

enabled

Registered save handlers

files user

Registered serializer handlers

php_serialize php php_binary

Directive

Local Value

Master Value

session.auto_start

Off

Off

session.cache_expire

180

180

session.cache_limiter

nocache

nocache

session.cookie_domain

no value

no value

session.cookie_httponly

no value

no value

session.cookie_lifetime

0

0

session.cookie_path

/

/

session.cookie_samesite

no value

no value

session.cookie_secure

0

0

session.gc_divisor

1000

1000

session.gc_maxlifetime

1440

1440

session.gc_probability

1

1

session.lazy_write

On

On

session.name

PHPSESSID

PHPSESSID

session.referer_check

no value

no value

session.save_handler

files

files

session.save_path

no value

no value

session.serialize_handler

php

php

session.sid_bits_per_character

5

5

session.sid_length

26

26

session.upload_progress.cleanup

On

On

session.upload_progress.enabled

On

On

session.upload_progress.freq

1%

1%

session.upload_progress.min_freq

1

1

session.upload_progress.name

PHP_SESSION_UPLOAD_PROGRESS

PHP_SESSION_UPLOAD_PROGRESS

session.upload_progress.prefix

uploadprogress

uploadprogress

session.use_cookies

1

1

session.use_only_cookies

1

1

session.use_strict_mode

0

0

session.use_trans_sid

0

0

shmop

shmop support

enabled

SimpleXML

SimpleXML support

enabled

Schema support

enabled

sockets

Sockets Support

enabled

sodium

sodium support

enabled

libsodium headers version

1.0.18

libsodium library version

1.0.18

SPL

SPL support

enabled

Interfaces

OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject

Classes

AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException

sqlite3

SQLite3 support

enabled

SQLite Library

3.26.0

Directive

Local Value

Master Value

sqlite3.defensive

1

1

sqlite3.extension_dir

no value

no value

standard

Dynamic Library Support

enabled

Path to sendmail

/usr/sbin/sendmail -t -i

Directive

Local Value

Master Value

assert.active

1

1

assert.bail

0

0

assert.callback

no value

no value

assert.exception

0

0

assert.quiet_eval

0

0

assert.warning

1

1

auto_detect_line_endings

0

0

default_socket_timeout

60

60

from

no value

no value

session.trans_sid_hosts

no value

no value

session.trans_sid_tags

a=href,area=href,frame=src,form=

a=href,area=href,frame=src,form=

unserialize_max_depth

4096

4096

url_rewriter.hosts

no value

no value

url_rewriter.tags

form=

form=

user_agent

no value

no value

sysvmsg

sysvmsg support

enabled

sysvsem

sysvsem support

enabled

sysvshm

sysvshm support

enabled

tokenizer

Tokenizer Support

enabled

xml

XML Support

active

XML Namespace Support

active

libxml2 Version

2.9.7

xmlreader

XMLReader

enabled

xmlrpc

core library version

xmlrpc-epi v. 0.51

author

Dan Libby

homepage

http://xmlrpc-epi.sourceforge.net

open sourced by

Epinions.com

xmlwriter

XMLWriter

enabled

xsl

XSL

enabled

libxslt Version

1.1.32

libxslt compiled against libxml Version

2.9.7

EXSLT

enabled

libexslt Version

1.1.32

Zend OPcache

Opcode Caching

Up and Running

Optimization

Enabled

SHM Cache

Enabled

File Cache

Disabled

Startup

OK

Shared memory model

mmap

Cache hits

0

Cache misses

1

Used memory

9168472

Free memory

125049256

Wasted memory

0

Interned Strings Used memory

401616

Interned Strings Free memory

5889392

Cached scripts

1

Cached keys

1

Max keys

16229

OOM restarts

0

Hash keys restarts

0

Manual restarts

0

Directive

Local Value

Master Value

opcache.blacklist_filename

/etc/php.d/opcache*.blacklist

/etc/php.d/opcache*.blacklist

opcache.consistency_checks

0

0

opcache.dups_fix

Off

Off

opcache.enable

On

On

opcache.enable_cli

On

On

opcache.enable_file_override

Off

Off

opcache.error_log

no value

no value

opcache.file_cache

no value

no value

opcache.file_cache_consistency_checks

1

1

opcache.file_cache_only

0

0

opcache.file_update_protection

2

2

opcache.force_restart_timeout

180

180

opcache.huge_code_pages

Off

Off

opcache.interned_strings_buffer

8

8

opcache.lockfile_path

/tmp

/tmp

opcache.log_verbosity_level

1

1

opcache.max_accelerated_files

10000

10000

opcache.max_file_size

0

0

opcache.max_wasted_percentage

5

5

opcache.memory_consumption

128

128

opcache.opt_debug_level

0

0

opcache.optimization_level

0x7FFEBFFF

0x7FFEBFFF

opcache.preferred_memory_model

no value

no value

opcache.preload

no value

no value

opcache.preload_user

no value

no value

opcache.protect_memory

0

0

opcache.restrict_api

no value

no value

opcache.revalidate_freq

2

2

opcache.revalidate_path

Off

Off

opcache.save_comments

1

1

opcache.use_cwd

On

On

opcache.validate_permission

Off

Off

opcache.validate_root

Off

Off

opcache.validate_timestamps

On

On

zlib

ZLib Support

enabled

Stream Wrapper

compress.zlib://

Stream Filter

zlib.inflate, zlib.deflate

Compiled Version

1.2.11

Linked Version

1.2.11

Directive

Local Value

Master Value

zlib.output_compression

Off

Off

zlib.output_compression_level

-1

-1

zlib.output_handler

no value

no value

Additional Modules

Module Name

Environment

Variable

Value

LANG

C

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin

NOTIFY_SOCKET

/run/systemd/notify

INVOCATION_ID

56db2aec81ae4bbaa993e2c3171e9b66

JOURNAL_STREAM

9:1348566

PHP Variables

Variable

Value

$_SERVER['UNIQUE_ID']

XmZXUUBV3mPIilsskT-rKAAAAAI

$_SERVER['HTTP_HOST']

dns1.lan

$_SERVER['HTTP_CONNECTION']

keep-alive

$_SERVER['HTTP_DNT']

1

$_SERVER['HTTP_UPGRADE_INSECURE_REQUESTS']

1

$_SERVER['HTTP_USER_AGENT']

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36

$_SERVER['HTTP_ACCEPT']

text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9

$_SERVER['HTTP_ACCEPT_ENCODING']

gzip, deflate

$_SERVER['HTTP_ACCEPT_LANGUAGE']

en-US,en;q=0.9

$_SERVER['PATH']

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin

$_SERVER['SERVER_SIGNATURE']

no value

$_SERVER['SERVER_SOFTWARE']

Apache/2.4.37 (centos) OpenSSL/1.1.1c PHP/7.4.3

$_SERVER['SERVER_NAME']

dns1.lan

$_SERVER['SERVER_ADDR']

192.168.1.254

$_SERVER['SERVER_PORT']

80

$_SERVER['REMOTE_ADDR']

192.168.1.111

$_SERVER['DOCUMENT_ROOT']

/var/www/html/dns-ui/public_html

$_SERVER['REQUEST_SCHEME']

http

$_SERVER['CONTEXT_PREFIX']

no value

$_SERVER['CONTEXT_DOCUMENT_ROOT']

/var/www/html/dns-ui/public_html

$_SERVER['SERVER_ADMIN']

root@localhost

$_SERVER['SCRIPT_FILENAME']

/var/www/html/dns-ui/public_html/phpinfo.php

$_SERVER['REMOTE_PORT']

15931

$_SERVER['REMOTE_USER']

dnsui-user

$_SERVER['AUTH_TYPE']

Basic

$_SERVER['GATEWAY_INTERFACE']

CGI/1.1

$_SERVER['SERVER_PROTOCOL']

HTTP/1.1

$_SERVER['REQUEST_METHOD']

GET

$_SERVER['QUERY_STRING']

no value

$_SERVER['REQUEST_URI']

/phpinfo.php

$_SERVER['SCRIPT_NAME']

/phpinfo.php

$_SERVER['PHP_SELF']

/phpinfo.php

$_SERVER['PHP_AUTH_USER']

dnsui-user

$_SERVER['PHP_AUTH_PW']

passwordhere

$_SERVER['REQUEST_TIME_FLOAT']

1583765329.753

$_SERVER['REQUEST_TIME']

1583765329


Now after authenticating I get…

Thoughts? Thanks a ton for your help!

Steve

From: Thomas Pike notifications@github.com Sent: Monday, March 09, 2020 4:16 AM To: operasoftware/dns-ui dns-ui@noreply.github.com Cc: sdchristen sdchristensen@gmail.com; Author author@noreply.github.com Subject: Re: [operasoftware/dns-ui] Index of / when connecting to website. (#165)

FallbackResource /init.php

AllowEncodedSlashes NoDecode```

You have these lines commented-out. Without them you will certainly get no content.

— You are receiving this because you authored the thread. Reply to this email directly, https://github.com/operasoftware/dns-ui/issues/165?email_source=notifications&email_token=AOYS56KBGOEWSWXFVNHWYRTRGSXUFA5CNFSM4LD27R4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOGI5PI#issuecomment-596414141 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/AOYS56M2USCKTH6A3GDMSKLRGSXUFANCNFSM4LD27R4A unsubscribe. https://github.com/notifications/beacon/AOYS56IXIGHS4XMJLBGBJLLRGSXUFA5CNFSM4LD27R4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOGI5PI.gif

sdchristen commented 4 years ago

Postgres did not like having dashes in the username or database name. I changed them.

Postgres did not like having a special character in the password.. caused error in parsing config.ini

Updated config.ini with new username, password, and dbname

Reinstalled php-pgsql using yum reinstall php-pgsql

Now I get the

http://192.168.1.254/ DNS management

Oops! Something went wrong!

Sorry, but it looks like something needs fixing on the system. The problem has been automatically reported to the administrators, but if you wish, you can also mailto:admin@example.com?subject=DNS%20UI%20error%20number%201583775515 provide additional information about what you were doing that may have triggered the error.

cat /var/log/httpd/error_log | more shows:

[Mon Mar 09 12:38:35.891441 2020] [php7:notice] [pid 31222] [client 192.168.1.111:1694] 1583775515: UserDataSourceException: User data source not configured. in /var/www/html/dns-ui/model/user.php:114, referer: http://192.168.1.254/

[Mon Mar 09 12:38:35.891471 2020] [php7:notice] [pid 31222] [client 192.168.1.111:1694] 1583775515: Stack trace:, referer: http://192.168.1.254/

[Mon Mar 09 12:38:35.891475 2020] [php7:notice] [pid 31222] [client 192.168.1.111:1694] 1583775515: #0 /var/www/html/dns-ui/model/userdirectory.php(106): User->get_details(), referer: http://192.168.1.254/

[Mon Mar 09 12:38:35.891478 2020] [php7:notice] [pid 31222] [client 192.168.1.111:1694] 1583775515: #1 /var/www/html/dns-ui/requesthandler.php(24): UserDirectory->get_user_by_uid(), referer: http://192.168.1.254/

[Mon Mar 09 12:38:35.891494 2020] [php7:notice] [pid 31222] [client 192.168.1.111:1694] 1583775515: #2 /var/www/html/dns-ui/public_html/init.php(18): require('/var/www/html/d...'), referer: http://192.168.1.254/

[Mon Mar 09 12:38:35.891497 2020] [php7:notice] [pid 31222] [client 192.168.1.111:1694] 1583775515: #3 {main}, referer: http://192.168.1.254/

Thanks,

Steve

From: Thomas Pike notifications@github.com Sent: Monday, March 09, 2020 4:16 AM To: operasoftware/dns-ui dns-ui@noreply.github.com Cc: sdchristen sdchristensen@gmail.com; Author author@noreply.github.com Subject: Re: [operasoftware/dns-ui] Index of / when connecting to website. (#165)

FallbackResource /init.php

AllowEncodedSlashes NoDecode```

You have these lines commented-out. Without them you will certainly get no content.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/operasoftware/dns-ui/issues/165?email_source=notifications&email_token=AOYS56KBGOEWSWXFVNHWYRTRGSXUFA5CNFSM4LD27R4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOGI5PI#issuecomment-596414141 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYS56M2USCKTH6A3GDMSKLRGSXUFANCNFSM4LD27R4A . https://github.com/notifications/beacon/AOYS56IXIGHS4XMJLBGBJLLRGSXUFA5CNFSM4LD27R4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOGI5PI.gif

sdchristen commented 4 years ago

Sorry.. SO CLOSE!

Manually created first user in Postgres and set to active.

psql -d dnsuidb -c 'update "user" set active=1'

After debugging I can now log in and see my zones. But if I click on on a zone I get the Oops something went wrong screen. Apache logs below:

[root@dns1 config]# cat /var/log/httpd/error_log | more

[Mon Mar 09 14:13:17.838026 2020] [suexec:notice] [pid 32290] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

[Mon Mar 09 14:13:17.857736 2020] [lbmethod_heartbeat:notice] [pid 32290] AH02282: No slotmem from mod_heartmonitor

[Mon Mar 09 14:13:17.857765 2020] [http2:warn] [pid 32290] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the curr

ently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.

[Mon Mar 09 14:13:17.883316 2020] [mpm_prefork:notice] [pid 32290] AH00163: Apache/2.4.37 (centos) OpenSSL/1.1.1c PHP/7.4.3 configured -- resuming normal operations

[Mon Mar 09 14:13:17.883350 2020] [core:notice] [pid 32290] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

[Mon Mar 09 14:14:00.474523 2020] [php7:notice] [pid 32368] [client 192.168.1.111:2815] 1583781240: Pest_ServerError: {"error": "Internal Server Error"} in /var/www/html/dns-ui/Pest.php:334, referer: http://dns1.lan/zones

[Mon Mar 09 14:14:00.474560 2020] [php7:notice] [pid 32368] [client 192.168.1.111:2815] 1583781240: Stack trace:, referer: http://dns1.lan/zones

[Mon Mar 09 14:14:00.474564 2020] [php7:notice] [pid 32368] [client 192.168.1.111:2815] 1583781240: #0 /var/www/html/dns-ui/Pest.php(268): Pest->checkLastResponseForError(), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:00.474567 2020] [php7:notice] [pid 32368] [client 192.168.1.111:2815] 1583781240: #1 /var/www/html/dns-ui/Pest.php(154): Pest->doRequest(), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:00.474569 2020] [php7:notice] [pid 32368] [client 192.168.1.111:2815] 1583781240: #2 /var/www/html/dns-ui/powerdns.php(30): Pest->get(), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:00.474572 2020] [php7:notice] [pid 32368] [client 192.168.1.111:2815] 1583781240: #3 /var/www/html/dns-ui/model/zone.php(224): PowerDNS->get(), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:00.474574 2020] [php7:notice] [pid 32368] [client 192.168.1.111:2815] 1583781240: #4 /var/www/html/dns-ui/views/zone.php(32): Zone->list_resource_record_sets(), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:00.474577 2020] [php7:notice] [pid 32368] [client 192.168.1.111:2815] 1583781240: #5 /var/www/html/dns-ui/requesthandler.php(62): require('/var/www/html/d...'), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:00.474579 2020] [php7:notice] [pid 32368] [client 192.168.1.111:2815] 1583781240: #6 /var/www/html/dns-ui/public_html/init.php(18): require('/var/www/html/d...'), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:00.474582 2020] [php7:notice] [pid 32368] [client 192.168.1.111:2815] 1583781240: #7 {main}, referer: http://dns1.lan/zones

[Mon Mar 09 14:14:06.903728 2020] [php7:notice] [pid 32369] [client 192.168.1.111:2816] 1583781246: Pest_ServerError: {"error": "Internal Server Error"} in /var/www/html/dns-ui/Pest.php:334, referer: http://dns1.lan/zones

[Mon Mar 09 14:14:06.903758 2020] [php7:notice] [pid 32369] [client 192.168.1.111:2816] 1583781246: Stack trace:, referer: http://dns1.lan/zones

[Mon Mar 09 14:14:06.903762 2020] [php7:notice] [pid 32369] [client 192.168.1.111:2816] 1583781246: #0 /var/www/html/dns-ui/Pest.php(268): Pest->checkLastResponseForError(), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:06.903765 2020] [php7:notice] [pid 32369] [client 192.168.1.111:2816] 1583781246: #1 /var/www/html/dns-ui/Pest.php(154): Pest->doRequest(), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:06.903768 2020] [php7:notice] [pid 32369] [client 192.168.1.111:2816] 1583781246: #2 /var/www/html/dns-ui/powerdns.php(30): Pest->get(), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:06.903770 2020] [php7:notice] [pid 32369] [client 192.168.1.111:2816] 1583781246: #3 /var/www/html/dns-ui/model/zone.php(224): PowerDNS->get(), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:06.903773 2020] [php7:notice] [pid 32369] [client 192.168.1.111:2816] 1583781246: #4 /var/www/html/dns-ui/views/zone.php(32): Zone->list_resource_record_sets(), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:06.903788 2020] [php7:notice] [pid 32369] [client 192.168.1.111:2816] 1583781246: #5 /var/www/html/dns-ui/requesthandler.php(62): require('/var/www/html/d...'), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:06.903792 2020] [php7:notice] [pid 32369] [client 192.168.1.111:2816] 1583781246: #6 /var/www/html/dns-ui/public_html/init.php(18): require('/var/www/html/d...'), referer: http://dns1.lan/zones

[Mon Mar 09 14:14:06.903795 2020] [php7:notice] [pid 32369] [client 192.168.1.111:2816] 1583781246: #7 {main}, referer: http://dns1.lan/zones

[Mon Mar 09 14:21:48.854398 2020] [php7:notice] [pid 32292] [client 192.168.1.111:2928] 1583781708: Pest_ServerError: {"error": "Internal Server Error"} in /var/www/html/dns-ui/Pest.php:334, referer: http://dns1.lan/zones

[Mon Mar 09 14:21:48.854432 2020] [php7:notice] [pid 32292] [client 192.168.1.111:2928] 1583781708: Stack trace:, referer: http://dns1.lan/zones

[Mon Mar 09 14:21:48.854436 2020] [php7:notice] [pid 32292] [client 192.168.1.111:2928] 1583781708: #0 /var/www/html/dns-ui/Pest.php(268): Pest->checkLastResponseForError(), referer: http://dns1.lan/zones

[Mon Mar 09 14:21:48.854439 2020] [php7:notice] [pid 32292] [client 192.168.1.111:2928] 1583781708: #1 /var/www/html/dns-ui/Pest.php(154): Pest->doRequest(), referer: http://dns1.lan/zones

[Mon Mar 09 14:21:48.854441 2020] [php7:notice] [pid 32292] [client 192.168.1.111:2928] 1583781708: #2 /var/www/html/dns-ui/powerdns.php(30): Pest->get(), referer: http://dns1.lan/zones

[Mon Mar 09 14:21:48.854444 2020] [php7:notice] [pid 32292] [client 192.168.1.111:2928] 1583781708: #3 /var/www/html/dns-ui/model/zone.php(224): PowerDNS->get(), referer: http://dns1.lan/zones

[Mon Mar 09 14:21:48.854446 2020] [php7:notice] [pid 32292] [client 192.168.1.111:2928] 1583781708: #4 /var/www/html/dns-ui/views/zone.php(32): Zone->list_resource_record_sets(), referer: http://dns1.lan/zones

[Mon Mar 09 14:21:48.854449 2020] [php7:notice] [pid 32292] [client 192.168.1.111:2928] 1583781708: #5 /var/www/html/dns-ui/requesthandler.php(62): require('/var/www/html/d...'), referer: http://dns1.lan/zones

[Mon Mar 09 14:21:48.854451 2020] [php7:notice] [pid 32292] [client 192.168.1.111:2928] 1583781708: #6 /var/www/html/dns-ui/public_html/init.php(18): require('/var/www/html/d...'), referer: http://dns1.lan/zones

[Mon Mar 09 14:21:48.854454 2020] [php7:notice] [pid 32292] [client 192.168.1.111:2928] 1583781708: #7 {main}, referer: http://dns1.lan/zones

[root@dns1 config]#

From: Thomas Pike notifications@github.com Sent: Monday, March 09, 2020 4:16 AM To: operasoftware/dns-ui dns-ui@noreply.github.com Cc: sdchristen sdchristensen@gmail.com; Author author@noreply.github.com Subject: Re: [operasoftware/dns-ui] Index of / when connecting to website. (#165)

FallbackResource /init.php

AllowEncodedSlashes NoDecode```

You have these lines commented-out. Without them you will certainly get no content.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/operasoftware/dns-ui/issues/165?email_source=notifications&email_token=AOYS56KBGOEWSWXFVNHWYRTRGSXUFA5CNFSM4LD27R4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOGI5PI#issuecomment-596414141 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYS56M2USCKTH6A3GDMSKLRGSXUFANCNFSM4LD27R4A . https://github.com/notifications/beacon/AOYS56IXIGHS4XMJLBGBJLLRGSXUFA5CNFSM4LD27R4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOGI5PI.gif

sdchristen commented 4 years ago

Everything is working! Needed to add a user via the web application, create the user locally, then log in as that user.

-Steve

From: Thomas Pike notifications@github.com Sent: Monday, March 09, 2020 4:16 AM To: operasoftware/dns-ui dns-ui@noreply.github.com Cc: sdchristen sdchristensen@gmail.com; Author author@noreply.github.com Subject: Re: [operasoftware/dns-ui] Index of / when connecting to website. (#165)

FallbackResource /init.php

AllowEncodedSlashes NoDecode```

You have these lines commented-out. Without them you will certainly get no content.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/operasoftware/dns-ui/issues/165?email_source=notifications&email_token=AOYS56KBGOEWSWXFVNHWYRTRGSXUFA5CNFSM4LD27R4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOGI5PI#issuecomment-596414141 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AOYS56M2USCKTH6A3GDMSKLRGSXUFANCNFSM4LD27R4A . https://github.com/notifications/beacon/AOYS56IXIGHS4XMJLBGBJLLRGSXUFA5CNFSM4LD27R4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOGI5PI.gif

thomas-pike commented 4 years ago

Glad you got it working in the end!