Establish htaccess and phpini for apache web site server configuration

Published :
Author :
Adam Khoury
Establish your .htaccess file and learn to prevent directory file listing as well as specify a more user friendly 404 error page through htaccess. Request your php.ini file to adjust your PHP configuration settings on your apache server. The PHP configuration file can be made by going to your hosting control panel and clicking the "PHP Configuration" icon. # 1 ---- Establish a custom 404 File not Found page ---- ErrorDocument 404 /filenotfound.php # 2 ---- Prevent directory file listing in all of your folders ---- IndexIgnore *