Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: apache problem

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question apache problem


    I am using apache and php4.

    When i try to open my home page in the browser, it prompts me to download some PHTML file instead of displaying the home page.

    Pls tell me how to get rid of this problem.

  2. #2
    What distro are you using?

    Try renaming your homepage from index.phtml to index.php

    If that works then you most likely just need to add a line to your httpd.conf along the lines of;
    AddHandler application/x-httpd-php .phtml

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts