Re: IfModule for php-4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Sa, den 14.08.2004 schrieb Thomas Zehetbauer um 16:37:

> That is why I am asking here, neither mod_php.c, mod_php4.c, libphp.c
> nor libphp4.so worked for me and strings turned up nothing useful
> either.
> 
> Tom

Ok, I finally found it - at least I think so:

<IfModule sapi_apache2.c>
    AddType application/x-httpd-php-source .phps
</IfModule>

This works for my with Apache2 and PHP4 on FC1 (I have no Apache2
running on FC2 actually). Of course put in what you need inside the
condition statement. My "AddType" is just what I used for testing.

Hope it helps.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.7-1.494.2.2smp 
Serendipity 17:28:48 up 10 days, 10:56, load average: 0.34, 0.46, 0.38 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux