-
-
Notifications
You must be signed in to change notification settings - Fork 303
TaskBoard on IIS
Here is a step-by-step process on how to install and run TaskBoard under IIS in a Windows environment. Provided by @Zipelkopf
- Download and copy the TaskBoard installation folder in your wwwroot.
-
Install PHP for ISS
-
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.
- 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.
-
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
-
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.
-
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]
- 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.
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!