I am having a problem with using aliases (edited from the Aliases section of httpd.conf). I am running RHE 3 with Plesk 7 and PHP 4.3.2. When I create a shared directory alias in my httpd.conf file - it work fine with .html files but with .php files it does not recongize the file type and IE prompts to download the php file. If I choose save or open then IE downloads the complete PHP page from the server.

PHP files work fine if they are called from an actual directory or subdirectory (not using an alias). It's just when a php file is called from a directory under Aliases, that it doesn't work.

I expect it's related to some PHP or HTTPD configuration option but after spending hours I have had no luck in resolving it. Plesk uses virtualhost and httpd.include files.

If anyone can give me a solution I will greatly appreciate it.

    Look most probably this is related the config file for Apache and the VHosts Application-x handlers for virtual domains

      Write a Reply...