|
Posted by Johnny on 11/15/05 19:28
In article <1132073741.440535.225030@g43g2000cwa.googlegroups.com>,
news@celticbear.com says...
>
>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?
>Thanks!
>Liam
>
I though you needed the "." before the file extension, maybe like this?..
AddType application/x-httpd-php .php .html .bkk .htm
I'm not sure if you can stack them like you had in your example. I think the
syntax for "AddType" is a space delimited list of extensions.
Johnny
--
Basic Newsguy - 3 GB / month - $39.95 / year
http://newsguy.com/overview.htm
[Back to original message]
|