[Mediawiki-l] Save Errors Agin - Programming Code Text

John Spikowski support at scriptbasic.info
Sun Jan 30 03:41:21 UTC 2005


The problem is now fixed. See support's responses.

<
We have mod_security running on our servers. We have now disabled a filter
that should solve the issue for you.
>
LOCAL works, CHMOD is still broken.

<
We have disabled another mod_security filter.
>
CHMOD works.

Thanks Brion ! You know your stuff.

John

-----Original Message-----
From: mediawiki-l-bounces at Wikimedia.org
[mailto:mediawiki-l-bounces at Wikimedia.org]On Behalf Of Brion Vibber
Sent: Saturday, January 29, 2005 7:07 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Save Errors Agin - Programming Code Text


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Spikowski wrote:
| Yes, this is the same person that reported the problem with the CHMOD
issue
| and when it did the same thing on LOCAL, I thought it might be something
| else with MediaWiki. The wiki directory is set with read & execute
| privileges.

John, is there a reason you did not respond to my questions to your
first inquiry? Did you not receive the message?

For reference, here it is:
http://mail.wikipedia.org/pipermail/mediawiki-l/2005-January/003150.html


| It running on a shared host (ez-web-hosting.com) and the URL for the
my wiki
| is http://wiki.scriptbasic.info which redirects to
| http://www.scriptbasic.info/wiki
|
| I'm note sure what to tell the support person how to fix my problem. Can
| they make a change to Apache that only affects my site?

I don't know what they can or can't do. You need to ask _them_ that.

Explain to them that when certain patterns of text containing certain
command names are submitted to forms in your PHP web applications, you
get (certain, specific, repeatable) error messages (which you will quote
to them).

Give them exact, minimal examples of submitted text that causes a
failure. For instance, "chmod" followed by a newline does not cause an
error, but "chmod" followed by a space produces an Internal Server Error.

You should make a simple test form like this:

- ---- cut below this line:
<form method="post">
<textarea cols="40" rows="10" name="wpTextbox1"><?php
if( isset( $_POST['wpTextbox1'] ) )
~  echo htmlspecialchars( $_POST['wpTextbox1'] )
?></textarea>
<input type="submit" />
</form>
- ---- cut above this line

Save it as 'test.php' or such and try pasting in the same text that
causes you problems in the wiki. If it triggers the same problem, this
will make it easier for your site admins to confirm what's going on.

(If it doesn't trigger the problem, then you might need to add other
fields from the real form, or perhaps even rename the file to trigger
the check. Or it might be something totally unrelated, possibly.)

- -- brion vibber (brion @ pobox.com)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB/E9YwRnhpk1wk44RAsHCAKCKRFzcndPl5u+tG7e0A5eqkE4zOgCfdA8c
ZOnEYek/dneosCkJCO+ZesQ=
=81dM
-----END PGP SIGNATURE-----
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l






More information about the MediaWiki-l mailing list