Gonna try my luck on windows...
This commit is contained in:
parent
c8b402e004
commit
cd994f306a
11 changed files with 106 additions and 81 deletions
|
@ -3,8 +3,11 @@
|
|||
-- needs ScriptAlias from /home/c/diego/tec/luasocket/test/cgi
|
||||
-- to "/luasocket-test-cgi" and "/luasocket-test-cgi/"
|
||||
-- needs "AllowOverride AuthConfig" on /home/c/diego/tec/luasocket/test/auth
|
||||
|
||||
local socket = require("socket")
|
||||
|
||||
-- override protection to make sure we see all errors
|
||||
-- socket.protect = function(s) return s end
|
||||
|
||||
local http = require("http")
|
||||
local mime = require("mime")
|
||||
local url = require("url")
|
||||
|
@ -19,7 +22,7 @@ http.TIMEOUT = 10
|
|||
|
||||
local t = socket.gettime()
|
||||
|
||||
host = host or "diego.princeton.edu"
|
||||
host = host or "diego.student.princeton.edu"
|
||||
proxy = proxy or "http://localhost:3128"
|
||||
prefix = prefix or "/luasocket-test"
|
||||
cgiprefix = cgiprefix or "/luasocket-test-cgi"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue