Samantha on 28 May 2004 16:47:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Apache & php


> On Fri, 28 May 2004, LeRoy Cressy wrote:
> I am attempting to add php using Debian to my web site.  When I attempt
> to view a php file with Mozilla I get
> "The file "" is of type application/x-httpd-php, and Mozilla does not
> know how to handle this file type."


I believe you add this to your httpd.conf file:

DirectoryIndex index.php

AddType application/x-httpd-php .php

Hope this helps.

Sam


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug