On Monday, Oct 15, 2001, Theo Brinkman wrote:

> Yep.  I've got those two lines.  After some digging I noticed an include 
> at the bottom of one of the httpd.conf files (common, I think) that 
> included a file that was nothing but the two AddType lines, so I 
> commented them back out up top thinking that might be my problem.  No 
> change.

That's at the bottom of httpd.conf.  That include file contains:

[paul@anne paul]$ cat /etc/httpd/conf/addon-modules/php.conf
<IfModule mod_php4.c>

AddType  application/x-httpd-php         .php .php4 .php3 .phtml
AddType  application/x-httpd-php-source  .phps

</IfModule>

That should be enough to get it working.  Let's see what else...

>     # AddType allows you to tweak mime.types without actually editing it, or to
>     # make certain files to be certain types.
>     #
>     # For example, the PHP 3.x module (not part of the Apache distribution - see
>     # http://www.php.net) will typically use:
>     #
>     #AddType application/x-httpd-php3 .php3
>     #AddType application/x-httpd-php3-source .phps
>     #
>     # And for PHP 4.x, use:
>     #
>     # AddType application/x-httpd-php .php
>     # AddType application/x-httpd-php-source .phps

You don't need these, as this is taken care of in the include, so leave
them commented out.

>     #
>     # If you wish to use server-parsed imagemap files, use
>     #
> AddHandler imap-file map
> AddHandler php4-script .php

Now this looks suspicious.  I don't have this php entry in
commonhttp.conf.  Try commenting that out and see what happens.

-- 
Paul Cox <paul at coxcentral dot com>
Kernel: 2.4.8-26mdk  -  Uptime: 3 days 18 hours 43 minutes.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to