DocumentRoot "C:/xampp/htdocs/" ServerName localhost DocumentRoot "F:/13-Localhost/atashfaraz" ServerName atashfaraz.localhost ServerSignature Off Options Indexes FollowSymLinks IncludesNoExec AllowOverride All #Order allow,deny <- You can remove this #Allow from all <- and that # Insert the following: Require all granted