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
Post a Comment