Posted by Whil Hentzen on 04/05/05 23:08
>>
>> There's /etc/apache2/httpd.conf that basically just has a bunch of
>> includes. Don't wanna touch that. There's
>> /etc/apache2/default-server.conf that looks like it's where the
>> action is. And there's a /etc/apache2/conf.d/php4.conf file that has
>> specific php commands, such as....
>>
>> <IfModule sapi_apache2.c>
>> AddType application/x-httpd-php .php
>> AddType application/x-httpd-php .php4
>> DirectoryIndex index.php
>> DirectoryIndex index.php4
>> </IfModule>
>>
>> But I can't find where any of the Apache config files point to the
>> php4 config file. Do I need to add an include in default-server.conf?
>> (Shouldn't the install have done that? Silly install!)
>>
>> Where else might I look?
>>
>> Thanks,
>>
>> Whil
>
>
> in my /etc/apache2/default-server.conf their is a directive to load
> all conf files.
>
> Include /etc/apache2/conf.d/*.conf
Yup, already got this directive in default-server.conf (and it's NOT
commented out!)
>
> mod_php4.conf is located in the conf.d directory
I don't have mod_php4.conf, just php4.conf. I thought that the
mod_php4.conf was for backward compatibility. My server (which is
processing php fine) doesn't have the mod_php4.conf file.
I did a double-check and it sure looks to me like the conf files on both
my server and my dev box are the same.
Whil
[Back to original message]
|