BasiliskEngine / mongoose

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

'root' does not seem to accept a relative path #66

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In config file: root . (or root ./)

What is the expected output? What do you see instead?

The same directory that Mongoose is in should be served as the root, like
is implied for the access and error logs. I believe it serves C:\ (Windows)
by default.

What version of the product are you using? On what operating system?

Mongoose 2.6 on Windows XP Home SP3.

Please provide any additional information below.

cgi_interp seems to accept a correct relative path.

Original issue reported on code.google.com by googl...@springtimesoftware.com on 28 Jun 2009 at 4:35

GoogleCodeExporter commented 8 years ago
It would be useful to specify the root as "." because then a config file could 
be
copied from one directory to another and serve files wherever it is run. Other
relative paths could be useful, too.

Original comment by googl...@springtimesoftware.com on 22 Jul 2009 at 11:56

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/mongoose/source/detail?r=457 submitted.
However, the same behaviour could be achieved with current version.
If you do not specify "root" option at all, the default is current directory.

Please sync and verify the fix, reopen the bug if not happy.

Original comment by valenok on 24 Jul 2009 at 4:12

GoogleCodeExporter commented 8 years ago
Yes, that works. If allowing a relative path is too difficult, don't worry about
this, probably most users will be happy with an absolute path.

Original comment by googl...@springtimesoftware.com on 24 Jul 2009 at 1:01