osTicket version: I am using the latest version 1.7 I believe
Alas I am using technology from the evil empire from which nothing good ever comes... IIS 7, PHP5, MySQL 5.
The host provides an email server which I have configured as a POP3 server in osTickets. osTickets sends out going mail as it should and incoming email is converted to tickets but only when autocron is enabled and therefore a user is logged in.
I don't have cron and don't have a task scheduler. The host provider discountasp, provides the ability to hit a webpage on a schedule. I am not a php coder but from the script it looks like rcron.php does a post passing an api key in the header. The .htaccess file has url rewriting as the post url is a folder which does not exist ../api/tasks/cron. I have been speaking with support and they indicated I needed to do the same thing in IIS. I believe I have done this but I am getting a URL Not Supported error. I never receive any errors in osTicket so it's not getting to the API.
Below is the php rewrite rules, what should be the IIS version and the error.
Any and all help is appreciated.
HTTP/1.1 400 Bad Request Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Length: 17 Content-Type: text/html; charset=UTF-8 Expires: Thu, 19 Nov 1981 08 GMT Server: Microsoft-IIS/7.5 Set-Cookie: PHPSESSID=1t2r8nn3d2vvh4kjbb6d4ubnr5; path=/ X-Powered-By: ASP.NET Date: Tue, 23 Jul 2013 19 GMT Connection: close URL not supported
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.*/api)
RewriteRule ^(.*)$ %1/http.php/$1
</IfModule>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
<add input="{URL}" pattern="(.*/api)" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="{C}/http.php/{R}" />
</rule>