Displaying 5 results from an estimated 5 matches for "httpredirect".
2017 Jun 09
6
Logging the click data
> The log command will be executed wherever it is in the template.
> By "current system user", what do you mean? There'll need to be
> write permission for the CGI process, which is probably the same
> identity as the web server process.
I basically changed the ownership of the /var/log/omega directory to
the current user using:
sudo chown `whoami` /var/log/omega
But I
2012 Oct 18
2
Different return codes on exec during puppet agent run vs command line Windows
...;IIS-HealthAndDiagnostics\"
/featurename:\"IIS-HostableWebCore\"
/featurename:\"IIS-HttpCompressionDynamic\"
/featurename:\"IIS-HttpCompressionStatic\" /featurename:\"IIS-HttpErrors\"
/featurename:\"IIS-HttpLogging\" /featurename:\"IIS-HttpRedirect\"
/featurename:\"IIS-HttpTracing\"
/featurename:\"IIS-IIS6ManagementCompatibility\"
/featurename:\"IIS-IISCertificateMappingAuthentication\"
/featurename:\"IIS-IPSecurity\" /featurename:\"IIS-ISAPIExtensions\"
/featurename:\"IIS-ISAPI...
2007 Oct 05
3
basic_auth problem since 0.6.9
I have a site that I don''t think "returns" a basic_auth request, but is
able to use basic_auth.
In the past on 0.6.8, I could use the following code:
require ''rubygems''
# gem ''mechanize'', ''=0.6.8''
require ''mechanize''
agent = WWW::Mechanize.new
agent.basic_auth("username", "password")
2012 May 25
1
Connect reset by peer error
...=> @code, ''client_id''=>''my_client_id'', ''client_secret''=>''my_secret_key''}, '';'')
res = Net::HTTP.new(url.host, url.port).start { |http| http.request(req) }
case res
when Net::HTTPSuccess, Net::HTTPRedirection
# OK
else
# res.error!
end
render :text => @code.inspect
end
I get a valid authorization code but unable to proceed to get access token due to above error. The third party API has to return a response in json format.
Any help is much awaited and appreciated!
--
Yo...
2009 Apr 12
9
invalid byte sequence utf-8 OR best option to sanitize content brought in with net::http? single non-utf character causes rails to crash
hi all,
platform: debian lenny, ruby1.91.p0, passenger/apache-multithread,
rails2.3 in vendor/postres and sql server via odbc. all current gems.
i have legacy asp content on win2k servers that i wrap in rails
controllers. this all worked great with ruby1.8, but now that we are
dealing with encoded strings in ruby1.9, i am having page crashes
randomly as users have cut and pasted high ascii code