beemoboy / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

Handling of URLs with .lp in the path #394

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. set up mongoose
2. create a .lp page
3. go to http://localhost:8080/page.lp and see expected output
4. go to http://localhost:8080/page.lp/foo and get a 404 error

What is the expected output?

serve of page.lp (with the original url accessible through the request_info lua 
global)

What do you see instead?

Error 404: Not Found
File not found

What version of the product are you using? On what operating system?
mongoose-3.7 on Windows 7 x64

Please provide any additional information below.
This is very similar to issue 108 which was about CGI scripts.

Open to discussion. The end goal is to be able to use the awesome LUA support 
mongoose has like one would with cgi scripts.

Original issue reported on code.google.com by emmanuel...@gmail.com on 5 Mar 2013 at 5:01

GoogleCodeExporter commented 9 years ago
Lua page is not a CGI though.
I don't plan to support path_info  for lua pages.

Original comment by valenok on 8 Mar 2013 at 12:17