root@scrapy2:/var/www/htdocs/osticket# nano /etc/apache2/apache2.conf now includes web.config


root@scrapy2:/var/www/htdocs/osticket# ls
account.php  attachment.php  image.php  kb          main.inc.php  pwreset.php     view.php
ajax.php     bootstrap.php   images     l.php       offline.php   scp             web.config
api          captcha.php     include    login.php   open.php      secure.inc.php
apps         client.inc.php  index.php  logo.php    pages         setup
assets       css             js         logout.php  profile.php   tickets.php



[1]+  Stopped                 nano /etc/apache2/apache2.conf
root@scrapy2:/var/www/htdocs/osticket# service apache2 restart
 * Restarting web server apache2                                                        [fail]
 * The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 223 of /etc/apache2/apache2.conf: Syntax error on line 15 of /var/www/htdocs/osticket/web.config: Expected </add> but saw </conditions>
Action 'configtest' failed.





<?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> //<---------------------------------------------------Line 15