A2 Hosting Forums

Full Version: Setting ForceType or SetHandler in .htaccess
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I am building an app that relies on being able to call a script (called e.g. dynamic) as a PHP file.  Ordinarily I would use something like the following in an htaccess file, but it doesn't seem to be working.

Code:
<Files dynamic>
ForceType application/x-httpd-php
SetHandler application/x-httpd-php
</Files>

Can anyone tell me if this is supported at A2, please?  If not, does anyone have another suggestion?

Thanks
CJ

OK - My bad.  I misspelled it in the actual file.  :S  
ForceType on its own is enough, too.
Reference URL's