mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
finished authentication, implemented port/dir protection
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@60 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
@ -3,10 +3,10 @@
|
||||
echo "Content-Type: text/html"
|
||||
echo
|
||||
echo "<html><title>System Health</title><body>"
|
||||
echo "<h1>System Health for '`hostname`'</h1>"
|
||||
echo "<h1>System Health for '`/bin/hostname`'</h1>"
|
||||
echo "<h2>Processes</h2><table border=\"2\">"
|
||||
ps -ef | sed -e "s/\(.*\)/<tr><td>\1<\/td><\/tr>/"
|
||||
/bin/ps -ef | /bin/sed -e "s/\(.*\)/<tr><td>\1<\/td><\/tr>/"
|
||||
echo "</table><h2>Free FileSystem Space</h2>"
|
||||
echo "<table border=\"2\">"
|
||||
df -h . | sed -e "s/\(.*\)/<tr><td>\1<\/td><\/tr>/"
|
||||
/bin/df -h / | /bin/sed -e "s/\(.*\)/<tr><td>\1<\/td><\/tr>/"
|
||||
echo "</table></body></html>"
|
||||
|
2
www/test_dir/prot/.htaccess
Normal file
2
www/test_dir/prot/.htaccess
Normal file
@ -0,0 +1,2 @@
|
||||
SSLRequireSSL
|
||||
|
1
www/test_dir/prot/.htpasswd
Normal file
1
www/test_dir/prot/.htpasswd
Normal file
@ -0,0 +1 @@
|
||||
abcd:CQhgDPyy0rvEU8OMxnQIvg==$YdJfIKZimFLYxPf/rbnhtQ==
|
6
www/test_dir/prot/index.html
Normal file
6
www/test_dir/prot/index.html
Normal file
@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<head><title>axhttpd is running</title></head>
|
||||
<body>
|
||||
Looks like you got to this directory.
|
||||
</body>
|
||||
</htm>
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/php
|
||||
#!/bin/php
|
||||
|
||||
<?
|
||||
phpinfo();
|
||||
|
Reference in New Issue
Block a user