Hi,
I'm using Anope 1.9.9
# modules.confmodule { name = "help" }
module
{
name = "m_httpd"
httpd
{
name = "httpd/main"
ip = "SHELL-IP"
port = 7880
timeout = 30
#ssl = yes
}
}
module
{
name = "m_xmlrpc"
server = "httpd/main"
}
module { name = "m_xmlrpc_main" }
module {
name = "m_helpchan"
helpchannel = "#help" }
module {
name = "m_mysql"
mysql
{
# MYSQL DATA
}
}
module { name = "m_regex_pcre" }
module { name = "m_regex_posix" }
#module { name = "m_regex_tre" }
#module { name = "m_ssl" cert = "data/anope.crt" key = "data/anope.key" }
I'm using this .php example:
https://github.com/anope/anope/blob/1.9/docs/XMLRPC/xmlrpc.phpWith $anopexmlrpc = new AnopeXMLRPC("
http://SHELL-IP:7880/xmlrpc"); // Tried with and without /xmlrpc
Scanning open port on 7880 results open port. If I go through xmlrpc.php file I'm getting error file_get_contents 404 Not Found (like in topic title).
If I go directly in
http://SHELL-IP:7880 there's message "Page not found"
Here's list of modules:[17:38:08] -OperServ- Current module list:
[17:38:08] -OperServ- Module: inspircd20 [1.9.9] [Protocol, Vendor]
[17:38:08] -OperServ- Module: db_sql_live [1.9.9] [Database, Vendor]
[17:38:08] -OperServ- Module: enc_md5 [1.9.9] [Encryption, Vendor]
[17:38:08] -OperServ- Module: m_httpd [1.9.9] [Vendor, Extra]
[17:38:08] -OperServ- Module: m_xmlrpc [1.9.9] [Vendor, Extra]
[17:38:08] -OperServ- Module: m_xmlrpc_main [1.9.9] [Vendor, Extra]
[17:38:08] -OperServ- Module: m_mysql [1.9.9] [Vendor, Extra]
[17:38:08] -OperServ- Module: m_regex_pcre [1.9.9] [Vendor, Extra]
[17:38:08] -OperServ- Module: m_regex_posix [1.9.9] [Vendor, Extra]
[17:38:08] -OperServ- 9 modules loaded.
./services -debug=2 -nofork produces this:
[Dec 26 08:40:04.132900 2013] Debug: Accepted connection 14 from WEB-IP
[Dec 26 08:40:04.133112 2013] Debug: Top of main loop
[Dec 26 08:40:04.133196 2013] Debug: HTTP from WEB-IP: POST / HTTP/1.0
[Dec 26 08:40:04.133265 2013] Debug: Top of main loop
[Dec 26 08:40:04.208018 2013] Debug: HTTP from WEB-IP: Host: SHELL-IP:7880
[Dec 26 08:40:04.208083 2013] Debug: HTTP from WEB-IP: Content-Length: 336
[Dec 26 08:40:04.208157 2013] Debug: HTTP from WEB-IP: Content-Type: text/html
[Dec 26 08:40:04.208209 2013] Debug: HTTP POST from WEB-IP: <?xml version: "1.0" encoding="iso-8859-1"?>
<methodCall>
<methodName>command</methodName>
<params>
<param>
<value>
<string>nickserv</string>
</value>
</param>
<param>
<value>
<string>nickname</string>
</value>
</param>
<param>
<value>
<string>identify passwd</string>
</value>
</param>
</params>
</methodCall>
[Dec 26 08:40:04.208422 2013] Debug: Top of main loop
[Dec 26 08:40:04.208505 2013] Debug: Top of main loop
[Dec 26 08:40:04.208558 2013] Debug: Top of main loop
[Dec 26 08:40:04.208615 2013] Debug: Top of main loop
[Dec 26 08:40:04.208662 2013] Debug: Top of main loop
[Dec 26 08:40:04.208709 2013] Debug: Top of main loop
[Dec 26 08:40:04.208759 2013] Debug: Top of main loop
[Dec 26 08:40:04.208837 2013] Debug: Top of main loop
[Dec 26 08:40:04.208895 2013] Debug: Top of main loop
[Dec 26 08:40:04.358578 2013] Debug: Closing connection 14 from WEB-IP
If you need anything else, feel free to ask
Best regards.