Using .htaccess to make all .html pages to run as .php files? -



Using .htaccess to make all .html pages to run as .php files? -

i need run of .html files .php files , don't have time alter of links before our presentation tomorrow. there way "hack" apache server?

create .htaccess file @ root of website , add together line:

[apache2 @ ubuntu/debian: utilize directive]

addtype application/x-httpd-php .html .htm

if running php cgi (probably not case), should write instead:

addhandler application/x-httpd-php .html .htm

php html apache .htaccess

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -