eltrino / diamantedesk-application

DiamanteDesk
http://diamantedesk.com/
Other
118 stars 42 forks source link

Installation Problem #59

Open nathan-vo810 opened 7 years ago

nathan-vo810 commented 7 years ago

Hi,

Currently, I'm setting up the system on Microsoft Azure. I have upload all the required files to the cloud and start installing by go to .../web/install.php I have successfully passed the System requirement check - the 1st step in the installation. However, when I press the next button, the page redirect me to .../web/installer which does not exist!!!

I don't know how to continue setting up the system. Can anyone please help me with this?

Thank you.

northdakota commented 7 years ago

Hi nhatanh81096, what webserver do you use? apache or ngxin? If you use apache, seems that you have disabled or not installed module mod_rewrite.

nathan-vo810 commented 7 years ago

Hi, thanks for your help! I'm using IIS 8.0. I have done some research on your suggestion and it appears that the web server cannot read .htaccess and the file is needed to rewrite into web.config However, I still unable to do that!!! Is there any other way to install this?

Thank you

northdakota commented 7 years ago

Hi, could you please to install URL Rewrite module for IIS https://www.iis.net/downloads/microsoft/url-rewrite

and apply following connfig

<system.webServer>
  <rewrite>
    <rules>
      <rule name="Redirect index.php" stopProcessing="true">
        <match url="index\.php/(.*)" />
        <action type="Redirect" url="{R:1}" appendQueryString="false" />
      </rule>
      <rule name="Rewrite index.php">
        <match url="(.*)" />
        <conditions>
          <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
          <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
        </conditions>
        <action type="Rewrite" url="index.php/{R:1}" />
      </rule>
    </rules>
  </rewrite>
</system.webServer>

Thanks!