mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
added TiddlyWiki page
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@65 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
@ -49,7 +49,7 @@ config CONFIG_HTTP_WEBROOT
|
||||
|
||||
config CONFIG_HTTP_TIMEOUT
|
||||
int "Timeout"
|
||||
default 5
|
||||
default 300
|
||||
help
|
||||
Set the timeout of a connection in seconds.
|
||||
|
||||
|
68
httpd/README
68
httpd/README
@ -1,68 +0,0 @@
|
||||
|
||||
axhttpd is a small embedded web server using the axTLS library.
|
||||
|
||||
It is based originally on the web server written by Doug Currie which is at:
|
||||
http://www.hcsw.org/awhttpd.
|
||||
|
||||
*****************************************************************************
|
||||
* axhttpd Features *
|
||||
*****************************************************************************
|
||||
|
||||
Basic Authentication
|
||||
====================
|
||||
|
||||
Basic Authentication uses a password file called ".htpasswd", in the
|
||||
directory to be protected. This file is formatted as the familiar
|
||||
colon-separated username/encrypted-password pair, records delimited by
|
||||
newlines. The protection does not carry over to subdirectories. The
|
||||
utility program htpasswd is included to help manually edit .htpasswd files.
|
||||
|
||||
The encryption of this password uses a proprietary algorithm due to the
|
||||
dependency of many crypt libraries on DES.
|
||||
|
||||
An example is in /test_dir/ssl_only (username 'abcd', password is '1234').
|
||||
|
||||
Note: This is an mconf configuration option.
|
||||
|
||||
SSL Protection
|
||||
====================
|
||||
|
||||
Directories/files can be accessed using the 'http' or 'https' uri prefix. If
|
||||
normal http access for a directory needs to be disabled, then put
|
||||
"SSLRequireSSL" into a '.htaccess' file in the directory to be protected.
|
||||
|
||||
Conversely, use "SSLDenySSL" to deny access to directories via SSL.
|
||||
|
||||
An example is in /test_dir/no_http and /test_dir/no_ssl.
|
||||
|
||||
Entire directories can be denied access with a "Deny all" directive
|
||||
(regardless of SSL or authentication).
|
||||
|
||||
CGI
|
||||
===
|
||||
|
||||
chroot() is now used for added security. However this has the impact of
|
||||
removing the regular filesystem, so any CGI applications no longer have the
|
||||
usual access (to things like /bin, /lib etc).
|
||||
|
||||
So any executables and libraries need to be copied into webroot.
|
||||
|
||||
Failure to do so will result in mystical blank screens (and probably hundreds
|
||||
of axhttpd instances being created...).
|
||||
|
||||
Directory Listing
|
||||
=================
|
||||
|
||||
An mconf option. Allow the files in directories to be displayed.
|
||||
|
||||
Permissions Checking
|
||||
=====================
|
||||
|
||||
An mconf option. This will display the various file permissions to standard
|
||||
output of files in web root.
|
||||
|
||||
Other Features
|
||||
==============
|
||||
|
||||
Check the help options in mconf for all the other features used.
|
||||
|
Reference in New Issue
Block a user