Anope Webcpanel

This module creates a web configuration panel that allows users and operators to perform any task as they could over IRC.

  • NOTE: Requires module m_httpd.
name= 
Name of module
server= 
Server process to use
template= 
Web page templates to use
title= 
Web page title
/*
 * webcpanel
 *
 * This module creates a web configuration panel that allows users and operators to perform any task
 * as they could over IRC. If you are using the default configuration you should be able to access
 * this panel by visiting http://127.0.0.1:8080 in your web browser from the machine Anope is running on.
 *
 * This module requires m_httpd.
 */
module
{
        name = "webcpanel"
 
        /* Web server to use. */
        server = "httpd/main";
 
        /* Template to use. */
        template = "default";
 
        /* Page title. */
        title = "Anope IRC Services";
}

/*
* m_httpd
*
* Allows services to serve web pages. By itself, this module does nothing useful.
*
* Note that using this will allow users to get the IP of your services.
* To prevent this we recommend using a reverse proxy or a tunnel.
*/

module
{
	name = "m_httpd"

	httpd
	{
		/* Name of this service. */
		name = "httpd/main"

		/* IP to listen on. */
		ip = "51.54.55.56"

		/* Port to listen on. */
		port = 8070

		/* Time before connections to this server are timed out. */
		timeout = 30

		/* Listen using SSL. Requires an SSL module. */
		ssl = no

		/* If you are using a reverse proxy that sends one of the
		 * extforward_headers set below, set this to its IP.
		 * This allows services to obtain the real IP of users by
		 * reading the forwarded-for HTTP header.
		 */
		#extforward_ip = "192.168.0.255"

		/* The header to look for. These probably work as is. */
		extforward_header = "X-Forwarded-For Forwarded-For"
	}
}

Apache Configuration

For using apache as a reverse proxy put following in your configuration: (does not work with .htaccess)

SetOutputFilter proxy-html
# www.anope.org/cpanel/
ProxyPass /cpanel/ http://192.168.1.2:8070/
ProxyPassReverse /cpanel/ http://192.168.1.2:8070/
ProxyPassReverseCookiePath / /cpanel/
<Location /cpanel/>
	SetOutPutFilter proxy-html
	ProxyHTMLExtended On
	ProxyHTMLURLMap ^/(?!/) /cpanel/ R
</Location>

If you open your browser and type your server IP:8070 it should look like this: SiSrv IRC Services Panel

And that's it!

Did this tutorial help? How about buy me a cup of coffee?

  • anope webpanel, webpanel, webcpanel, anope webcpanel, anope panel
  • 70 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

How to install Anope Services

Anope is a set of IRC Services designed for flexibility and ease of use. Anope is available in...

How to upgrade Anope 2.x

Anope is an open source set of IRC Services. It is highly modular, with a vast number of...

How to install Anope 2 Modules

Anope Modules are a quick and easy way to add or change the functionality of the main Anope...

Nickname Registration

Nickname RegistrationYour nick is how people on SiSrv know you. If you register it, you'll be...

ChanServ Commands

NOTE: Some IRC servers provide an alias for '/msg ChanServ' where you can use '/cs' or...

Powered by WHMCompleteSolution