My website directories downloads instead of actually opening up from browser

Posted by numerical25 on Server Fault See other posts from Server Fault or by numerical25
Published on 2012-11-01T21:12:11Z Indexed on 2012/11/02 5:08 UTC
Read the original article Hit count: 268

Filed under:
|

I added some screencast to show what I am having issues with

http://screencast.com/t/212t3ANINqk

http://screencast.com/t/bR44U1wkvNZl

http://screencast.com/t/iDS7APYYsa

but the page downloads my subdirectories instead of opening them up and displaying the index file of that page

Here is the situation. I am trying to get my web service up using mac ports and I am just trying to configure all the files. I am using php, apache, etc. the page goes to the localhost root but anything beyond that. it can not find.

edit

Ive tried to add the following to httpd.conf within the <IfModule mime_module> but no hope

AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .html
AddType application/x-httpd-php-source .phps

© Server Fault or respective owner

Related posts about php

Related posts about apache2