On 26/03/12 14:26, Tim Landscheidt wrote:
MZMcBride <z(a)mzmcbride.com> wrote:
> [...]
> I think the eventual plan is to switch back to Apache. Just as soon as
> everyone has rewritten their rewrite rules and redirects for ZWS.
That doesn't seem consistent with the apache testing being down...
BTW, my ~/public_html/.htaccess contains:
| # Added by install-php on Mon Jun 20 19:17:35 UTC 2011; this enables the PHP
| # wrapper so PHP scripts work. You can edit the "php" script by hand, but
if
| # you run install-php again, it will be overwritten.
| FCGIWrapper "/home/timl/public_html/fcgi-bin/php" .php
| AddHandler fcgid-script .php
which seems to trigger the warnings in /var/log/http/errors
(on wolfsbane):
| [26/Mar/2012:12:12:41 +0000] WARN:toolserver.org:Unknown directive: fcgiwrapper
| [26/Mar/2012:12:12:41 +0000] WARN:toolserver.org:Unknown handler: fcgid-script
that account for about two thirds of log content. Is this
still needed?
It is installed by install-php, as instructed by
https://wiki.toolserver.org/view/Apache_testing
ZWS is not using it, but required by Apache (for a running php).
So there is a conflict there, in that one complains of the code placed
for the other. If they can't be put into server-specific sections, they
should at least ignore themselves.
Will it be needed on Apache? Should all
.htaccess files be changed globally by the admins in the
meantime?
I'm not sure why it needs a FCGIWrapper per user. Maybe for setting the
uid, or to avoid reusing a fcgid under different credentials.
Seems something better configured in a global way.
Other log file fillers are:
| WARN:toolserver.org:Unknown directive: addcharset
| WARN:toolserver.org:Unknown directive: addoutputfilterbytype
which I couldn't grep in any user .htaccess files and:
I see an AddCharset at ~bryan/public_html/{stats/,}.htaccess,
~cbm/public_html/data/.htaccess and
~holek/public_html/misc/autoupdate/.htaccess. The later also including a
AddOutputFilterByType (it seems way too complex for a simple toolserver
tool)
| WARN:toolserver.org:Unknown directive:
rewriteengine
| WARN:toolserver.org:Unknown directive: rewriterule
which are ubiquitous, but fall under your observation above.
Tim
Those are rules for mod_rewrite, which is explicitely documented as NOT
working on ZWS.