The wiki is configured to use the php mail functionality (not a direct SMTP connection), which is working for other applications on our server. $wgUsersNotifiedOnAllChanges = array('WikiSysop') Īs I say, at one point we know this was working, but it has stopped and I can't figure out why. We have both $wgEnableEmail and $wgEnableUserEmail set to "true", and the EmailNotification variables are: # defaults for all runtime URL paths are based off of this.At some point in the past, this was working, but our wiki is now not sending email to the WikiSysop when someone makes a change to the wiki. Update the LocalSettings.php file as follows: # The URL base path to the directory containing the wiki Install Microsoft URL Rewrite Module for IIS 7.0Ĭreate a web.config file in the same folder where MediaWiki files were installed and paste into it the following When hosting MediaWiki on IIS 7.0, it is possible to configure MediaWiki to use URLs without query string by following these steps: When done with changes, click "Save Page".Įnabling clean URLs with URL Rewrite Module An Editor displays in which you can make your changes. Go to the main page and click the Edit link. Point your browser to Testing the Applicationįor testing MediaWiki, create a user and modify the Main Page content.Ĭlick the Log in / create account link in the top right corner.Įnter the username and password and click "Create account". The previous command grants access only to the following identities: Open a Command Prompt window with administrator privileges and run the following command: cacls %SystemDrive%\inetpub\wwwroot\MediaWiki\LocalSettings.php /sddl:"D:PAI(A FA SY)(A FA BA)(A FA NS)" LocalSetting.php contains sensitive information, so secure it by revoking access to unnecessary identities. Move the LocalSetting.php file to the %SystemDrive%\Inetpub\wwwroot\MediaWiki\ folder and delete the folder %SystemDrive%\Inetpub\wwwroot\MediaWiki\config from your system. The configuration page creates the database wikidb and saves your settings in the %SystemDrive%\Inetpub\ Once you enter all the required information, click "Install MediaWiki!". In the Database config section, enable the 'Use superuser account' checkbox and enter the database superuser password. Scroll down the window and configure your Wiki name and all the required fields. Open a Command Prompt window with administrator privileges and run the following command: icacls %SystemDrive%\Inetpub\wwwroot\MediaWiki\config /grant BUILTIN\IIS_IUSRS:(W)īegin the graphical MediaWiki installation procedure by pointing your browser at You see the following screen. Modify the permissions for the MediaWiki config folder and grant Write permissions for the built-in IIS_IUSRS group. The instructions in this document are based on version 1.11.0, but future versions are likely to be very similar as far as installation is concerned.Īfter downloading the GNU zip package, extract its contents to %SystemDrive%\Inetpub\wwwroot\MediaWiki or another directory of your choosing. The latest release of MediaWiki is found at. the location of your php extensions directory) Modify your php.ini to define the extensions directory and uncomment the PHP MySQL extension definition: extension_dir = "C:\php\ext" (i.e. Icacls session /grant BUILTIN\IIS_IUSRS:(OI)(CI)(M)įrom the base configuration file provided by PHP, you will need to modify your php.ini to have the following definitions: upload_tmp_dir="C:\php\upload"Įnable PHP support for MySQL. Open a Command Prompt window with administrator privileges and run the following commands: cd /d C:\php (i.e. PHP 5.2.4 Non-thread-safe Win32 binaries (RC2-dev)Ĭhange the default session, upload folders and grant access to the built-in IIS_IUSRS group.The instructions have been tested and found to work in the following configuration: This document assumes that you have completed the setup and configuration of the FastCGI extension and PHP libraries as described here. The following sections describe how to install and configure MediaWiki for use with FastCGI on Windows Server® 2008.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |