Hi,
Not sure if this is the right place to post this, so I apologize if it's not.
I recently installed Mediawiki on a Windows 2012 Server. Everything looks to be working fine, however I cannot edit anything as it leads to a page saying bad title. The same goes for creating a new page, or clicking random page. Upon investigation, it seems that I get 301 Mover Permanently responses from the server, and then it requests a different url. The issue is that the url it requests simply adds move stuff to the end of the url.
For example, if I request /mediawiki/index.php?title=Some_Page , it instead redirects it to /mediawiki/index.php?title=Main_Page/mediawiki/index.php?title=Main_Page/mediawiki/index.php%3Ftitle%3DTest . But then that will redirect too, adding on another mediawiki/index.php%3Ftitle%3DTest to the end of the url. This will continue until the URL becomes too long, and it leads me to bad title.
I was wondering if anyone else has experienced anything like this. Thanks!
-- View this message in context: http://wikimedia.7.x6.nabble.com/Repeatedly-getting-bad-titles-tp5064688.htm... Sent from the WikiMedia General mailing list archive at Nabble.com.
looks like you might have a bad rewrite rule in your config
On Thu, Jun 16, 2016 at 8:41 AM, goofball bp32795@gmail.com wrote:
Hi,
Not sure if this is the right place to post this, so I apologize if it's not.
I recently installed Mediawiki on a Windows 2012 Server. Everything looks to be working fine, however I cannot edit anything as it leads to a page saying bad title. The same goes for creating a new page, or clicking random page. Upon investigation, it seems that I get 301 Mover Permanently responses from the server, and then it requests a different url. The issue is that the url it requests simply adds move stuff to the end of the url.
For example, if I request /mediawiki/index.php?title=Some_Page , it instead redirects it to
/mediawiki/index.php?title=Main_Page/mediawiki/index.php?title=Main_Page/mediawiki/index.php%3Ftitle%3DTest . But then that will redirect too, adding on another mediawiki/index.php%3Ftitle%3DTest to the end of the url. This will continue until the URL becomes too long, and it leads me to bad title.
I was wondering if anyone else has experienced anything like this. Thanks!
-- View this message in context: http://wikimedia.7.x6.nabble.com/Repeatedly-getting-bad-titles-tp5064688.htm... Sent from the WikiMedia General mailing list archive at Nabble.com.
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Would that be in localsettings.php?
-- View this message in context: http://wikimedia.7.x6.nabble.com/Repeatedly-getting-bad-titles-tp5064688p506... Sent from the WikiMedia General mailing list archive at Nabble.com.
I figured it out. I had $wgserver in my local settings set to the server + index page and not just the server. Whoops.
-- View this message in context: http://wikimedia.7.x6.nabble.com/Repeatedly-getting-bad-titles-tp5064688p506... Sent from the WikiMedia General mailing list archive at Nabble.com.
No, its not a mediawiki issue, it is a configuration setting with your webserver
On Thu, Jun 16, 2016 at 9:30 AM, goofball bp32795@gmail.com wrote:
Would that be in localsettings.php?
-- View this message in context: http://wikimedia.7.x6.nabble.com/Repeatedly-getting-bad-titles-tp5064688p506... Sent from the WikiMedia General mailing list archive at Nabble.com.
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org