MediaWiki Visual Editor Parsoid 404 Error: Difference between revisions
No edit summary |
|||
Line 24: | Line 24: | ||
</div> I hadn't. And it turns out that was the issue. It had nothing to do with the MediaWiki or Parsoid configuration at all. Specifically I had a simple typo in my httpd.conf file (I'm using CentOS 7.4, so the location and name of your Apache / HTTPD configuration file may vary. It may even be in multiple files.) that allowed me to view any page on the site, but didn't allow for editing with the Visual Editor. As near as I could figure out it has something to do with absolute and relative paths. But for the life of me I couldn't figure out how anything had worked at all with that typo, so I gave up on that and just fixed it. | </div> I hadn't. And it turns out that was the issue. It had nothing to do with the MediaWiki or Parsoid configuration at all. Specifically I had a simple typo in my httpd.conf file (I'm using CentOS 7.4, so the location and name of your Apache / HTTPD configuration file may vary. It may even be in multiple files.) that allowed me to view any page on the site, but didn't allow for editing with the Visual Editor. As near as I could figure out it has something to do with absolute and relative paths. But for the life of me I couldn't figure out how anything had worked at all with that typo, so I gave up on that and just fixed it. | ||
<div class="mw-parser-output"> | |||
== My configuration == | == My configuration == | ||
For my config.yaml file, just two lines; | For my config.yaml file, just two lines; | ||
| |||
<syntaxhighlight lang="bat"> | <syntaxhighlight lang="bat"> | ||
uri: '[[Http:// | uri: '[[Http://FullQualifiedDomainNameAndPath/api.php'|http://FullyQualifiedDomainNameAndPath/api.php']] | ||
domain: 'localhost' | domain: 'localhost' | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Also, I noticed a dash ( - ) in front of a comment hash tag ( # ) that I thought was a typo, but some people actually referenced it as it was supposed to be there, so I left it. | Also, I noticed a dash ( - ) in front of a comment hash tag ( # ) that I thought was a typo, but some people actually referenced it as it was supposed to be there, so I left it. | ||
</div> | |||
== The Conclusion == | == The Conclusion == |