|
Posted by Andrew DeFaria on 11/15/05 19:22
news@celticbear.com wrote:
> OK, found this line in httpd.conf:
> TypesConfig /etc/mime.types
>
> In that file is a huge list of file types. A search turned up no
> reference to "php" however.
> Just to test things, I tried inserting:
>
> # PHP
> application/x-httpd-php bkk
> application/x-httpd-php htm
> application/x-httpd-php html
>
> but that didn't change anything.
> I think I'm on the right track, this is probably where I need to add
> whatever I need to add, but maybe I have the "application/x-httpd-php"
> part wrong.
>
> Can't seem to find any hits searching for mime.types and php though.
>
> Any suggestions?
On my server (Fedora Core 3) I have /etc/httpd/conf.d/php.conf. Perhaps
you do too?
Apache 2.0 has an include file facility that allows things like PHP to
isolate themselves to their own standard configuration files instead of
polluting httpd.conf with potentially hundreds of lines. Apache will
read all files in the conf.d directory and include them.
--
I used to be clueless about math, but I turned that around 360 degrees.
Navigation:
[Reply to this message]
|