| 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 #1010 #1005
ServerName atyaf-babil.com.iq
ServerAlias www.atyaf-babil.com.iq
ServerAlias mail.atyaf-babil.com.iq
ServerAlias webmail.atyaf-babil.com.iq
ServerAlias admin.atyaf-babil.com.iq
DocumentRoot /home/atyaf-babil/public_html
ErrorLog /var/log/virtualmin/atyaf-babil.com.iq_error_log
CustomLog /var/log/virtualmin/atyaf-babil.com.iq_access_log combined
ScriptAlias /cgi-bin/ /home/atyaf-babil/cgi-bin/
ScriptAlias /awstats /home/atyaf-babil/cgi-bin/awstats.pl
DirectoryIndex index.php index.htm index.html
<Directory /home/atyaf-babil/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
<Directory /home/atyaf-babil/cgi-bin>
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
ProxyPass /.well-known !
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.atyaf-babil.com.iq
RewriteRule ^/(?!.well-known)(.*)$ https://atyaf-babil.com.iq:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.atyaf-babil.com.iq
RewriteRule ^/(?!.well-known)(.*)$ https://atyaf-babil.com.iq:10000/ [R]
RemoveHandler .php
RemoveHandler .php8.1
RemoveHandler .php8.2
RedirectMatch ^/awstats$ /awstats/
<FilesMatch \.php$>
SetHandler proxy:unix:/run/php/1768409290102162.sock|fcgi://127.0.0.1
</FilesMatch>
<Files awstats.pl>
AuthName "atyaf-babil.com.iq statistics"
AuthType Basic
AuthUserFile /home/atyaf-babil/.awstats-htpasswd
require valid-user
</Files>
RewriteCond %{SERVER_NAME} =atyaf-babil.com.iq [OR]
RewriteCond %{SERVER_NAME} =www.atyaf-babil.com.iq [OR]
RewriteCond %{SERVER_NAME} =webmail.atyaf-babil.com.iq [OR]
RewriteCond %{SERVER_NAME} =admin.atyaf-babil.com.iq [OR]
RewriteCond %{SERVER_NAME} =mail.atyaf-babil.com.iq
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
Alias /mail /home/atyaf-babil/public_html/mail/public_html
</VirtualHost>
<VirtualHost *:443>
SuexecUserGroup #1010 #1005
ServerName atyaf-babil.com.iq
ServerAlias www.atyaf-babil.com.iq
ServerAlias mail.atyaf-babil.com.iq
ServerAlias webmail.atyaf-babil.com.iq
ServerAlias admin.atyaf-babil.com.iq
DocumentRoot /home/atyaf-babil/public_html
ErrorLog /var/log/virtualmin/atyaf-babil.com.iq_error_log
CustomLog /var/log/virtualmin/atyaf-babil.com.iq_access_log combined
ScriptAlias /cgi-bin/ /home/atyaf-babil/cgi-bin/
ScriptAlias /awstats /home/atyaf-babil/cgi-bin/awstats.pl
DirectoryIndex index.php index.htm index.html
<Directory /home/atyaf-babil/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
<Directory /home/atyaf-babil/cgi-bin>
Require all granted
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
</Directory>
ProxyPass /.well-known !
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.atyaf-babil.com.iq
RewriteRule ^/(?!.well-known)(.*)$ https://atyaf-babil.com.iq:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.atyaf-babil.com.iq
<FilesMatch \.php$>
SetHandler proxy:unix:/run/php/1768409290102162.sock|fcgi://127.0.0.1
</FilesMatch>
RewriteRule ^/(?!.well-known)(.*)$ https://atyaf-babil.com.iq: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 "atyaf-babil.com.iq statistics"
AuthType Basic
AuthUserFile /home/atyaf-babil/.awstats-htpasswd
require valid-user
</Files>
SSLCACertificateFile /etc/ssl/virtualmin/1768409290102162/ssl.ca
Include /etc/letsencrypt/options-ssl-apache.conf
Alias /mail /home/atyaf-babil/public_html/mail/public_html
SSLCertificateFile /etc/letsencrypt/live/atyaf-babil.com.iq-0001/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/atyaf-babil.com.iq-0001/privkey.pem
</VirtualHost>