Establish htaccess and php.ini for apache web site server configuration tutorial

Establish htaccess and php.ini for apache web site server configuration tutorial

Listening Video
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.
Lesson Code
# 1 ---- Establish a custom 404 File not Found page ----

ErrorDocument 404 /filenotfound.php

# 2 ---- Prevent directory file listing in all of your folders ----

IndexIgnore *

0 Response to "Establish htaccess and php.ini for apache web site server configuration tutorial"

Post a Comment