<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://test.amule.szerverem.hu/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=79.9.231.11</id>
		<title>AMule Project FAQ - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://test.amule.szerverem.hu/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=79.9.231.11"/>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/Special:Contributions/79.9.231.11"/>
		<updated>2026-04-05T19:14:18Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>http://test.amule.szerverem.hu/wiki/AMuleWeb</id>
		<title>AMuleWeb</title>
		<link rel="alternate" type="text/html" href="http://test.amule.szerverem.hu/wiki/AMuleWeb"/>
				<updated>2008-08-12T09:10:59Z</updated>
		
		<summary type="html">&lt;p&gt;79.9.231.11: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;center&amp;gt;'''English''' | [[AMuleWeb-de|Deutsch]] | [[AMuleWeb-it|Italiano]] &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''aMuleWeb''' is a utility that allows you to control aMule by means of a web browser from any location. The web interface offers a subset of aMule functionality, including searching for files, initializing downloads, and viewing your download queue. It also displays status information and allows you to change certain options.&lt;br /&gt;
&lt;br /&gt;
aMule itself doesn't support [http://www.w3.org/MarkUp HTTP] connections; aMuleWeb, which does, therefore serves as an intermediary between aMule and a web browser. Once the link between aMuleWeb and a remote user is established, it connects to aMule via the [[External Connections]] interface.&lt;br /&gt;
&lt;br /&gt;
By default, aMuleWeb listens for HTTP connections at port 4711, but this can be changed in [[Usage Preferences|Preferences]]'.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Standard ports ==&lt;br /&gt;
&lt;br /&gt;
The ports can be set to anything, but by default aMule uses:&lt;br /&gt;
&lt;br /&gt;
*External Connections: 4712&lt;br /&gt;
*amuleweb: 4711&lt;br /&gt;
&lt;br /&gt;
Make sure you do not confuse the two; in the default configuration, it looks like this: &lt;br /&gt;
&lt;br /&gt;
aMule --&amp;amp;gt; &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;4712&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt; --&amp;amp;gt; aMuleWeb --&amp;amp;gt; &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;4711&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt; --&amp;amp;gt; web browser&lt;br /&gt;
&lt;br /&gt;
== Template (skin) location ==&lt;br /&gt;
&lt;br /&gt;
aMuleWeb looks for its files in a number of places:&lt;br /&gt;
&lt;br /&gt;
*In your home directory: ''$HOME/.aMule/webserver/''&amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt;skin name&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt;''/''&lt;br /&gt;
&lt;br /&gt;
*And at its install location, in this order (by default, ''/usr/local/share/amule/webserver'' if you compiled aMule, or ''/usr/share/amule/webserver'' if you installed it from a package).&lt;br /&gt;
&lt;br /&gt;
Default template name is 'default'.&lt;br /&gt;
&lt;br /&gt;
If, ''after installing'' aMule, aMuleWeb refuses to run because of not being able to load template:&lt;br /&gt;
&lt;br /&gt;
*Please report this situation to us, and then&lt;br /&gt;
&lt;br /&gt;
*Create the directories ''webserver/default'' in the ''.aMule'' subdirectory of your home directory, and copy the contents of the ''src/webserver'' directory there from the aMule tarball (ie, ''$HOME/.aMule/webserver/default'').&lt;br /&gt;
&lt;br /&gt;
== aMuled and aMuleWeb as services  ==&lt;br /&gt;
&lt;br /&gt;
Although starting aMuleWeb by enabling it in aMule's preferences is the preferred method, you can also run aMuleWeb together with aMuled as as services by means of an init.d script. Here is an example:&lt;br /&gt;
&lt;br /&gt;
''/etc/init.d/amule''&lt;br /&gt;
&lt;br /&gt;
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin&lt;br /&gt;
 DAEMON=/usr/bin/amuled&lt;br /&gt;
 WEB=/usr/bin/amuleweb&lt;br /&gt;
 NAME=amuled&lt;br /&gt;
 DESC=amuled&lt;br /&gt;
 RUNAMULE=no&lt;br /&gt;
 USER=youramuleuser&lt;br /&gt;
 &lt;br /&gt;
 test -x $DAEMON || exit 0&lt;br /&gt;
 &lt;br /&gt;
 # Include amule defaults if available&lt;br /&gt;
 if &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt; -f /etc/default/amule &amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt; ; then&lt;br /&gt;
     . /etc/default/amule&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 if &amp;lt;nowiki&amp;gt;[&amp;lt;/nowiki&amp;gt; &amp;quot;$RUNAMULE&amp;quot; != &amp;quot;yes&amp;quot; &amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt; ; then&lt;br /&gt;
     echo &amp;quot;Amule not to be started. Edit /etc/default/amule first.&amp;quot;&lt;br /&gt;
     exit 1&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 set -e&lt;br /&gt;
 &lt;br /&gt;
 case &amp;quot;$1&amp;quot; in&lt;br /&gt;
   start)&lt;br /&gt;
     echo -n &amp;quot;Starting $DESC: &amp;quot;&lt;br /&gt;
        su $USER -c &amp;quot;$DAEMON -f&amp;quot;&lt;br /&gt;
        while ! netstat -l -n -p -t | grep -q amuled ; do sleep 1 ; done&lt;br /&gt;
        su $USER -c &amp;quot;$WEB --quiet &amp;amp;amp;&amp;quot;&lt;br /&gt;
     echo &amp;quot;$NAME.&amp;quot;&lt;br /&gt;
     ;;&lt;br /&gt;
   stop)&lt;br /&gt;
     echo -n &amp;quot;Stopping $DESC: &amp;quot;&lt;br /&gt;
        killall --quiet --ignore-case $WEB&lt;br /&gt;
        killall --quiet --ignore-case $DAEMON&lt;br /&gt;
     echo &amp;quot;$NAME.&amp;quot;&lt;br /&gt;
     ;;&lt;br /&gt;
   restart|force-reload)&lt;br /&gt;
     echo -n &amp;quot;Restarting $DESC: &amp;quot;&lt;br /&gt;
        killall --quiet --ignore-case $WEB&lt;br /&gt;
        killall --quiet --ignore-case $DAEMON&lt;br /&gt;
     sleep 1&lt;br /&gt;
        su $USER -c &amp;quot;$DAEMON -f&amp;quot;&lt;br /&gt;
        while ! netstat -l -n -p -t | grep -q amuled ; do sleep 1 ; done&lt;br /&gt;
        su $USER -c &amp;quot;$WEB --quiet &amp;amp;amp;&amp;quot;&lt;br /&gt;
     echo &amp;quot;$NAME.&amp;quot;&lt;br /&gt;
     ;;&lt;br /&gt;
   *)&lt;br /&gt;
     N=/etc/init.d/$NAME&lt;br /&gt;
     echo &amp;quot;Usage: $N {start|stop|restart|force-reload}&amp;quot; &amp;amp;gt;&amp;amp;2&lt;br /&gt;
     exit 1&lt;br /&gt;
     ;;&lt;br /&gt;
 esac&lt;br /&gt;
 &lt;br /&gt;
 exit 0&lt;br /&gt;
&lt;br /&gt;
Then just set that script to be run at start up. On [[Debian]] this would be done with the following command:&lt;br /&gt;
&lt;br /&gt;
 update-rc.d amule defaults&lt;br /&gt;
&lt;br /&gt;
Then, for the daemons to start you just have to create a file ''/etc/default/amule'' which contains a single line:&lt;br /&gt;
&lt;br /&gt;
 RUNAMULE=yes&lt;br /&gt;
&lt;br /&gt;
== Where to report problems and questions? ==&lt;br /&gt;
&lt;br /&gt;
For Problems or Questions just report on http://forum.amule.org forum or join [[IRC]] channel [irc://irc.freenode.net/amule #amule] at [irc://irc.freenode.net irc.freenode.net]&lt;br /&gt;
&lt;br /&gt;
== Other sources of information ==&lt;br /&gt;
&lt;br /&gt;
Read the aMuleWeb man page, which is available in English, French, German, Hungarian and Spanish.&lt;br /&gt;
&lt;br /&gt;
For further information read the [[FAQ_webserver|aMuleWeb FAQ]].&lt;/div&gt;</summary>
		<author><name>79.9.231.11</name></author>	</entry>

	</feed>