| Article: |
Apache Web-Serving with Mac OS X: Part 3 | |
| Subject: | i'm missing some lines in my httpd.conf | |
| Date: | 2002-10-27 21:45:27 | |
| From: | anonymous2 | |
|
These lines aren't here:
|
||
Showing messages 1 through 1 of 1.
| Article: |
Apache Web-Serving with Mac OS X: Part 3 | |
| Subject: | i'm missing some lines in my httpd.conf | |
| Date: | 2002-10-27 21:45:27 | |
| From: | anonymous2 | |
|
These lines aren't here:
|
||
Showing messages 1 through 1 of 1.
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
</IfModule>
# 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
</IfModule>
...