Posted by lkrubner on 11/02/05 07:16
Justin Koivisto wrote:
> .htaccess:
> -----------
> # Send all .html files through the php interpreter
> AddType application/x-httpd-php .html
>
>
> # mod rewrite to rewrite article/2005-10-03.html
> # to article/view.php?date=2005-10-03 without
> # changing any links in the site
> RewriteEngine On
> RewriteRule ^article/([^.]+)\.html$ article/view.php?date=$1 [L]
> -----------
Thanks much for the reply. I take that this line:
AddType application/x-httpd-php .html
can be read as something like "add the html type to the php
application"??? What does "x-httpd-php" mean?
Navigation:
[Reply to this message]
|