Apache not handling files correctly (Handler Help)

Posted by ethanschaefer on Stack Overflow See other posts from Stack Overflow or by ethanschaefer
Published on 2010-06-14T21:09:01Z Indexed on 2010/06/14 21:12 UTC
Read the original article Hit count: 93

Filed under:
|

I'm trying to set up my .htaccess file correctly and I'm having an issue.

The only thing my .htaccess file at the moment is:

AddType application/x-httpd-php .php .html .htm

This is included because my server is not parsing php in my html files.

However when this is included in my .htaccess file, when I open a page in my browser, the user is prompted to save or open the file locally.

I believe the answer to my issues is setting up an action to be done (run with php) however I cannot find out the path to my php files.

Any help is appreciated.

© Stack Overflow or respective owner

Related posts about php

Related posts about apache