I have drupal installed in the root folder of the webserver. There is also a custom drupal app that is now running from root/subfolder. I have configured settings.php to recognize $base_url and changed .htaccess to rewrite base to /subfolder.
At the moment, it works great in terms of logging in and making content changes. However, trying to upload files returns an ajax error, if I try to save directly by pressing save, it doesn't return an error on the subfolder site, rather it throws back a 404 on the root site.
What gives? Any help is greatly appreciated.