Hi guys,
Apologies in advanced if this is a retardo question ;-)
I just installed MySQL, PHP and the MediaWiki software. It's running under IIS on Windows XP Pro.
When I first visited http://localhost/wiki, it sent me to the initial configuration screen, which seemed to go well. It told me everything it was doing, and indicated that configuration had gone successfully. Finally, it pointed me back to http://localhost/wiki/index.php.
When I went there, I got a browser page back from IIS saying that it couldn't find .../Main_Page. Any idea what's going on? I'm assuming that the configuration process should have somehow autogenerated this file, but I can't find any reference to this issue on the web or specifically in any of the MediaWiki help/installation/configuration sections.
Thanks in advance!
Cheers, Graham Glass
Graham Glass wrote:
Apologies in advanced if this is a retardo question ;-)
I just installed MySQL, PHP and the MediaWiki software. It's running under IIS on Windows XP Pro.
When I first visited http://localhost/wiki, it sent me to the initial configuration screen, which seemed to go well. It told me everything it was doing, and indicated that configuration had gone successfully. Finally, it pointed me back to http://localhost/wiki/index.php.
When I went there, I got a browser page back from IIS saying that it couldn't find .../Main_Page. Any idea what's going on?
Use Apache on Linux/Unix unless you have some very, very good reason not to. If you must use Windows, use Apache. If you must use IIS, you'll have to figure it out on your own as we don't have it or support it.
If you can't configure IIS correctly, try switching the $wgArticlePath to 'ugly URL' style.
-- brion vibber (brion @ pobox.com)
Hi Brion,
Thanks for the quick response!
Before shifting to Apache, I'll have a quick go at getting it running under IIS.
It would be useful to know at least the basics of how an initial call to index.php gets redirected to index.php/Main_Page. I have a development background, so I can plough through the PHP source code, but a little prod in the right direction would be greatly appreciated.
Cheers, Graham
On 9/8/05, Brion Vibber brion@pobox.com wrote:
Graham Glass wrote:
Apologies in advanced if this is a retardo question ;-)
I just installed MySQL, PHP and the MediaWiki software. It's running under IIS on Windows XP Pro.
When I first visited http://localhost/wiki, it sent me to the initial configuration screen, which seemed to go well. It told me everything it was doing, and indicated that configuration had gone successfully. Finally, it pointed me back to http://localhost/wiki/index.php.
When I went there, I got a browser page back from IIS saying that it couldn't find .../Main_Page. Any idea what's going on?
Use Apache on Linux/Unix unless you have some very, very good reason not to. If you must use Windows, use Apache. If you must use IIS, you'll have to figure it out on your own as we don't have it or support it.
If you can't configure IIS correctly, try switching the $wgArticlePath to 'ugly URL' style.
-- brion vibber (brion @ pobox.com http://pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Graham Glass wrote:
Before shifting to Apache, I'll have a quick go at getting it running under IIS.
It would be useful to know at least the basics of how an initial call to index.php gets redirected to index.php/Main_Page. I have a development background, so I can plough through the PHP source code, but a little prod in the right direction would be greatly appreciated.
It's redirected with an HTTP location header (you can watch this in any packet sniffer or in-application HTTP protocol display such as the Live HTTP Headers extension on Firefox).
If you mean, why's it redirected and how is the target URL determined: the title given in the URL is non-canonical (none given where Main_Page expected) so the canonical URL is formed and sent as a redirect target.
Article view URLs are constructed from $wgArticlePath. Please see LocalSettings.php and DefaultSettings.php.
-- brion vibber (brion @ pobox.com)
Hi Brion,
Thanks for your reply.
After following your suggestion of switching to "ugly urls", the mapping is now fairly clear. I'll give one of the free IIS URL rewriting plugins a spin tomorrow and see if I can get nice URLs working under ISS.
Cheers, Graham
On 9/8/05, Brion Vibber brion@pobox.com wrote:
Graham Glass wrote:
Before shifting to Apache, I'll have a quick go at getting it running
under
IIS.
It would be useful to know at least the basics of how an initial call to index.php gets redirected to index.php/Main_Page. I have a development background,
so
I can plough through the PHP source code, but a little prod in the right direction would be greatly appreciated.
It's redirected with an HTTP location header (you can watch this in any packet sniffer or in-application HTTP protocol display such as the Live HTTP Headers extension on Firefox).
If you mean, why's it redirected and how is the target URL determined: the title given in the URL is non-canonical (none given where Main_Page expected) so the canonical URL is formed and sent as a redirect target.
Article view URLs are constructed from $wgArticlePath. Please see LocalSettings.php and DefaultSettings.php.
-- brion vibber (brion @ pobox.com http://pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
The problem you are having is with Ugly URL's vs. Nice URL's, you need to convert your setup to Ugly URL's. The first section in LocalSettings.php relates to this, if you can figure it (comment out one line and bring in another) out you can try a search for Ugly URL's in the documentation.
The one thing I found trying to run a wiki with IIS was the time it took process php pages, as soon as I switched to Apace (on widows) the site got about 3 times faster.
Arthur Guy
arthur@astarsolutions.co.uk a star solutions www.astarsolutions.co.uk
Audio & Video Leads Adapters and Accessories -----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Graham Glass Sent: 08 September 2005 06:50 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Installation issue:'http://localhost/wiki/index.php/Main_Page"
Hi Brion,
Thanks for the quick response!
Before shifting to Apache, I'll have a quick go at getting it running under IIS.
It would be useful to know at least the basics of how an initial call to index.php gets redirected to index.php/Main_Page. I have a development background, so I can plough through the PHP source code, but a little prod in the right direction would be greatly appreciated.
Cheers, Graham
On 9/8/05, Brion Vibber brion@pobox.com wrote:
Graham Glass wrote:
Apologies in advanced if this is a retardo question ;-)
I just installed MySQL, PHP and the MediaWiki software. It's running under IIS on Windows XP Pro.
When I first visited http://localhost/wiki, it sent me to the initial configuration screen, which seemed to go well. It told me everything it was doing, and indicated that configuration had gone successfully. Finally, it pointed me back to http://localhost/wiki/index.php.
When I went there, I got a browser page back from IIS saying that it couldn't find .../Main_Page. Any idea what's going on?
Use Apache on Linux/Unix unless you have some very, very good reason not to. If you must use Windows, use Apache. If you must use IIS, you'll have to figure it out on your own as we don't have it or support it.
If you can't configure IIS correctly, try switching the $wgArticlePath to 'ugly URL' style.
-- brion vibber (brion @ pobox.com http://pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
'a star solutions' disclaimer The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company. We believe that this communication is free from viruses and other potentially dangerous programmes, but the recipient opens this communication at their own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this communication
Hi Arthur,
Thanks for the information!
I switched to ugly URLs and it seems to be working now. I found a couple of free IIS plugins that do URL rewriting so I'll try and get one of them working tomorrow. I may also give Apache a whirl, especially if the IIS plugins don't work well.
Cheers, Graham
On 9/8/05, Arthur Guy arthur@astarsolutions.co.uk wrote:
The problem you are having is with Ugly URL's vs. Nice URL's, you need to convert your setup to Ugly URL's. The first section in LocalSettings.php relates to this, if you can figure it (comment out one line and bring in another) out you can try a search for Ugly URL's in the documentation.
The one thing I found trying to run a wiki with IIS was the time it took process php pages, as soon as I switched to Apace (on widows) the site got about 3 times faster.
Arthur Guy
arthur@astarsolutions.co.uk a star solutions www.astarsolutions.co.uk http://www.astarsolutions.co.uk
Audio & Video Leads Adapters and Accessories -----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Graham Glass Sent: 08 September 2005 06:50 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Installation issue:'http://localhost/wiki/index.php/Main_Page"
Hi Brion,
Thanks for the quick response!
Before shifting to Apache, I'll have a quick go at getting it running under IIS.
It would be useful to know at least the basics of how an initial call to index.php gets redirected to index.php/Main_Page. I have a development background, so I can plough through the PHP source code, but a little prod in the right direction would be greatly appreciated.
Cheers, Graham
On 9/8/05, Brion Vibber brion@pobox.com wrote:
Graham Glass wrote:
Apologies in advanced if this is a retardo question ;-)
I just installed MySQL, PHP and the MediaWiki software. It's running under IIS on Windows XP Pro.
When I first visited http://localhost/wiki, it sent me to the initial configuration screen, which seemed to go well. It told me everything it was doing, and indicated that configuration had gone successfully. Finally, it pointed me back to http://localhost/wiki/index.php.
When I went there, I got a browser page back from IIS saying that it couldn't find .../Main_Page. Any idea what's going on?
Use Apache on Linux/Unix unless you have some very, very good reason not to. If you must use Windows, use Apache. If you must use IIS, you'll have to figure it out on your own as we don't have it or support it.
If you can't configure IIS correctly, try switching the $wgArticlePath to 'ugly URL' style.
-- brion vibber (brion @ pobox.com http://pobox.com <http://pobox.com )
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
'a star solutions' disclaimer The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient of this message you are hereby notified that any use, review, retransmission, dissemination, distribution, reproduction or any action taken in reliance upon this message is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of the company. We believe that this communication is free from viruses and other potentially dangerous programmes, but the recipient opens this communication at their own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this communication
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org