You are here: Re: setting Apache up to process an extension as PHP « PHP Programming Language « IT news, forums, messages
Re: setting Apache up to process an extension as PHP

Posted by news on 11/15/05 18:55

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация