1.show the config file path.
cgi-proxy -c
Config options
RSCGIPrefix
Real server interface prefix, if entire interface is 'www.test.com/getmoney',
prefix is 'www.test.com'
RSCGIMethod
No use, haha~~ I'll finish it soon
extraCookie
You can add cookie for origin http request.
(exp : "skey=123123;haha=123123;")
localResourceDir
Local static resource dir, for your html/css/img...
(exp : "/Applications/XAMPP/xamppfiles/htdocs/qqexpert/QQExpert")
localListenPort
Local node proxy server port.
(exp : 2222)
localListenRouter
Local node proxy server router path,
you can access proxy server by "localListenRouter" and "localListenPort"
exp:
"localListenPort" 2222
"localListenRouter" cgibin
Local node proxy cgi exp is '127.0.0.1:2222/cgibin/'+[interface name]
specialProxy
Special proxy interface list, you can appoint some interface's proxy rule,
most interfaces proxy to real server, some interfaces can use other test server
exp:
"getmoney": "http://127.0.0.1:3333/getmoney"
2.start service
cgi-proxy -s
start cgi-proxy service, the proxy url info will show in console...though it's in chinese