ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Apache Web-Serving with Mac OS X: Part 3
Subject:   SOLUTION for OSX 10.2.x users (the missing lines)
Date:   2002-12-10 16:07:08
From:   tronje
Response to: i'm missing some lines in my httpd.conf

I'm running 10.2.2
Just take a look at the lines below then you can easily find the position where you can add the missing lines.

<IfModule mod_negotiation.c>
LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw

# And for php4.x, use:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
AddType application/x-tar .tgz

btw, if you want your browser to detect index.PHP just as it does index.html add the missing parts as shown below.

# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
<IfModule mod_dir.c>
DirectoryIndex index.html index.php index.shtml