Giter Site home page Giter Site logo

syshack / wifidog_authserver_demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joyeboy/wifidog_authserver_demo

0.0 1.0 0.0 1.74 MB

wifidog 认证服务器的基本demo,配合官方的wifidog 及v1 协议使用! (基于 CodeIgniter 2.1.4 框架构建!)

ApacheConf 0.02% PHP 96.28% HTML 0.28% CSS 2.02% JavaScript 1.40%

wifidog_authserver_demo's Introduction

wifidog_authserver_demo

wifidog 认证服务器的基本demo,配合官方的wifidog 及v1 协议使用! (基于 CodeIgniter 2.1.4 框架构建!)

注: 本demo 主要用来说明 auth server 和wifidog的交互接口以及wifidog认证的基本流程!
能够完成wifidog认证的基本流程,但是不具备任何高级管理功能!

简单部署步骤

	1.将项目文件放到http服务器 htdoc目录之后,通过几个关键页面比如http://domain/index.php/wifidog/login http://domain/index.php/wifidog/ping 看返回是否正常来判断是否成功运行,页面返回错误,就要检查http服务器以及文件放置位置是否正确
	2.此时服务器的对外wifidog接口为<br />
			/index.php/wifidog/login
			/index.php/wifidog/ping
			/index.php/wifidog/auth
			/index.php/wifidog/portal
	3.修改wifidog配置文件,将几个关键路径url修改如下
	
			AuthServer {
				Hostname gw.freeap.net
				SSLAvailable no
				Path /index.php/wifidog/
			}
	4.如果需要配置成wifidog默认的路径,请调整CI路由、apache rewrite规则、.htaccess 规则、nginx规则等配置文档
	5.有问题首先参考CI文档或CI不同环境下的部署文档

反馈问题请加qq群:331230369 ,验证:github

wifidog_authserver_demo's People

Contributors

walkingsky avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.