View Single Post
  #5 (permalink)  
Old June 19th, 2005, 04:04 AM
dbdave dbdave is offline
Authorized User
 
Join Date: May 2005
Location: , , .
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is an excert from my httpd.conf file. I've indicated the bit you're looking at with a single >

I've also indicated (with >>>) what you need to add.

#
># AddType allows you to add to or override the MIME configuration
># file mime.types for specific file types.
>#
>#AddType application/x-tar .tgz
>#
# AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
# information on the fly. Note: Not all browsers support this.
# Despite the name similarity, the following Add* directives have nothing
# to do with the FancyIndexing customization directives above.
#
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
#
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz

>>> # php
>>> AddType application/x-httpd-php .php .php3

#

That should add the first bit you need. Then all you need to do, is add the LoadModule code.

If that doesn't work, then post back ( or e-mail me ) the contents of your httpd.conf

Reply With Quote