---- root@rolapps:/etc/apache2/sites-available# vi photorol.conf ServerName rol.xxxx.com.bd ServerAlias www.rol.xxxx.com.bd ServerAdmin webmaster@localhost DirectoryIndex index.html index.php DocumentRoot /var/www/roldocs Options FollowSymLinks Options -Indexes AllowOverride All Require all granted ServerName rol.xxxx.com.bd ServerAlias www.rol.xxxx.com.bd ServerAdmin webmaster@localhost DirectoryIndex index.html index.php DocumentRoot /var/www/roldocs Options FollowSymLinks Options -Indexes AllowOverride All Require all granted Options FollowSymLinks Options -Indexes AllowOverride All php_flag engine off Require all granted Require all denied ErrorLog ${APACHE_LOG_DIR}/rol_error.log LogLevel warn CustomLog ${APACHE_LOG_DIR}/rol_access.log combined root@apps:/etc/apache2/sites-available# vi xxxx.com.conf ServerName xxxx.com ServerAlias www.xxxx.com ServerAlias xxxx.com.bd ServerAlias www.xxxx.com.bd ServerAlias m.xxxx.com ServerAlias cdn.xxxx.com ServerAlias cdnpush.xxxx.com ServerAdmin webmaster@localhost DirectoryIndex index.html index.php DocumentRoot /var/www/btdocs/content Options FollowSymLinks MultiViews Options -Indexes AllowOverride All Require all denied ServerName xxxx.com ServerAlias www.xxxx.com ServerAlias xxxx.com.bd ServerAlias www.xxxx.com.bd ServerAlias m.xxxx.com ServerAlias cdn.xxxx.com ServerAlias cdnpush.xxxx.com ServerAdmin webmaster@localhost DirectoryIndex index.html index.php DocumentRoot /var/www/btdocs/content Options FollowSymLinks MultiViews Options -Indexes AllowOverride All Require all denied Options FollowSymLinks Options -Indexes AllowOverride All php_flag engine off Require all granted #now deny all files from accessing Require all denied Require all granted AllowOverride All Require all granted # # #order deny,allow # Require all denied # ErrorLog ${APACHE_LOG_DIR}/xxxx_error.log LogLevel warn CustomLog ${APACHE_LOG_DIR}/xxxx_access.log combined 52,1 Bot Require all denied Options FollowSymLinks Options -Indexes ----