Ive never really needed much to do with the .htaccess file and I dont know a great deal about it. However, I have built part of my site with allowance for friendly URL's. I use the method where by I drop the .php extension and use the '/' (forward slashes) as a separator in an array. Anyway, it worked localy with my apache server setup but when I uploaded my site to my host I found that the search page just shows all of my php instead of executing it. It also pends me to download my "search" file.
.htaccess file includes;
The first file was specified to be included if I wanted to use php5 instead of the default version 4. Ive tried with and without this line so I know it to be causing no problems.Code:AddType x-mapp-php5 .php <Files search> ForceType application/x-httpd-php </Files>
The .htaccess file is contained in my root and the search file is within the same directory.
Anyone know what could be the problem?