If I run mongoose in the current directory an put the main.lp in a lower
directory (e.g. test) I have to set the document_root to test. This is
obvious.
So I can access it with: localhost:8080/main.lp
But if I use the relative path as below it doesn't work.
<?
local f=io.open('..\\mongoose-4.1.exe',"r")
if f~=nil
then
io.close(f)
mg.write('FOUND\n')
else
mg.write('NOT FOUND\n')
end
?>
It works if I change it to '.\\mongoose-4.1.exe'. I'm surprised that it's
not referring to the document_root, but the location where mongoose was
started.
--
You received this message because you are subscribed to the Google Groups
"mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/groups/opt_out.