Installing on IIS – Windows Server

You will need mod_rewrite enabled to apply the configs below

Place the web.config file in the folder where you are trying to install Ultimate Project Manager CRM PRO.

Use the following web.config file to install on the IIS server.

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
       
   <system.webServer>
              
      <rewrite>
                     
         <rules>
                            
            <rule name="Imported Rule 1" stopProcessing="true">
                                   
               <match url="^(.*)$" ignoreCase="false" />
                                       
               <conditions logicalGrouping="MatchAll">
                                              
                  <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                                              
                  <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                                          
               </conditions>
                                       
               <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="true" />
                               
            </rule>
                        
         </rules>
                 
      </rewrite>
          
   </system.webServer>
</configuration>

If this web.config doesn’t work try the following:

<?xml version=“1.0” encoding=“UTF-8”?>
<configuration>
   <system.webServer>
      <asp scriptErrorSentToBrowser=“true” />
      <httpErrors existingResponse=“PassThrough” errorMode=“Detailed”></httpErrors>
      <rewrite>
         <rules>
            <rule name=“Imported Rule 1” stopProcessing=“true”>
               <match url=“^(.*)$” ignoreCase=“false” />
               <conditions logicalGrouping=“MatchAll”>
                  <add input=“{REQUEST_FILENAME}” matchType=“IsDirectory” negate=“true” />
                  <add input=“{REQUEST_FILENAME}” matchType=“IsFile” negate=“true” />
               </conditions>
               <action type=“Rewrite” url=“index.php?url={R:1}” appendQueryString=“true” />
            </rule>
         </rules>
      </rewrite>
   </system.webServer>
   <system.web>
      <customErrors mode=“Off”/>
      <compilation debug=“true”/>
   </system.web>
</configuration>

If you installed Ultimate Project Manager CRM PRO in a subfolder or in a subdomain and both web.config files above don’t work, please try this web.config file:

Related Articles