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-enabled/ drwxr-xr-x | |
| Viewing file: Select action/file-type: <VirtualHost 203.161.58.4:80>
SuexecUserGroup #1002 #1003
ServerName adflow.picotech.app
ServerAlias www.adflow.picotech.app
ServerAlias mail.adflow.picotech.app
ServerAlias webmail.adflow.picotech.app
ServerAlias admin.adflow.picotech.app
DocumentRoot /home/picotech/domains/adflow.picotech.app/public_html/backend/public
ErrorLog /var/log/virtualmin/adflow.picotech.app_error_log
CustomLog /var/log/virtualmin/adflow.picotech.app_access_log combined
ScriptAlias /cgi-bin/ /home/picotech/domains/adflow.picotech.app/cgi-bin/
DirectoryIndex index.php index.php4 index.php5 index.htm index.html
<Directory /home/picotech/domains/adflow.picotech.app/public_html/frontend/dist>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
<Directory /home/picotech/domains/adflow.picotech.app/cgi-bin>
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
ProxyPass /.well-known !
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.adflow.picotech.app
RewriteRule ^(?!/.well-known)(.*) https://adflow.picotech.app:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.adflow.picotech.app
RewriteRule ^(?!/.well-known)(.*) https://adflow.picotech.app:10000/ [R]
RemoveHandler .php
RemoveHandler .php8.0
RemoveHandler .php8.1
RemoveHandler .php8.2
RemoveHandler .php8.3
RewriteCond %{HTTPS} off
RewriteRule ^/(?!.well-known)(.*)$ https://%{HTTP_HOST}/$1 [R]
<FilesMatch \.php$>
SetHandler proxy:unix:/run/php/17639604783297957.sock|fcgi://127.0.0.1
</FilesMatch>
</VirtualHost>
<VirtualHost 203.161.58.4:443>
SuexecUserGroup #1002 #1003
ServerName adflow.picotech.app
ServerAlias www.adflow.picotech.app
ServerAlias mail.adflow.picotech.app
ServerAlias webmail.adflow.picotech.app
ServerAlias admin.adflow.picotech.app
###################################################################
# FRONTEND (React)
###################################################################
DocumentRoot /home/picotech/domains/adflow.picotech.app/public_html/frontend/dist
<Directory /home/picotech/domains/adflow.picotech.app/public_html/frontend/dist>
AllowOverride All
Require all granted
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
</Directory>
###################################################################
# BACKEND (Laravel API) served from /api
###################################################################
Alias /api /home/picotech/domains/adflow.picotech.app/public_html/backend/public
<Directory /home/picotech/domains/adflow.picotech.app/public_html/backend/public>
AllowOverride All
Require all granted
</Directory>
# Laravel API rewriting
RewriteEngine On
#RewriteRule ^api/(.*)$ /api/index.php [L,PT,QSA]
###################################################################
# WEBMAIL / ADMIN REDIRECTS
###################################################################
RewriteCond %{HTTP_HOST} =webmail.adflow.picotech.app
RewriteRule ^(?!/.well-known)(.*) https://adflow.picotech.app:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.adflow.picotech.app
RewriteRule ^(?!/.well-known)(.*) https://adflow.picotech.app:10000/ [R]
###################################################################
# CGI BIN
###################################################################
ScriptAlias /cgi-bin/ /home/picotech/domains/adflow.picotech.app/cgi-bin/
<Directory /home/picotech/domains/adflow.picotech.app/cgi-bin>
AllowOverride All
Require all granted
Options +ExecCGI
</Directory>
###################################################################
# FCGI & PHP HANDLERS (Virtualmin automatically uses these)
###################################################################
RemoveHandler .php
RemoveHandler .php8.0
RemoveHandler .php8.1
RemoveHandler .php8.2
RemoveHandler .php8.3
FCGIWrapper /home/picotech/domains/adflow.picotech.app/fcgi-bin/php8.3.fcgi .php
FCGIWrapper /home/picotech/domains/adflow.picotech.app/fcgi-bin/php8.0.fcgi .php8.0
FCGIWrapper /home/picotech/domains/adflow.picotech.app/fcgi-bin/php8.1.fcgi .php8.1
FCGIWrapper /home/picotech/domains/adflow.picotech.app/fcgi-bin/php8.2.fcgi .php8.2
FCGIWrapper /home/picotech/domains/adflow.picotech.app/fcgi-bin/php8.3.fcgi .php8.3
###################################################################
# LOGS
###################################################################
ErrorLog /var/log/virtualmin/adflow.picotech.app_error_log
CustomLog /var/log/virtualmin/adflow.picotech.app_access_log combined
###################################################################
# SSL
###################################################################
SSLEngine on
SSLCertificateFile /etc/ssl/virtualmin/17639604783297957/ssl.cert
SSLCertificateKeyFile /etc/ssl/virtualmin/17639604783297957/ssl.key
SSLCACertificateFile /etc/ssl/virtualmin/17639604783297957/ssl.ca
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
<FilesMatch \.php$>
SetHandler proxy:unix:/run/php/17639604783297957.sock|fcgi://127.0.0.1
</FilesMatch>
</VirtualHost>
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0031 ]-- |