<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Bitcoin-js-remote</id>
	<title>Bitcoin-js-remote - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Bitcoin-js-remote"/>
	<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Bitcoin-js-remote&amp;action=history"/>
	<updated>2026-05-17T00:49:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>http://en.zaoniao.it/index.php?title=Bitcoin-js-remote&amp;diff=3306&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;{{#seo: |title= Bitcoin-js-remote. All about cryptocurrency - zaoniao Wiki |keywords=bitcoin,Bitcoin-js-remote |description= Bitcoin-js-remote is a user interface for Bitcoin...&quot;</title>
		<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Bitcoin-js-remote&amp;diff=3306&amp;oldid=prev"/>
		<updated>2019-04-16T08:08:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{#seo: |title= Bitcoin-js-remote. All about cryptocurrency - zaoniao Wiki |keywords=bitcoin,Bitcoin-js-remote |description= Bitcoin-js-remote is a user interface for Bitcoin...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#seo:&lt;br /&gt;
|title= Bitcoin-js-remote. All about cryptocurrency - zaoniao Wiki&lt;br /&gt;
|keywords=bitcoin,Bitcoin-js-remote&lt;br /&gt;
|description= Bitcoin-js-remote is a user interface for Bitcoin written in JavaScript&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A user interface for Bitcoin written in JavaScript.&lt;br /&gt;
&lt;br /&gt;
For SSL support a small server side script is included.&lt;br /&gt;
&lt;br /&gt;
This software is released under the MIT/X11 License.&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
&lt;br /&gt;
* [http://tcatm.github.com/bitcoin-js-remote Bitcoin-js-remote] website&lt;br /&gt;
* [http://github.com/tcatm/bitcoin-js-remote Bitcoin-js-remote] project page&lt;br /&gt;
&lt;br /&gt;
==Example of an Apache HTTPD Configuration for Bitcoin JS Remote==&lt;br /&gt;
[I am assuming a little knowledge about Apache httpd. You had better read on Apache httpd directives: http://httpd.apache.org/docs/2.2/mod/directives.html. Of course, this is only an example of many other configurations]&lt;br /&gt;
&lt;br /&gt;
Assuming your bitcoin.conf file includes:&lt;br /&gt;
 rpcuser=myuser&lt;br /&gt;
 rpcpassword=mypass&lt;br /&gt;
&lt;br /&gt;
First, generate a suitable file for Basic Authentification. See man htpasswd or execute&lt;br /&gt;
 htpasswd -b -c my_prefer_filename myuser mypass&lt;br /&gt;
&lt;br /&gt;
Set following Apache directives in the proper context, i.e. server or virtual host configuration:&lt;br /&gt;
 &amp;amp;lt;Proxy http://127.0.0.1:8332&amp;amp;gt;&lt;br /&gt;
 AuthType Basic&lt;br /&gt;
 AuthName &amp;quot;Bitcoin Access&amp;quot;&lt;br /&gt;
 AuthUserFile my_prefer_filename&lt;br /&gt;
 Require user myuser&lt;br /&gt;
 Order deny,allow&lt;br /&gt;
 Allow from all&lt;br /&gt;
 &amp;amp;lt;/Proxy&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming you want to access Bitcoin JS Remote with http://mydomain/jbc&lt;br /&gt;
 Alias /jbc pathabs_to_bitcoin-js-remote&lt;br /&gt;
 ProxyPass /lbc/ http://127.0.0.1:8332/&lt;br /&gt;
 # ProxyPassReverse is not required because bitcoind talks pure&lt;br /&gt;
 # JSON, i.e no HTTP Headers with URIs are generated by bitcoind&lt;br /&gt;
 # ProxyPassReverse /lbc/ http://127.0.0.1:8332/&lt;br /&gt;
&lt;br /&gt;
Above ProxyPass directive is asuming you are set the RPC.url field to &amp;quot;/lbc/&amp;quot; into &amp;quot;settings.json&amp;quot; file, located in the bitcoin-js-remote directory. See the settings.json_sample file for proper syntax.&lt;br /&gt;
&lt;br /&gt;
A variety of configurations are feasible:&lt;br /&gt;
&lt;br /&gt;
 # If RPC.url is an absolute path (i.e. RPC.url : /lbc/),&lt;br /&gt;
 # bitcoind at 127.0.0.1 shall be accessed by http://mydomain/jbc/&lt;br /&gt;
 ProxyPass /lbc/ http://127.0.0.1:8332/&lt;br /&gt;
 #&lt;br /&gt;
 # If RPC.url is a relative path (i.e. RPC.url : lbc/),&lt;br /&gt;
 # bitcoind at 127.0.0.1 shall be accessed by http://mydomain/jbc/lbc/&lt;br /&gt;
 ProxyPass lbc/ http://127.0.0.1:8332/&lt;br /&gt;
 # &lt;br /&gt;
 # Apache can also proxy your access to any other IP by&lt;br /&gt;
 # accessing to http://mydomain/jbc&lt;br /&gt;
 ProxyPass /lbc/ http://www.worldbank.org:8332/&lt;br /&gt;
&lt;br /&gt;
Please, note you are *not* required to set into the settings.json file the pair rcpuser/rcppassword. The required header with Basic Authentication is automatically generated by Apache when proxing, thanks for the above Auth directives.&lt;br /&gt;
&lt;br /&gt;
Set RPC.user=rcpuser and RPC.password=rcppassword in the settings.json file if you are not able to configure your Apache webser; for instance, people using hosting instead of virtual or dedicated server. But, please, '''keep in mind''' settings.json file can be read by everybody: http://mydomain/jbc/settings.json&lt;br /&gt;
&lt;br /&gt;
That's all. Restart your Apache web server.&lt;br /&gt;
&lt;br /&gt;
=== Other interesting Apache directives: ===&lt;br /&gt;
&lt;br /&gt;
To redirect all HTTP to HTTPS (of course, you need a well-configured ssl site).&lt;br /&gt;
!!! SSL access '''is extremely recommended''' to protect your Bitcoin data.&lt;br /&gt;
 RewriteCond %{HTTPS} off&lt;br /&gt;
 RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}&lt;br /&gt;
&lt;br /&gt;
To avoid your log file from flooding&lt;br /&gt;
 SetEnvIf Request_URI &amp;quot;^/jbc/&amp;quot; dontlog&lt;br /&gt;
 SetEnvIf Request_URI &amp;quot;^/lbc/&amp;quot; dontlog&lt;br /&gt;
 CustomLog myfile.log combined env=!dontlog&lt;br /&gt;
&lt;br /&gt;
Finally, if you go in trouble, check proper access to bitcoin daemon with curl:&lt;br /&gt;
 curl --trace-time --trace-ascii - \&lt;br /&gt;
 --data-binary '{&amp;quot;jsonrpc&amp;quot;: &amp;quot;1.0&amp;quot;, &amp;quot;id&amp;quot;:&amp;quot;curltest&amp;quot;, &amp;quot;method&amp;quot;: &amp;quot;getinfo&amp;quot;, &amp;quot;params&amp;quot;: [] }' \&lt;br /&gt;
 --header 'content-type: text/plain;'\&lt;br /&gt;
 http://myuser:mypass@127.0.0.1:8332/&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
&lt;br /&gt;
[http://bitcoin.it/ http://bitcoin.it/]&lt;br /&gt;
[[Category:Mobile]]&lt;br /&gt;
==See Also on BitcoinWiki==&lt;br /&gt;
* [[Plaza Systems]]&lt;br /&gt;
* [[Ehab]]&lt;br /&gt;
* [[Ensygnia]]&lt;br /&gt;
* [[VIARIUM]]&lt;br /&gt;
* [[AQUA]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>