Stay on Top with latest happenings: Subscribe Now

Orangescrum Project Management Tool Is On IIS Server

Good News for Orangescrum Project Management Tool Open Source users specially IIS server users!

Our R&D department constantly evaluates the installation process for Orangescrum opensource Edition and expand its outreach. We have now tested and documented the installation process for the IIS (windows) server.

The question is How to install Orangescrum on IIS server?

You need to rewrite your URL in CakePHP native code to install Orangescrum on IIS servers.

How to Rewrite URL on IIS7 (Windows hosts)?

IIS7 does not natively support .htaccess files. While there are add-ons that can add this support, you can also import htaccess rules into IIS to use CakePHP’s native rewrites. To do this, follow these steps:

  • Use Microsoft’s Web Platform Installer to install the URL Rewrite Module 2.0 or download it directly (32-bit / 64-bit).
  • Create a new file called web.config in your CakePHP root folder. (in webroot folder)
  • Using Notepad or any XML-safe editor, copy the following code into your new web.config file
  • <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
            <rewrite>
                <rules>
                    <rule name="Rewrite requests to index.php" stopProcessing="true">
                        <match url="^index.php(.*)$" ignoreCase="false" />
                        <action type="Rewrite" url="app/webroot/index.php{R:1}" />
                    </rule>
                    <rule name="Exclude direct access to app/webroot/*" stopProcessing="true">
                        <match url="^app/webroot/(.*)$" ignoreCase="false" />
                        <action type="None" />
                    </rule>
                    <rule name="Rewrite routed access to assets(img, css, files, js, favicon)" stopProcessing="true">
                        <match url="^(img|css|files|js|favicon.ico)(.*)$" />
                        <action type="Rewrite" url="app/webroot/{R:1}{R:2}" appendQueryString="false" />
                    </rule>
                    <rule name="Rewrite requested file/folder to index.php" stopProcessing="true">
                        <match url="^(.*)$" ignoreCase="false" />
                        <action type="Rewrite" url="index.php" appendQueryString="true" />
                    </rule>
                </rules>
            </rewrite>
        </system.webServer>
    </configuration>
    
  • Once the web.config file is created with the correct IIS-friendly rewrite rules, CakePHP’s links, CSS, JavaScipt, and rerouting should work correctly.
  • Please find CakeRequest.php file.
  • Please replace new CakeRequest.php file with previous CakeRequest.php file. The path is “orangescrum-master\lib\Cake\Network CakeRequest.php “.

By following the above steps, your htaccess issue will be resolved. Now the installation is easier and fun too!

Let us know if you have a better way to install Orangescrum on IIS server, we’d love to add the steps in our manual. Do you face any issues? Contact us now!

Download OrangescrumInstallation Support

Orangescrum is offering a special discount to Opensource users – UP TO 40% OFF on All Add-ons


Explore Add-ons here

Shares

About the author

Priyank Agarwal
Priyank Agarwal

Customer Success & Product Manager, Orangescrum

Shares