CGI Programing
Current Working Directory
If URI ishttp://pegasus.goodwill.com/somepath/somethingthen current working directory is as follows:
- if
something
is a directory, then/doc/somepath/something
- if
something
is a file, then/doc/somepath
- if
something
is not exist, then/doc
somepath
is a path to a directory in which "/
" may be contained.