Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Submitted on August 31, 2014 at 10:00 PM

Section 1 (Text)

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