MediaWiki Visual Editor Parsoid 404 Error: Difference between revisions

No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div class="mw-parser-output"><div class="mw-parser-output">(and Curl Error 7, related to STUNNEL and HTTPS)
<div class="mw-parser-output"><div class="mw-parser-output">(and Curl Error 7, related to STUNNEL and HTTPS)
...OK, sometimes one can get so wrapped up in the complexities of an issue the simple basic things are missed.  And in this instance, among all the really good technical suggestions I read for correcting the issue, no one ever broached the below simple idea idea.
...OK, there are times one can get so wrapped up in the complexities of an issue the simple basic things are missed.  And in this instance, among all the really good technical suggestions I read for correcting the issue, no one ever broached the below simple idea idea.


==The Issue==
==The Issue==
Line 85: Line 85:
</div>
</div>


== STUNNEL & HTTPS ==
==STUNNEL & HTTPS==
Remember, for Wiki sites that use SSL;
Remember, for Wiki sites that use SSL;
  For STUNNEL Configuration (/etc/stunnel) if using an intermediate certificate (like StarField from Godaddy) the Server.crt file and intermediary certificat file need to be combined into the same file, with the Server.crt at the beginning and the intermediary certifate(s) at the end.
  For STUNNEL Configuration (/etc/stunnel) if using an intermediate certificate (like StarField from Godaddy) the Server.crt file and intermediary certificat file need to be combined into the same file, with the Server.crt at the beginning and the intermediary certifate(s) at the end.
Line 91: Line 91:


If it doesn't work, also check Parsoid by going to: http://WhatEverURL:8000 (8000 is the default) (Make sure HTTPD doesn't automatically redirect to HTTPS for this test)
If it doesn't work, also check Parsoid by going to: http://WhatEverURL:8000 (8000 is the default) (Make sure HTTPD doesn't automatically redirect to HTTPS for this test)
==Sample FirewallD Configuration==
<syntaxhighlight lang="text">
ipv4 nat POSTROUTING 100 -s W.X.Y.Z/24 -d WhatEverIP -p tcp --dport 8001 -j SNAT --to-source WhatEverIP
ipv4 nat POSTROUTING 100 -s W.X.Y.Z/24 -d WhatEverIP -p tcp --dport 8144 -j SNAT --to-source WhatEverIP
ipv4 nat PREROUTING 100 -p tcp -d A.B.C.D --dport 8001 -j DNAT --to-destination WhatEverIP:8001
ipv4 nat PREROUTING 100 -s W.X.Y.Z/24 -d A.B.C.D -p tcp --dport 8001 -j DNAT --to-destination WhatEverIP
ipv4 nat PREROUTING 100 -s W.X.Y.Z/24 -d A.B.C.D -p tcp --dport 8144 -j DNAT --to-destination WhatEverIP
ipv4 nat PREROUTING 100 -p tcp -d A.B.C.D --dport 8144 -j DNAT --to-destination WhatEverIP:8144
</syntaxhighlight>