Frank Küster wrote:
> Uwe Kleine-Koenig <[EMAIL PROTECTED]> wrote:
> 
>>> > Moreover both URL that are mentioned in that file don't work for me:
>>> >
>>> >   wget -q -O - http://localhost/doc/tetex-doc/texdoc.php
>>> >
>>> > gets the php-script uninterpreted.  Probably the file should be guarded
>>> > by <IfModule php> or something like that?
>>> 
>>> No idea.  It does work here, but I don't know what I changed.  I
>>> remember having problems with this, but I also seem to remember that
>>> they resolved themselves by restarting both server and browser.
>> Probably you have libapache-mod-php4 (or libapache-mod-php5) installed?
>> I have not.
> 
> These packages (actually those for apache2) are only Suggested.  Should
> we move this to Recommends?

IMO it would be overkill to recommend PHP and hence Apache on every
system using tetex. It would be better to protect the apache
configuration with suitable IfModule lines, ie

<IfModule mod_php4.c>
        Alias ...
        ...
</IfModule>
<IfModule mod_php5.c>
        Alias ...
        ...
</IfModule>

Unfortunately IfModule takes only a single module name [1], so one has
to duplicate everything.

[1] http://httpd.apache.org/docs/2.0/mod/core.html#ifmodule

cheerio
ralf

Reply via email to