27May

Apache .htaccess rule to use php as html documents

Author: webhauser Comments (0)

The following simple webmaster trick shows how to change the Apache server configuration through a .htaccess file to use dynamic php pages in .html files. To take the effect, the following .htaccess file should be in the webserver’s DocumentRoot directory.

AddType application/x-httpd-php .php .html

Categories: Hírek, Web development  
No Comments »

No comments yet.

TrackBack URL

Leave a comment

You must be logged in to post a comment.

Available Themes

RSS Hírcstorna