# File lib/casclient/frameworks/merb/strategy.rb, line 86
      def service_url
        if config[:service_url]
          log.debug("Using explicitly set service url: #{config[:service_url]}")
          return config[:service_url]
        end

        params = request.params.dup
        params.delete(:ticket)
        service_url = "#{request.protocol}://#{request.host}" + request.path
        log.debug("Guessed service url: #{service_url.inspect}")
        return service_url
      end