You are Here: FAQ ->Scripting and Programming Languages->Configuring Apache Webserver using .htaccess->Article #8


WebHosting 5.0 This article is for 1&1 Linux WebHosting only.


How to parse files that have no extentions as php scripts



Create a file called .htaccess and place it in the directory your domain is pointing
to. Then add the following:

#parse files that have no extensions as PHP scripts
#This must be done for each file that needs to be parsed
<Files filename_to_be_parsed>
ForceType x-mapp-php4
</Files>


Disclaimer: 1&1 provides the scripts and related information on this page as a courtesy, subject to 1&1's General Terms and Conditions of Service (the "GT&C"). As set forth in more detail in the GT&C, the scripts and information are provided "as-is", without any warranty, and 1&1 is not liable for any damages resulting from your use of the scripts or information.



Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not useful at all):
1 2 3 4 5