Results 1 to 4 of 4

Thread: 500 Internal Server Error for rondcube / phpmyadmin

  1. #1
    Join Date
    Apr 2019
    Posts
    3

    Exclamation 500 Internal Server Error for rondcube / phpmyadmin

    Hello everybody,

    when I access my services through my IP like xxx.xxx.xxx.xxx/phpmyadmin (or /rondcube) evertyhing works, otherwise using my subdomain like vps.xilab.co/phpmyadmin, it doesn't.

    I run:
    - nginx_apache with php-fpm
    - php7.2
    - Centos 7.5
    - DA 2.0

    My
    Code:
    /etc/httpd/conf/extra/httpd-alias.conf
    :
    Code:
    RewriteEngine On
    Alias /.well-known/acme-challenge /var/www/html/.well-known/acme-challenge
    RewriteCond %{HTTP_HOST} !^vps.xilab.co$
    RewriteCond %{REQUEST_URI} ^/config/ [OR]
    RewriteCond %{REQUEST_URI} ^/config$
    RewriteRule ^/config(.*) http://vps.xilab.co/redirect.php$1
    
    Alias /config /var/www/html/redirect.php
    RewriteCond %{HTTP_HOST} !^vps.xilab.co$
    RewriteCond %{REQUEST_URI} ^/roundcube/ [OR]
    RewriteCond %{REQUEST_URI} ^/roundcube$
    RewriteRule ^/roundcube(.*) http://vps.xilab.co/roundcube$1
    
    RewriteCond %{HTTP_HOST} !^vps.xilab.co$
    RewriteCond %{REQUEST_URI} ^/webmail/ [OR]
    RewriteCond %{REQUEST_URI} ^/webmail$
    RewriteRule ^/webmail(.*) http://vps.xilab.co/roundcube$1
    
    Alias /webmail /var/www/html/roundcube
    RewriteCond %{HTTP_HOST} !^vps.xilab.co$
    RewriteCond %{REQUEST_URI} ^/phpMyAdmin/ [OR]
    RewriteCond %{REQUEST_URI} ^/phpMyAdmin$
    RewriteRule ^/phpMyAdmin(.*) http://vps.xilab.co/phpMyAdmin$1
    
    RewriteCond %{HTTP_HOST} !^vps.xilab.co$
    RewriteCond %{REQUEST_URI} ^/phpmyadmin/ [OR]
    RewriteCond %{REQUEST_URI} ^/phpmyadmin$
    RewriteRule ^/phpmyadmin(.*) http://vps.xilab.co/phpMyAdmin$1
    
    Alias /phpmyadmin /var/www/html/phpMyAdmin
    RewriteCond %{HTTP_HOST} !^vps.xilab.co$
    RewriteCond %{REQUEST_URI} ^/pma/ [OR]
    RewriteCond %{REQUEST_URI} ^/pma$
    RewriteRule ^/pma(.*) http://vps.xilab.co/phpMyAdmin$1
    
    Alias /pma /var/www/html/phpMyAdmin
    My
    Code:
    /usr/local/directadmin/custombuild/options.conf
    :
    Code:
    Last login: Sat May  4 19:30:53 on ttys000
    You have new mail.
    MacBook-Pro:~ ojoredo$ ssh huraji@185.224.91.172
    Last login: Fri May  3 15:13:51 2019 from 86.87.141.11
    Sourced
    [huraji@vps ~]$ su root
    Password: 
    [root@vps huraji]# locate ap2
    /usr/bin/sg_map26
    /usr/local/directadmin/custombuild/configure/ap2
    /usr/local/directadmin/custombuild/configure/ap2/cert_config.txt
    /usr/local/directadmin/custombuild/configure/ap2/conf
    /usr/local/directadmin/custombuild/configure/ap2/configure.apache
    /usr/local/directadmin/custombuild/configure/ap2/configure.modsecurity
    /usr/local/directadmin/custombuild/configure/ap2/configure.php53
    /usr/local/directadmin/custombuild/configure/ap2/configure.php54
    /usr/local/directadmin/custombuild/configure/ap2/configure.php55
    /usr/local/directadmin/custombuild/configure/ap2/configure.php56
    /usr/local/directadmin/custombuild/configure/ap2/configure.php70
    /usr/local/directadmin/custombuild/configure/ap2/configure.php71
    /usr/local/directadmin/custombuild/configure/ap2/configure.php72
    /usr/local/directadmin/custombuild/configure/ap2/configure.php73
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra
    /usr/local/directadmin/custombuild/configure/ap2/conf/httpd.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/httpd.conf_2.0
    /usr/local/directadmin/custombuild/configure/ap2/conf/magic
    /usr/local/directadmin/custombuild/configure/ap2/conf/mime.types
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/directadmin-vhosts.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-alias.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-autoindex.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-dav.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-default.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-deflate.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-directories-new.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-directories-old.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-fcgid.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-info.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-languages.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-manual.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-modsecurity.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-mpm.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-mpm.conf_2.0
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-multilang-errordoc.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-ssl.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-userdir.conf
    /usr/local/directadmin/custombuild/configure/ap2/conf/extra/httpd-vhosts.conf
    /usr/share/man/man8/sg_map26.8.gz
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/arch/arm/mach-omap2
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/arch/arm/mach-omap2/Kconfig
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/arch/arm/mach-omap2/Makefile
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/arch/arm/mach-omap2/Makefile.boot
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/arch/x86/include/uapi/asm/hwcap2.h
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/drivers/video/omap2
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/drivers/video/omap2/Kconfig
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/drivers/video/omap2/Makefile
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/drivers/video/omap2/displays
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/drivers/video/omap2/dss
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/drivers/video/omap2/omapfb
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/drivers/video/omap2/displays/Kconfig
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/drivers/video/omap2/displays/Makefile
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/drivers/video/omap2/dss/Kconfig
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/drivers/video/omap2/dss/Makefile
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/drivers/video/omap2/omapfb/Kconfig
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/drivers/video/omap2/omapfb/Makefile
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/include/linux/platform_data/mtd-nand-omap2.h
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/include/linux/platform_data/mtd-onenand-omap2.h
    /usr/src/kernels/3.10.0-957.10.1.el7.x86_64/include/linux/platform_data/spi-omap2-mcspi.h
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/.travis.yml
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/LICENSE
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/Net
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/composer.json
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/package.xml
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/Net/LDAP2
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/Net/LDAP2.php
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/Net/LDAP2/Entry.php
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/Net/LDAP2/Filter.php
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/Net/LDAP2/LDIF.php
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/Net/LDAP2/RootDSE.php
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/Net/LDAP2/Schema.php
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/Net/LDAP2/SchemaCache.interface.php
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/Net/LDAP2/Search.php
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/Net/LDAP2/SimpleFileSchemaCache.php
    /var/www/html/roundcubemail-1.3.9/vendor/pear/net_ldap2/Net/LDAP2/Util.php
    [root@vps huraji]# tail /var/log/httpd/error_log
    [Sun May 05 03:20:01.978448 2019] [ssl:warn] [pid 1255:tid 139644485650560] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
    [Sun May 05 03:20:01.979068 2019] [ssl:warn] [pid 1255:tid 139644485650560] AH01909: www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
    [Sun May 05 03:20:01.979529 2019] [lbmethod_heartbeat:notice] [pid 1255:tid 139644485650560] AH02282: No slotmem from mod_heartmonitor
    [Sun May 05 03:20:01.983248 2019] [mpm_event:notice] [pid 1255:tid 139644485650560] AH00489: Apache/2.4.39 (Unix) OpenSSL/1.0.2k-fips configured -- resuming normal operations
    [Sun May 05 03:20:01.983291 2019] [core:notice] [pid 1255:tid 139644485650560] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
    [Sun May 05 03:20:55.725110 2019] [proxy_fcgi:error] [pid 29181:tid 139643143943936] [client 74.208.82.41:0] AH01071: Got error 'Primary script unknown\n'
    [Sun May 05 07:11:45.294452 2019] [proxy_fcgi:error] [pid 29181:tid 139643462866688] [client 59.102.66.225:0] AH01071: Got error 'Primary script unknown\n'
    [root@vps huraji]# tail -f
    tail: warning: following standard input indefinitely is ineffective
    ^[[A^[[A^C
    [root@vps huraji]# ^C
    [root@vps huraji]# tail -f /var/log/httpd/error_log
    [Sun May 05 03:20:01.978448 2019] [ssl:warn] [pid 1255:tid 139644485650560] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
    [Sun May 05 03:20:01.979068 2019] [ssl:warn] [pid 1255:tid 139644485650560] AH01909: www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
    [Sun May 05 03:20:01.979529 2019] [lbmethod_heartbeat:notice] [pid 1255:tid 139644485650560] AH02282: No slotmem from mod_heartmonitor
    [Sun May 05 03:20:01.983248 2019] [mpm_event:notice] [pid 1255:tid 139644485650560] AH00489: Apache/2.4.39 (Unix) OpenSSL/1.0.2k-fips configured -- resuming normal operations
    [Sun May 05 03:20:01.983291 2019] [core:notice] [pid 1255:tid 139644485650560] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
    [Sun May 05 03:20:55.725110 2019] [proxy_fcgi:error] [pid 29181:tid 139643143943936] [client 74.208.82.41:0] AH01071: Got error 'Primary script unknown\n'
    [Sun May 05 07:11:45.294452 2019] [proxy_fcgi:error] [pid 29181:tid 139643462866688] [client 59.102.66.225:0] AH01071: Got error 'Primary script unknown\n'
    ^C
    [root@vps huraji]# ^C
    [root@vps huraji]# tail -f /var/log/httpd/suexec_log
    ^C
    [root@vps huraji]# ^C
    [root@vps huraji]# chmod 551 /var/www
    [root@vps huraji]# perl -pi -e 's#/var/www/fcgid/#/usr/local/safe-bin/#' /etc/httpd/conf/extra/httpd-hostname.conf
    [root@vps huraji]# service httpd restart
    Redirecting to /bin/systemctl restart httpd.service
    [root@vps huraji]# nano /etc/httpd/conf/extra/httd-alias.conf
    [root@vps huraji]# nano /etc/httpd/conf/extra/httpd-alias.conf
    [root@vps huraji]# tail -f /var/log/nginx/error_log
    ^[[A^[[B^[[B^[[B^C
    [root@vps huraji]# ^C
    [root@vps huraji]# ^C
    [root@vps huraji]# tail -f /var/log/directadmin/error.log
    2019:05:05-07:37:36: Can't connect to ssl!
    2019:05:05-07:37:36: -> A failure in the SSL library occurred, usually a protocol error.
    2019:05:05-07:37:36: -> error:00000001:lib(0):func(0):reason(1)
    2019:05:05-07:37:50: Timeout (handshake_timeout=12) from 86.87.141.11 : last flagged: Sockets::handshake : getlock(/etc/mime.types, 'MimeTypes::readFile') : finished
    2019:05:05-07:49:42: SSL Socket write error (ret=-1): Some I/O error occurred.  The OpenSSL error queue may contain more information on the error.  If the error queue is empty (i.e. ERR_get_error() returns 0), ret can be used to find out more about the error: If ret == 0, an EOF was observed that violates the protocol.  If ret == -1, the underlying BIO reported an I/O error (for socket I/O on Unix systems, consult errno for details).
    openssl error queue:
    empty error queue.  ret=-1
    errno: Broken pipe
    
    2019:05:05-08:21:51: Timeout (handshake_timeout=12) from 86.87.141.11 : last flagged: Sockets::handshake : getlock(/etc/mime.types, 'MimeTypes::readFile') : finished
    ^[[A^C
    [root@vps huraji]# ^C
    [root@vps huraji]# tail -f /var/log/httpd/error_log
    [Sun May 05 07:11:45.294452 2019] [proxy_fcgi:error] [pid 29181:tid 139643462866688] [client 59.102.66.225:0] AH01071: Got error 'Primary script unknown\n'
    [Sun May 05 08:20:47.427946 2019] [mpm_event:notice] [pid 1255:tid 139644485650560] AH00492: caught SIGWINCH, shutting down gracefully
    [Sun May 05 08:20:48.533209 2019] [ssl:warn] [pid 10347:tid 140539090737280] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
    [Sun May 05 08:20:48.533827 2019] [ssl:warn] [pid 10347:tid 140539090737280] AH01909: www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
    [Sun May 05 08:20:48.534043 2019] [suexec:notice] [pid 10347:tid 140539090737280] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Sun May 05 08:20:48.552334 2019] [ssl:warn] [pid 10347:tid 140539090737280] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
    [Sun May 05 08:20:48.553233 2019] [ssl:warn] [pid 10347:tid 140539090737280] AH01909: www.example.com:8081:0 server certificate does NOT include an ID which matches the server name
    [Sun May 05 08:20:48.558709 2019] [lbmethod_heartbeat:notice] [pid 10347:tid 140539090737280] AH02282: No slotmem from mod_heartmonitor
    [Sun May 05 08:20:48.562569 2019] [mpm_event:notice] [pid 10347:tid 140539090737280] AH00489: Apache/2.4.39 (Unix) OpenSSL/1.0.2k-fips configured -- resuming normal operations
    [Sun May 05 08:20:48.562647 2019] [core:notice] [pid 10347:tid 140539090737280] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
    ^C
    [root@vps huraji]# ^C
    [root@vps huraji]# grep -c nginx/webapps  /usr/local/directadmin/data/templates/custom/nginx_server*.conf
    grep: /usr/local/directadmin/data/templates/custom/nginx_server*.conf: No such file or directory
    [root@vps huraji]# grep -c nginx/webapps /usr/local/directadmin/data/templates/nginx_server*.conf
    /usr/local/directadmin/data/templates/nginx_server.conf:1
    /usr/local/directadmin/data/templates/nginx_server_redirect.conf:0
    /usr/local/directadmin/data/templates/nginx_server_secure.conf:1
    /usr/local/directadmin/data/templates/nginx_server_secure_sub.conf:1
    /usr/local/directadmin/data/templates/nginx_server_sub.conf:1
    [root@vps huraji]# ls -la /etc/nginx/webapps*.conf
    -rw-r--r-- 1 root root 2572 May  3 16:29 /etc/nginx/webapps.conf
    -rw-r--r-- 1 root root  360 May  3 16:29 /etc/nginx/webapps.hostname.conf
    -rw-r--r-- 1 root root  270 May  3 16:29 /etc/nginx/webapps_settings.conf
    -rw-r--r-- 1 root root 2575 May  3 16:29 /etc/nginx/webapps.ssl.conf
    [root@vps huraji]# cd /var/log/httpd/domains/
    [root@vps domains]# ls -l
    total 368
    -rw-r--r-- 1 root root  1553 May  5 10:06 francescamenghini.com.bytes
    -rw-r--r-- 1 root root  8251 May  4 23:52 francescamenghini.com.bytes.1
    -rw-r--r-- 1 root root  7868 May  4 00:03 francescamenghini.com.bytes.2
    -rw-r--r-- 1 root root  3062 May  2 23:47 francescamenghini.com.bytes.3
    -rw-r--r-- 1 root root 19242 May  1 20:51 francescamenghini.com.bytes.4
    -rw-r--r-- 1 root root   390 May  1 03:51 francescamenghini.com.bytes.5
    -rw-r--r-- 1 root root 12110 Apr 30 22:58 francescamenghini.com.bytes.6
    -rw-r--r-- 1 root root 27981 Apr 30 00:01 francescamenghini.com.bytes.7
    -rw-r--r-- 1 root root  1684 Apr 28 23:59 francescamenghini.com.bytes.8
    -rw-r--r-- 1 root root  1787 Apr 27 23:56 francescamenghini.com.bytes.9
    -rw-r--r-- 1 root root     0 May  5 00:10 francescamenghini.com.error.log
    -rw-r--r-- 1 root root 36142 May  5 10:06 francescamenghini.com.log
    -rw-r--r-- 1 root root   805 May  5 10:31 kleeia.com.bytes
    -rw-r--r-- 1 root root  3417 May  4 23:56 kleeia.com.bytes.1
    -rw-r--r-- 1 root root  2111 May  4 00:01 kleeia.com.bytes.2
    -rw-r--r-- 1 root root  2579 May  3 00:03 kleeia.com.bytes.3
    -rw-r--r-- 1 root root  2716 May  1 23:35 kleeia.com.bytes.4
    -rw-r--r-- 1 root root   348 May  1 04:08 kleeia.com.bytes.5
    -rw-r--r-- 1 root root  2165 May  1 00:01 kleeia.com.bytes.6
    -rw-r--r-- 1 root root  1819 Apr 30 00:05 kleeia.com.bytes.7
    -rw-r--r-- 1 root root  2555 Apr 28 23:58 kleeia.com.bytes.8
    -rw-r--r-- 1 root root  2419 Apr 28 00:07 kleeia.com.bytes.9
    -rw-r--r-- 1 root root  2189 May  5 08:20 kleeia.com.error.log
    -rw-r--r-- 1 root root 17961 May  5 10:31 kleeia.com.log
    -rw-r--r-- 1 root root  2791 May  5 10:28 xilab.co.bytes
    -rw-r--r-- 1 root root  5646 May  5 00:02 xilab.co.bytes.1
    -rw-r--r-- 1 root root  3822 May  3 23:47 xilab.co.bytes.2
    -rw-r--r-- 1 root root  2529 May  3 00:05 xilab.co.bytes.3
    -rw-r--r-- 1 root root  3235 May  1 23:49 xilab.co.bytes.4
    -rw-r--r-- 1 root root   563 May  1 04:17 xilab.co.bytes.5
    -rw-r--r-- 1 root root 10295 Apr 30 23:52 xilab.co.bytes.6
    -rw-r--r-- 1 root root  7128 Apr 30 00:04 xilab.co.bytes.7
    -rw-r--r-- 1 root root  6596 Apr 28 23:38 xilab.co.bytes.8
    -rw-r--r-- 1 root root 11787 Apr 28 00:05 xilab.co.bytes.9
    -rw-r--r-- 1 root root     0 May  5 00:10 xilab.co.error.log
    -rw-r--r-- 1 root root 70681 May  5 10:28 xilab.co.log
    -rw-r--r-- 1 root root   344 May  5 10:25 xilab.co.vps.bytes
    -rw-r--r-- 1 root root  9999 May  5 10:25 xilab.co.vps.error.log
    -rw-r--r-- 1 root root  8567 May  5 10:25 xilab.co.vps.log
    [root@vps domains]# tail -f xilab.co.vps.error.log
    [Sun May 05 08:21:03.141531 2019] [core:error] [pid 10348:tid 140538171909888] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co:2222/CMD_PLUGINS/redis_management
    [Sun May 05 08:21:05.281985 2019] [core:error] [pid 10348:tid 140538155124480] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co/phpmyadmin
    [Sun May 05 08:21:06.587415 2019] [core:error] [pid 10348:tid 140538138339072] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co:2222/CMD_PLUGINS/redis_management
    [Sun May 05 08:21:08.058189 2019] [core:error] [pid 10348:tid 140538121553664] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co/roundcube
    [Sun May 05 08:24:02.321034 2019] [core:error] [pid 10348:tid 140537940096768] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sun May 05 08:24:02.783576 2019] [core:error] [pid 10348:tid 140537923311360] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co/phpMyAdmin
    [Sun May 05 08:28:44.840102 2019] [core:error] [pid 10348:tid 140537914918656] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co:2222/user/stats/webalizer
    [Sun May 05 08:28:46.835899 2019] [core:error] [pid 10348:tid 140537898133248] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co/phpmyadmin
    [Sun May 05 10:25:23.170333 2019] [core:error] [pid 10348:tid 140538155124480] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co:2222/user/filemanager?path=%2Fdomains%2Fxilab.co%2Flogs
    [Sun May 05 10:25:23.720691 2019] [core:error] [pid 10348:tid 140538129946368] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co/roundcube
    [Sun May 05 10:33:03.862293 2019] [core:error] [pid 10348:tid 140538032416512] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co:2222/user/stats/webalizer
    [Sun May 05 10:33:04.219144 2019] [core:error] [pid 10348:tid 140538015631104] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co/phpmyadmin
    [Sun May 05 10:33:21.921086 2019] [core:error] [pid 10348:tid 140538024023808] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co:2222/user/stats/webalizer
    [Sun May 05 10:33:22.241018 2019] [core:error] [pid 10348:tid 140537923311360] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co/phpmyadmin
    [Sun May 05 10:43:01.637033 2019] [core:error] [pid 10348:tid 140537772242688] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sun May 05 10:44:18.186971 2019] [core:error] [pid 10348:tid 140537780635392] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sun May 05 10:44:48.617601 2019] [core:error] [pid 10352:tid 140537587603200] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sun May 05 10:44:52.986761 2019] [core:error] [pid 10348:tid 140537755457280] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sun May 05 10:45:03.769713 2019] [core:error] [pid 10352:tid 140537604388608] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co:2222/
    [Sun May 05 10:45:59.187010 2019] [core:error] [pid 10348:tid 140537621174016] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sun May 05 10:46:29.876372 2019] [core:error] [pid 10348:tid 140537595995904] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sun May 05 10:46:30.657875 2019] [core:error] [pid 10348:tid 140537570817792] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sun May 05 10:46:31.045493 2019] [core:error] [pid 10352:tid 140537856169728] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    [Sun May 05 10:46:31.257783 2019] [core:error] [pid 10352:tid 140537763849984] [client 86.87.141.11:0] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
    ^[[A^[[B^C
    [root@vps domains]# ^C
    [root@vps domains]# locate options.conf
    /usr/local/directadmin/custombuild/options.conf
    [root@vps domains]# nano /etc/httpd/conf/extra/httpd-alias.conf
    [root@vps domains]# nano /etc/httpd/conf/extra/httpd-alias.conf
    [root@vps domains]# locate options.conf
    /usr/local/directadmin/custombuild/options.conf
    [root@vps domains]# locate options.conf
    /usr/local/directadmin/custombuild/options.conf
    [root@vps domains]# nano /usr/local/directadmin/custombuild/options.conf
    
      GNU nano 2.3.1 File: .../local/directadmin/custombuild/options.conf           
    
    #PHP Settings
    php1_release=7.2
    php1_mode=php-fpm
    php2_release=no
    php2_mode=php-fpm
    php3_release=no
    php3_mode=php-fpm
    php4_release=no
    php4_mode=php-fpm
    secure_php=yes
    opcache=no
    htscanner=no
    php_ini=no
    php_timezone=Europe/London
    php_ini_type=production
    ioncube=no
    zend=no
    suhosin=no
    x_mail_header=yes
    
    #MySQL Settings
    mysql=5.6
    mariadb=10.3
    mysql_inst=mariadb
    mysql_backup=yes
    mysql_backup_gzip=no
    mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups
    mysql_force_compile=no
    
    #WEB Server Settings
    webserver=nginx_apache
    http_methods=GET:HEAD:POST
    litespeed_serialno=trial
    modsecurity=no
    modsecurity_ruleset=comodo
    apache_ver=2.4
    apache_mpm=auto
    mod_ruid2=no
    userdir_access=yes
    harden_symlinks_patch=yes
    use_hostname_for_alias=yes
    redirect_host=vps.xilab.co
    redirect_host_https=no
    
    #WEB Applications Settings
    phpmyadmin=yes
    phpmyadmin_ver=4
    squirrelmail=no
    roundcube=yes
    webapps_inbox_prefix=no
    
    #ClamAV-related Settings
    clamav=no
    clamav_exim=yes
    modsecurity_uploadscan=no
    proftpd_uploadscan=no
    pureftpd_uploadscan=no
    suhosin_php_uploadscan=no
    
    #Mail Settings
    exim=yes
    eximconf=yes
    eximconf_release=4.5
    blockcracking=no
    easy_spam_fighter=no
    spamd=no
    sa_update=daily
    dovecot=yes
    dovecot_conf=yes
    pigeonhole=no
    
    #FTP Settings
    ftpd=pureftpd
    
    #Statistics Settings
    awstats=no
    webalizer=yes
    
    #CustomBuild Settings
    custombuild=2.0
    autover=no
    bold=yes
    clean=yes
    cleanapache=yes
    clean_old_tarballs=yes
    clean_old_webapps=yes
    downloadserver=files6.directadmin.com
    
    #Cronjob Settings
    cron=yes
    cron_frequency=weekly
    email=e.deboni@xilab.co
    notifications=yes
    da_autoupdate=yes
    updates=no
    webapps_updates=yes
    
    #CloudLinux Settings
    cloudlinux=no
    cloudlinux_beta=no
    cagefs=no
    
    #Advanced Settings
    autoconf=yes
    automake=yes
    libtool=yes
    curl=no
    new_pcre=yes
    
    maildir_compress=no
    mail_compress=no
    I see there where other threads about, but nothing helped. I guess my issue is how my whole DA is configured.

    • - My main domain xilab.co runs a Wordpress installation (
      Code:
      /public_html
      )
    • - My subomain vps.xilab.co should be just a hub to access the DA on port :2222 (
      Code:
      /public_html/vps/
      ) and there is just an index.html inside (no .htaccess)
    • - https:// is installed on both


    When I visit vps.xilab.co/phpmyadmin and I tail
    Code:
    -f xilab.co.vps.error.log
    I get the following:

    Code:
    Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://vps.xilab.co/phpmyadmin
    I tried to
    Code:
    ./build rewrite_confs
    without success.

    Can you help?

  2. #2
    Join Date
    Oct 2006
    Location
    Allen, TX
    Posts
    229
    Does your
    Code:
    /etc/httpd/conf/extra/httpd-includes.conf
    have anything? If so, what are the contents?

  3. #3
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    13,333
    Hello,

    Code:
    cd /usr/local/directadmin/custombuild
    ./build update
    ./build set use_hostname_for_alias no
    ./build rewrite_confs
    should fix it.

    Then you can try and find out why mod_rewrite rules drop an error in your case.
    Regards, Alex G.

    - Get the best commercial DirectAdmin support and hire me on poralix.com
    - Follow and like @Poralix on Facebook

  4. #4
    Join Date
    Apr 2019
    Posts
    3

    You are the Man

    Quote Originally Posted by zEitEr View Post
    Hello,

    Code:
    cd /usr/local/directadmin/custombuild
    ./build update
    ./build set use_hostname_for_alias no
    ./build rewrite_confs
    should fix it.

    Then you can try and find out why mod_rewrite rules drop an error in your case.

    Thanks, that fixed!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •