HEX
Server: Apache/2.4.25
System: Linux webserver1.dinartechshare-e.com 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User: smkmuhsayung (1029)
PHP: 8.0.3
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //etc/apache2/sites-enabled/services.dinartechshare-e.com.conf
<VirtualHost 192.168.1.2:80>
    SuexecUserGroup "#1100" "#1095"
    ServerName services.dinartechshare-e.com
    ServerAlias www.services.dinartechshare-e.com
    ServerAlias mail.services.dinartechshare-e.com
    ServerAlias webmail.services.dinartechshare-e.com
    ServerAlias admin.services.dinartechshare-e.com
    ServerAlias autoconfig.services.dinartechshare-e.com
    ServerAlias autodiscover.services.dinartechshare-e.com
    DocumentRoot /home/servicesdinar/public_html
    ErrorLog /var/log/virtualmin/services.dinartechshare-e.com_error_log
    CustomLog /var/log/virtualmin/services.dinartechshare-e.com_access_log combined
    ScriptAlias /cgi-bin/ /home/servicesdinar/cgi-bin/
    ScriptAlias /awstats/ /home/servicesdinar/cgi-bin/
    ScriptAlias /AutoDiscover/AutoDiscover.xml /home/servicesdinar/cgi-bin/autoconfig.cgi
    ScriptAlias /Autodiscover/Autodiscover.xml /home/servicesdinar/cgi-bin/autoconfig.cgi
    ScriptAlias /autodiscover/autodiscover.xml /home/servicesdinar/cgi-bin/autoconfig.cgi
    DirectoryIndex index.html index.htm index.php index.php4 index.php5
    <Directory /home/servicesdinar/public_html>
        Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
        allow from all
        AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
        Require all granted
        AddType application/x-httpd-php .php
        AddHandler fcgid-script .php
        AddHandler fcgid-script .php5.6
        AddHandler fcgid-script .php7.0
        AddHandler fcgid-script .php7.4
        AddHandler fcgid-script .php8.0
        FCGIWrapper /home/servicesdinar/fcgi-bin/php5.6.fcgi .php5.6
        FCGIWrapper /home/servicesdinar/fcgi-bin/php7.0.fcgi .php7.0
        FCGIWrapper /home/servicesdinar/fcgi-bin/php7.4.fcgi .php7.4
        FCGIWrapper /home/servicesdinar/fcgi-bin/php8.0.fcgi .php8.0
        FCGIWrapper /home/servicesdinar/fcgi-bin/php7.0.fcgi .php
    </Directory>
    <Directory /home/servicesdinar/cgi-bin>
        allow from all
        AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
        Require all granted
    </Directory>
    ProxyPass /.well-known !
    RewriteEngine on
    RewriteCond %{HTTP_HOST} =webmail.services.dinartechshare-e.com
    RewriteRule ^(?!/.well-known)(.*) https://services.dinartechshare-e.com:20000/ [R]
    RewriteCond %{HTTP_HOST} =admin.services.dinartechshare-e.com
    RewriteRule ^(?!/.well-known)(.*) https://services.dinartechshare-e.com:45540/ [R]
    RemoveHandler .php
    RemoveHandler .php5.6
    RemoveHandler .php7.0
    RemoveHandler .php7.4
    RemoveHandler .php8.0
    <Files awstats.pl>
        AuthName "services.dinartechshare-e.com statistics"
        AuthType Basic
        AuthUserFile /home/servicesdinar/.awstats-htpasswd
        require valid-user
    </Files>
    Alias /dav /home/servicesdinar/public_html
    <Location /dav>
        DAV on
        AuthType Basic
        AuthName "services.dinartechshare-e.com"
        AuthUserFile /home/servicesdinar/etc/dav.digest.passwd
        Require valid-user
        ForceType text/plain
        Satisfy All
        RemoveHandler .php
        RemoveHandler .php5.6
        RemoveHandler .php7.0
        RemoveHandler .php7.2
        RemoveHandler .php7.4
        RemoveHandler .php8.0
        RewriteEngine off
    </Location>
    <Location /git>
        DAV on
        AuthType Basic
        AuthName services.dinartechshare-e.com
        AuthUserFile /home/servicesdinar/etc/git.basic.passwd
        Require valid-user
        Satisfy All
        RedirectMatch ^/git$ http://services.dinartechshare-e.com/git/gitweb.cgi
        RedirectMatch ^/git/$ http://services.dinartechshare-e.com/git/gitweb.cgi
        RewriteEngine off
        AddHandler cgi-script .cgi
    </Location>
    Redirect /mail/config-v1.1.xml /cgi-bin/autoconfig.cgi
    Redirect /.well-known/autoconfig/mail/config-v1.1.xml /cgi-bin/autoconfig.cgi
    IPCCommTimeout 3001
    FcgidMaxRequestLen 1073741824
    <Directory /home/servicesdinar/public_html/phpmyadmin>
        Options +IncludesNOEXEC +SymLinksifOwnerMatch +ExecCGI
        Require all granted
        AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
        AddHandler fcgid-script .php
        FCGIWrapper /home/servicesdinar/fcgi-bin/php7.4.fcgi .php
        AddHandler fcgid-script .php5.6
        FCGIWrapper /home/servicesdinar/fcgi-bin/php5.6.fcgi .php5.6
        AddHandler fcgid-script .php7.0
        FCGIWrapper /home/servicesdinar/fcgi-bin/php7.0.fcgi .php7.0
        AddHandler fcgid-script .php7.4
        FCGIWrapper /home/servicesdinar/fcgi-bin/php7.4.fcgi .php7.4
        AddHandler fcgid-script .php8.0
        FCGIWrapper /home/servicesdinar/fcgi-bin/php8.0.fcgi .php8.0
    </Directory>
</VirtualHost>