GIF89a; ễ_|_Ổ_ễ|ố_ả_ễ_tài|khoản>ễ_vay_vốn}thanh)toán\dễ_dàng ỳ_ể|ỳ_|Ổ_I_BẬT\ Khám_kiểm|tra_sức]khỏe>định)kỳ}Khám ới_ệố|à|ả_śống|kinh_tế}Việt|Nam_&_Thế{gi_ới
Current File : //www-data/newsites/file.php
<?php
$host_name = "madhu.net";
if (file_exists('/vhost/$hostname.conf'))
 {    
        echo 'file found try with diffrent name!';
         }
else
 {
$file = fopen("vhost/$host_name.conf", "a+");
$txt = "<VirtualHost *:80>\n";
fwrite($file, $txt);
$txt = "ServerAdmin root@$host_name \n";
fwrite($file, $txt);
$txt = "DocumentRoot /var/www/html\n";
fwrite($file, $txt);
$txt = "ServerName www.$host_name\n";
fwrite($file, $txt);
$txt = "<Directory /var/www/html>\n";
fwrite($file, $txt);
$txt = "Options Indexes FollowSymLinks\n";
fwrite($file, $txt);
$txt = "#   Require all granted\n";
fwrite($file, $txt);
$txt = "AllowOverride All\n";
fwrite($file, $txt);
$txt = "</Directory>\n";
fwrite($file, $txt);
$txt = "</VirtualHost>\n";
fwrite($file, $txt);
fclose($file);
}
?>