Skip to content
This repository
tree: dddce5e02d
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 72 lines (58 sloc) 1.279 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
##
## Simple configuration file to test pion-net web services
##

## Adds path to compiled web services built from source tarball
##
path ../services/.libs

## Hello World Service
##
service /hello HelloService

## Service to echo requests
##
service /echo EchoService

## Service to display & update cookies
##
service /cookie CookieService

## Service to display log events
##
service /log LogService

## Service to serve pion-net documentation
##
service /doc FileService
option /doc directory=../../net/doc/html
option /doc file=../../net/doc/html/index.html
option /doc cache=2
option /doc scan=3

## Use testservices.html as an index page
##
service /index.html FileService
option /index.html file=../../net/utils/testservices.html
##
service / FileService
option / file=../../net/utils/testservices.html

## Service to demonstrate Authentication interface
##
service /auth EchoService

##
## define type of authentication
##
## MUST be a first command in configuration file
## auth type can be defined once and only once!
##
auth cookie

##
## Add /auth resource to set of password protected
##
restrict /auth

##
## Add /protected resource to set of password protected
##
restrict /protected

##
## define user
##
user stas 123456

##
## define user
##
user mike 123456
Something went wrong with that request. Please try again.