On 09/05/2013 05:56 AM, massimo sandal wrote:
> The wiki is fully readable both within and
> out of the university network. However when I try to edit it *outside* the
> university network, on saving the page it waits and then times out, like it
> couldn't properly connect. Using a VPN solves the problem,

You are probably getting a different set of firewall rules when
connecting via VPN.

I happen to be using a network with a mis-configured transparent proxy
at the moment that is blocking POSTs.  GET's work fine:

    $ curl 'http://WIKIURL/api.php?action=purge&titles=Main_Page&;
      format=json'
    {"error":{"code":"mustbeposted","info":"The purge module requires a
                                            POST request"}}

For POSTs, I should see:

    $ curl -X POST 'http://WIKIURL/api.php?action=purge&;
      titles=Main_Page&format=json'
    {"purge":[{"ns":0,"title":"Main Page","purged":""}]}

Instead, I see

    $ curl -X POST 'http://WIKIURL/api.php?action=purge&;
      titles=Main_Page&format=json'
    [...]
    <P>
    The following error was encountered:
    <UL>
    <LI>
    <STRONG>
    Invalid Request
    </STRONG>
    </UL>
    [...]

A similar test might reveal problems with POSTs for you.

-- 
http://hexmode.com/

Love alone reveals the true shape of the universe.
     -- "Everywhere Present", Stephen Freeman

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to