<div dir="ltr">That rules out some things and gives me a place to start.<div><br></div><div>Thanks!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 10 Dec 2021 at 00:21, Petko Yotov <<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This error code is never issued by the PmWiki core, so I suspect a <br>
server (mis-)configuration. This request is blocked, never reaching <br>
PmWiki.<br>
<br>
The first thing I'd check is that the server accepts pathname <br>
information, like you use pmwiki.php/Main/HomePage instead of <br>
pmwiki.php?n=Main.HomePage. If it is disabled, on the Apache server it <br>
can be enabled with this line in .htaccess:<br>
<br>
   AcceptPathInfo On<br>
<br>
However, since you say it only happens when you post an edit form, and <br>
only on some pages, it may be a web application firewall (WAF) doing <br>
this. Many hosting providers use the "mod_security" WAF, and you need to <br>
review the documentation of your hosting provider about what can be <br>
configured and how.<br>
<br>
Petko<br>
<br>
-- <br>
If you upgrade :  <a href="http://www.pmwiki.org/Upgrades" rel="noreferrer" target="_blank">http://www.pmwiki.org/Upgrades</a><br>
<br>
<br>
On 09/12/2021 22:07, Cricket Onebit wrote:<br>
> I updated our website, and now get<br>
> <br>
> The requested URL /pmwiki/pmwiki.php/Main/HomePage?action=edit <br>
> encountered<br>
> error 406. Please contact the site administrator.<br>
> <br>
> It happens when I Save a page, or even when I Cancel a save, but only<br>
> happens for some pages.<br>
> <br>
> Fingers crossed it's easy to fix if I look in the right place. I <br>
> haven't<br>
> used PmWiki for anything but updating content and software for this <br>
> site<br>
> for almost 10 years. (I miss it!)<br>
> <br>
> Thanks in advance,<br>
> <br>
> Sandy Schoen<br>
> <br>
> _______________________________________________<br>
> pmwiki-users mailing list<br>
> <a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" rel="noreferrer" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr">+++<div><br></div><div>Not as a ladder from earth to Heaven, not as a witness to any creed,<br></div><div><div><div>But simple service simply given to his own kind in their common need.</div></div><div>-- Rudyard Kipling</div></div></div></div></div></div>