[Mediawiki-l] Problems with MediaWiki on Windows with Apache :-(

Matt datahead4 at gmail.com
Tue Nov 7 13:46:57 UTC 2006


I've had similar issues on a Windows/Apache setup with MediaWiki.  I
don't know what is causing your specific errors, but you might want to
try forcing MediaWiki to use an SMTP-method to send email.  I did
create a brief write-up of how I got this working with my setup, but
it is not thoroughly tested on multiple configurations - it just
worked for what I needed to get done.  You're welcome to review and
try it if you'd like:

http://www.datahead.org/wiki/index.php/Wiki_Setup_Information#Email_Settings

Matt

On 11/7/06, markgillespie at dek.com <markgillespie at dek.com> wrote:
>
> After having no trouble running our test MediaWiki 1.8.2 server on Linux, I
> was kinda forced into using Win2000 as our production server.  So have
> spend the best part of the day moving data and configuring things.  I have
> 1 problem I cannot resolve.  I cannot get the email notifications to work
> correctly.  I am using the PHP mail() method of sending emails.
>
> When I request a validation email, MediaWiki says it failed to send.
> However the email arrives just fine.  I can then validate my email address
> and setup watches.  However when watched pages are edited, I don't get
> notifications.
>
> Looking at the Apache log, there are some clues...
>
> [Mon Nov 06 13:49:24 2006] [error] [client 195.213.114.210] (20024)The
> given path misformatted or contained invalid characters: Cannot map GET
> /index.php/User:Mgillespie HTTP/1.1 to file, referer:
> http://mediawiki/index.php?title=Special:Userlogin&action=submitlogin&type=login&returnto=Main_Page
> [Mon Nov 06 13:49:28 2006] [error] [client 195.213.114.210] (20024)The
> given path misformatted or contained invalid characters: Cannot map GET
> /index.php/Special:Preferences HTTP/1.1 to file, referer:
> http://mediawiki/index.php/User:Mgillespie
> [Mon Nov 06 13:49:30 2006] [error] [client 195.213.114.210] (20024)The
> given path misformatted or contained invalid characters: Cannot map GET
> /index.php/Special:Confirmemail HTTP/1.1 to file, referer:
> http://mediawiki/index.php/Special:Preferences
> [Mon Nov 06 13:49:32 2006] [error] [client 195.213.114.210] (20024)The
> given path misformatted or contained invalid characters: Cannot map POST
> /index.php/Special:Confirmemail HTTP/1.1 to file, referer:
> http://mediawiki/index.php/Special:Confirmemail
> [Mon Nov 06 13:50:20 2006] [error] [client 195.213.115.75] (20024)The given
> path misformatted or contained invalid characters: Cannot map GET
> /index.php/Special:Confirmemail/3a49f39b4563163c2228ffe392112a24 HTTP/1.1
> to file
> [Mon Nov 06 13:50:27 2006] [error] [client 195.213.115.75] (20024)The given
> path misformatted or contained invalid characters: Cannot map GET
> /index.php/Special:Preferences HTTP/1.1 to file, referer:
> http://mediawiki/index.php/Special:Confirmemail/3a49f39b4563163c2228ffe392112a24
> [Mon Nov 06 13:50:36 2006] [error] [client 195.213.114.114] (20024)The
> given path misformatted or contained invalid characters: Cannot map GET
> /index.php/Talk:Main_Page HTTP/1.1 to file, referer:
> http://mediawiki/index.php/Main_Page
> [Mon Nov 06 13:50:40 2006] [error] [client 195.213.115.75] (20024)The given
> path misformatted or contained invalid characters: Cannot map POST
> /index.php/Special:Preferences HTTP/1.1 to file, referer:
> http://mediawiki/index.php/Special:Preferences
> [Mon Nov 06 13:50:46 2006] [error] [client 195.213.115.75] (20024)The given
> path misformatted or contained invalid characters: Cannot map GET
> /index.php/Special:Recentchanges HTTP/1.1 to file, referer:
> http://mediawiki/index.php/Special:Preferences
> [Mon Nov 06 13:53:58 2006] [error] [client 195.213.115.75] (20024)The given
> path misformatted or contained invalid characters: Cannot map GET
> /index.php/Special:Watchlist HTTP/1.1 to file, referer:
> http://mediawiki/index.php/Main_Page
> [Mon Nov 06 13:54:02 2006] [error] [client 195.213.115.75] (20024)The given
> path misformatted or contained invalid characters: Cannot map GET
> /index.php/Special:Watchlist/edit HTTP/1.1 to file, referer:
> http://mediawiki/index.php/Special:Watchlist
> [Mon Nov 06 14:02:13 2006] [error] [client 127.0.0.1] (20024)The given path
> misformatted or contained invalid characters: Cannot map GET
> /index.php/Special:Preferences HTTP/1.1 to file, referer:
> http://localhost/index.php/Main_Page
> [Mon Nov 06 14:05:06 2006] [error] [client 195.213.115.29] (20024)The given
> path misformatted or contained invalid characters: Cannot map GET
> /index.php/Special:Preferences HTTP/1.1 to file, referer:
> http://mediawiki/index.php?title=Special:Userlogin&action=submitlogin&type=login&returnto=Main_Page
> [Mon Nov 06 14:05:14 2006] [error] [client 195.213.115.29] (20024)The given
> path misformatted or contained invalid characters: Cannot map GET
> /index.php/Special:Confirmemail HTTP/1.1 to file, referer:
> http://mediawiki/index.php/Special:Preferences
> [Mon Nov 06 14:05:22 2006] [error] [client 195.213.115.29] (20024)The given
> path misformatted or contained invalid characters: Cannot map POST
> /index.php/Special:Confirmemail HTTP/1.1 to file, referer:
> http://mediawiki/index.php/Special:Confirmemail
> [Mon Nov 06 14:06:21 2006] [error] [client 195.213.115.29] (20024)The given
> path misformatted or contained invalid characters: Cannot map GET
> /index.php/Special:Confirmemail/a397016844cd9fd1537f5fdfcc62ae20 HTTP/1.1
> to file
> [Mon Nov 06 14:06:34 2006] [error] [client 195.213.115.29] (20024)The given
> path misformatted or contained invalid characters: Cannot map GET
> /index.php/Special:Preferences HTTP/1.1 to file, referer:
> http://mediawiki/index.php/Special:Confirmemail/a397016844cd9fd1537f5fdfcc62ae20
> [Mon Nov 06 14:07:00 2006] [error] [client 195.213.115.29] (20024)The given
> path misformatted or contained invalid characters: Cannot map POST
> /index.php/Special:Preferences HTTP/1.1 to file, referer:
> http://mediawiki/index.php/Special:Preferences
>
>
> What is happening?  Is MediaWiki sending invalid URL's to Apache?  Thats
> what it looks like....  Does Apache behave differently on Windows and *nix?
>
>
>
> This e-mail and any files transmitted with it are in commercial confidence and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the Postmaster by e-mail. Any views or opinions expressed are solely those of the author and do not necessarily represent those of DEK International or its affiliates.
> postmaster at dek.com
>
> This footnote confirms that this message has been checked for the presence of computer viruses.
> http://www.dek.com  ...know the difference
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>



More information about the MediaWiki-l mailing list