The install guide in the documentation makes no sense to me. I downloaded 1.15.1 and am trying to install it on a Windows Server 2012 I am connected to via Remote Desktop. I am directly using the server's graphical interface. Maybe it would actually be easier to use a remote console, but that is not an option for me. The trouble starts at the "Using Installation Script" step since I have no idea how to navigate to where I need to be through the web browser.
CloudStriker Once you have your Windows 2012 server setup with IIS web server correctly here is a link to Microsoft: https://docs.microsoft.com/en-us/iis/install/installing-iis-85/installing-iis-85-on-windows-server-2012-r2
Then you just need to unzip the downloaded osTicket to the root of the webserver, then you should see the setup screen, then follow the steps to complete the installation
Well you would also need to setup a database, and add a user with privileges also, but other wise @ramrajone is correct.
Okay, I got a webserver set up, and now when I try to open the host site, I get an Error 500.19, stating the config files are invalid.
https://docs.microsoft.com/en-us/troubleshoot/iis/http-error-500-19-webpage "This problem occurs because the ApplicationHost.config or Web.config file contains a malformed XML element."
Sounds like you have an issue with your web.config.
ntozier The web.config that was part of the zipped osTicket files? Why would that have an issue, and how would I find out what the problem is specifically?
Update: Here are the contents of the web.config. I really have no idea what's wrong here. <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <directoryBrowse enabled="false" /> <rewrite> <rules> <rule name="HTTP api" stopProcessing="true"> <match url="^(.*/)?api/(.*)$" ignoreCase="true"/> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="{R:1}api/http.php/{R:2}"/> </rule> <rule name="Site pages" stopProcessing="true"> <match url="^(.*/)?pages/(.*)$" ignoreCase="true"/> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="{R:1}pages/index.php/{R:2}"/> </rule> <rule name="Staff applications" stopProcessing="true"> <match url="^(.*/)?scp/apps/(.*)$" ignoreCase="true"/> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="{R:1}scp/apps/dispatcher.php/{R:2}"/> </rule> </rules> </rewrite> <defaultDocument> <files> <remove value="index.php" /> <add value="index.php" /> </files> </defaultDocument> </system.webServer> </configuration>
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <directoryBrowse enabled="false" /> <rewrite> <rules> <rule name="HTTP api" stopProcessing="true"> <match url="^(.*/)?api/(.*)$" ignoreCase="true"/> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="{R:1}api/http.php/{R:2}"/> </rule> <rule name="Site pages" stopProcessing="true"> <match url="^(.*/)?pages/(.*)$" ignoreCase="true"/> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="{R:1}pages/index.php/{R:2}"/> </rule> <rule name="Staff applications" stopProcessing="true"> <match url="^(.*/)?scp/apps/(.*)$" ignoreCase="true"/> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> </conditions> <action type="Rewrite" url="{R:1}scp/apps/dispatcher.php/{R:2}"/> </rule> </rules> </rewrite> <defaultDocument> <files> <remove value="index.php" /> <add value="index.php" /> </files> </defaultDocument> </system.webServer> </configuration>
That appears to be identical to my web.config.
So then what could be the problem? I am really stuck here.
The Error Message states that the problem lies between line -1 and 0, which makes less than zero sense to me.
CloudStriker have you looked at the IIS logs? Also, have you installed or enabled the PHP module? https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configuring-step-1-install-iis-and-php
Maybe the current web.config does not work with such an old version of IIS (8.5).
Try creating a site in IIS. Copy all the files from the distribution from the new site, but not he included web.config. Try going to the site.