| Server IP : 89.117.53.150 / Your IP : 216.73.216.11 Web Server : Apache System : Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : iscmbt-kufa-atu ( 1014) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /etc/apache2/sites-enabled/ |
Upload File : |
<VirtualHost *:80>
SuexecUserGroup #1004 #1004
ServerName gvs-iraq.com
ServerAlias www.gvs-iraq.com
ServerAlias mail.gvs-iraq.com
ServerAlias webmail.gvs-iraq.com
ServerAlias admin.gvs-iraq.com
DocumentRoot /home/gvs-iraq/public_html
ErrorLog /var/log/virtualmin/gvs-iraq.com_error_log
CustomLog /var/log/virtualmin/gvs-iraq.com_access_log combined
ScriptAlias /cgi-bin/ /home/gvs-iraq/cgi-bin/
ScriptAlias /awstats /home/gvs-iraq/cgi-bin/awstats.pl
DirectoryIndex index.php index.htm index.html
<Directory /home/gvs-iraq/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
<Directory /home/gvs-iraq/cgi-bin>
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
ProxyPass /.well-known !
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.gvs-iraq.com
RewriteRule ^/(?!.well-known)(.*)$ https://gvs-iraq.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.gvs-iraq.com
RewriteRule ^/(?!.well-known)(.*)$ https://gvs-iraq.com:10000/ [R]
RemoveHandler .php
RemoveHandler .php8.1
RemoveHandler .php8.2
RedirectMatch ^/awstats$ /awstats/
<FilesMatch \.php$>
SetHandler proxy:unix:/run/php/176840851195502.sock|fcgi://127.0.0.1
</FilesMatch>
<Files awstats.pl>
AuthName "gvs-iraq.com statistics"
AuthType Basic
AuthUserFile /home/gvs-iraq/.awstats-htpasswd
require valid-user
</Files>
RewriteCond %{SERVER_NAME} =admin.gvs-iraq.com [OR]
RewriteCond %{SERVER_NAME} =webmail.gvs-iraq.com [OR]
RewriteCond %{SERVER_NAME} =mail.gvs-iraq.com [OR]
RewriteCond %{SERVER_NAME} =www.gvs-iraq.com [OR]
RewriteCond %{SERVER_NAME} =gvs-iraq.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
<VirtualHost *:443>
SuexecUserGroup #1004 #1004
ServerName gvs-iraq.com
ServerAlias www.gvs-iraq.com
ServerAlias mail.gvs-iraq.com
ServerAlias webmail.gvs-iraq.com
ServerAlias admin.gvs-iraq.com
DocumentRoot /home/gvs-iraq/public_html
ErrorLog /var/log/virtualmin/gvs-iraq.com_error_log
CustomLog /var/log/virtualmin/gvs-iraq.com_access_log combined
ScriptAlias /cgi-bin/ /home/gvs-iraq/cgi-bin/
ScriptAlias /awstats /home/gvs-iraq/cgi-bin/awstats.pl
DirectoryIndex index.php index.htm index.html
<Directory /home/gvs-iraq/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
<Directory /home/gvs-iraq/cgi-bin>
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
ProxyPass /.well-known !
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.gvs-iraq.com
RewriteRule ^/(?!.well-known)(.*)$ https://gvs-iraq.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.gvs-iraq.com
<FilesMatch \.php$>
SetHandler proxy:unix:/run/php/176840851195502.sock|fcgi://127.0.0.1
</FilesMatch>
RewriteRule ^/(?!.well-known)(.*)$ https://gvs-iraq.com:10000/ [R]
RemoveHandler .php
RemoveHandler .php8.1
RemoveHandler .php8.2
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
RedirectMatch ^/awstats$ /awstats/
<Files awstats.pl>
AuthName "gvs-iraq.com statistics"
AuthType Basic
AuthUserFile /home/gvs-iraq/.awstats-htpasswd
require valid-user
</Files>
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/gvs-iraq.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/gvs-iraq.com/privkey.pem
</VirtualHost>