Hello,

I have a PHP file named kkk (without extension). So I created a .htaccess file with the following content to parse it file with the PHP Parser.

<Files kkk>
ForceType application/x-httpd-php
</Files>

Everything is working on my remote site, but it's not working on my local machine after installing apache 1.3 (I am getting the download box).

My Apache configuration file is attached withen the post, can you please check it, and tell me what's the problem?

I really tried hard and searched but no luck 🙁

Your help would be greatly appreciated.

    Look around line 722:

    #

    AddType allows you to tweak mime.types without actually editing it, or to

    make certain files to be certain types.

    #
    AddType application/x-tar .tgz

    Under it add:

    AddType application/x-httpd-php .kkk

    That should do it.

    ~Brett

      on ur sever check the config because you have to turn on override from the htaccess

        Write a Reply...