Say I want to change the extension of a PHP file, which of the following statements should I edit to change from .php to .html in the httpd.conf file?
A
AddType application/x-httpd-php .php
B
AddType application/x-httpd-php .asp
C
AddType application/x-httpd-asp .php
D
AddType application/x-httpd-asp .asp
Correct Answer: AddType application/x-httpd-php .php
Just change the .php to .html and your extension will change. This is used for security purpose.