The test directory!
parent
cf4d923d70
commit
307603b24d
|
@ -0,0 +1,4 @@
|
|||
AuthName "Test Realm"
|
||||
AuthType Basic
|
||||
AuthUserFile /home/diego/tec/luasocket/test/auth/.htpasswd
|
||||
require valid-user
|
|
@ -0,0 +1 @@
|
|||
luasocket:JFMQjUyOPu3yk
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
|
||||
cat > /tmp/luasocket.cat.tmp
|
||||
cat /tmp/luasocket.cat.tmp
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
|
||||
cat ../index.html
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
|
||||
env
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
echo $QUERY_STRING
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
echo Location: http://$HTTP_HOST$REQUEST_URI
|
||||
echo
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
echo Content-type: text/plain
|
||||
echo
|
||||
echo $REQUEST_URI
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,15 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>POST test</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form action='http://localhost/luasocket-cgi-bin/cat-stdin' enctype='multipart/form-data' method=POST>
|
||||
<center>
|
||||
<input type="file" name="attach">
|
||||
<p>
|
||||
<input type=submit name=sendmail value="send">
|
||||
</center>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue