httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Fritsch ...@sfritsch.de>
Subject Re: [VOTE] Release Apache httpd 2.4.0
Date Tue, 17 Jan 2012 21:52:08 GMT
On Tuesday 17 January 2012, Graham Leggett wrote:
> %response
> perl cgi   r.uri = "/modules/lua/hello.lua"
>         return apache2.DECLINED
>     end
>     return apache2.DECLINED
> end
> 
> function translate_name2(r)
>     r:debug("translate_name2: " .. r.uri) 
>     local query = r:parseargs()
>     if (query.ok) then
>         r:debug("will return OK")
>     end
>     if query.translateme then
>         r.uri = "/modules/lua/hello2.lua"
>         if query.ok then
>           r.filename= r.document_root .. r.uri
>           return apache2.OK
>         end
>     end
>     return apache2.DECLINED
> end
> 
> '

This doesn't look right. It should look like this:

%response
perl cgiType
'

Do you have some lua magic configured in your httpd.conf? If yes, try 
removing it.

Mime
View raw message