Skip to content

TaskBoard on IIS

Matthew Ross edited this page Nov 30, 2020 · 2 revisions

Here is a step-by-step process on how to install and run TaskBoard under IIS in a Windows environment. Provided by @Zipelkopf

  1. Download and copy the TaskBoard installation folder in your wwwroot.

image

  1. Install PHP for ISS image

  2. Open IIS, right click on the TaskBoard folder and Convert into Application . The TaskBoard icon should change from a plain yellow folder into an app one.

image

  1. Right click and Edit Permissions for the api folder. Be sure to grant full control to the IUSR user and the IIS_ISURS user group.

image

  1. If you cannot run the install script or you don't have the vendor folder under your TaskBoard one, then download the attached folder. vendor.tar.gz

  2. Install the module URL Rewrite for IIS because we need to import and convert the .htaccess files in IIS, in order to rewrite the requested URLs. image

  3. In IIS, go to the api folder, open URL Rewrite and click on Import rules Copy and paste the following rules, taken and amended from the source .htaccess file. Be sure that /TaskBoard/api/index.php matches the location in your wwwroot.

ExpiresActive Off
RewriteEngine On
RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
RewriteRule ^taskboard.db$ /TaskBoard/api/index.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /TaskBoard/api/index.php [QSA,L]
  1. In IIS, go to the 2nd slim folder in the vendor one, open URL Rewrite and click on Import rules. Copy and paste the following rules, taken and amended from the source .htaccess file.

image

RewriteEngine On
# Some hosts may require you to use the `RewriteBase` directive.
# If you need to use the `RewriteBase` directive, it should be the
# absolute physical path to the directory that contains this htaccess file.
#
# RewriteBase /

That's all! Browse to your localhost/TaskBoard and enjoy!

image

Clone this wiki locally