- AddCharSet: Maps the given filename extensions to the specified content charset.
- AddEncoding: Maps the given filename extensions to the specified encoding type.
- AddHandler: Maps the given filenames extension to a specific handler name.
- AddLanguage: Maps the given filename extension to the specified content language.
- AddType: Maps the given filename extension onto a specified content type.
- DefaultLanguage: Tells Apache that all files in the directive’s scope that don’t have an explicit language extension should be considered to be in the specified MIME-lang language.
- ForceType: Forces all matching files to be served as a specific content type.
- RemoveEncoding: Removes any encoding associations for files with the given extensions.
- RemoveHandler: Removes any handler associations for files with given extensions.
- RemoveType: Removes any MIME type associations for files with the given extensions.
- SetHandler: Forces all matching files to be parsed through a specific handler.
HostGator.com » Support Portal
Apache Directives for .htaccess
Article Comments
<Files products>
ForceType application/x-httpd-php
</File>
However, when I attempt to link to file, http://domain.com/products, it tries to download the file rather than run it.
Please advise.
Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.
Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.



where am i able to change that