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

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -