code: def mount(self, app, script_path):
          ''' Mount a Bottle application to a specific URL prefix '''
          if not isinstance(app, Bottle):
              raise TypeError('Only Bottle instances are supported for now.')
          script_path = '/'.join(filter(None, script_path.split('/')))
          path_depth = script_path.count('/') + 1
          if not script_path:
              raise TypeError('Empty script_path. Perhaps you want a merge()?')
          for other in self.mounts:
              if other.startswith(script_path):
                  raise TypeError('Conflict with existing mount: %s' % other)
          @self.route('/%s/:#.*#' % script_path, method="ANY")
          def mountpoint():
              request.path_shift(path_depth)
              return app.handle(request.path, request.method)
          self.mounts[script_path] = apf mount(self, app, script_path):
          ''' Mount a Bottle application to a specific URL prefix '''
          if not isinstance(app, Bottle):
              raise TypeError('Only Bottle instances are supported for now.')
          script_path = '/'.join(filter(None, script_path.split('/')))
          path_depth = script_path.count('/') + 1
          if not script_path:
              raise TypeError('Empty script_path. Perhaps you want a merge()?')
          for other in self.mounts:
              if other.startswith(script_path):
                  raise TypeError('Conflict with existing mount: %s' % other)
          @self.route('/%s/:#.*#' % script_path, method="ANY")
          def mountpoint():
              request.path_shift(path_depth)
              return app.handle(request.path, request.method)
          self.mounts[script_path] = app
docs: Mount a Bottle application to a specific URL prefix