httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max.Dittr...@t-online.de (Max Dittrich)
Subject Re: [users@httpd] forcing a specific HTML file to be parsed by PHP
Date Sat, 05 Oct 2002 19:48:53 GMT
Hi,

Justin French wrote:
> Hi all, I know how to make ALL .html files be parsed by PHP, but not a
> specific one, eg ONLY foo.html.
> 
> I want to achieve this via a .htaccess file

Hmmm, _forcing_ ... !? Looks good for using ForceType ;)

Try this:

<Files special.html>
	ForceType application/x-httpd-php
</Files>

.max


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message