ufairiya / mongoose

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

SCRIPT_NAME is trucated when directory is an alias #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run mongoose -root /usr/local/www/data -alias
/folder1=/usr/local/www/folder1/cgi-bin
2. put printenv.cgi to folder1/cgi-bin
3. open http://site.name/folder1/printenv.cgi
4. look to SCRIPT_NAME value: "er1/printenv.cgi"

In this example: len("er1") = len("folder1") - len("data").

Original issue reported on code.google.com by ilya.evseev on 5 Jul 2009 at 7:27

GoogleCodeExporter commented 9 years ago

Original comment by valenok on 5 Jul 2009 at 7:28

GoogleCodeExporter commented 9 years ago
Submitted http://code.google.com/p/mongoose/source/detail?r=458

Original comment by valenok on 24 Jul 2009 at 10:05