[Tutor] cgi server default directory

Kirk Bailey idiot1 at netzero.net
Sun Sep 28 11:55:09 EDT 2003


Steve, how do redefine the default folder the thing referrs to as it's webpage 
root? Having this live in the same dir as the pages can create confusion for 
less experienced users- but the script definition does not declare a path, but 
instead assumes it's path. Would it be hard to modify things so the cgiserver 
would referr to a internally defined folder- OR, to one defined by a external 
config file? Internally might be easier. Assume there is a dir UNDER the 
script's place of residence, and we call it 'webpage' or 'www' or 'root', and 
that is the root of the web accessable tree, with ALL accessable directories 
under it. This makes the server a bit more secure, and less confusing. Outisde 
users cannot acces host system files, or anything else above the web root dir, 
and one structures local sites off that directory normally- and don't place 
anything in the subtree you would not want amalicious person to be able to 
access. Any thoughts on this?
-- 

end

Cheers!
         Kirk D Bailey

  +                              think                                +
   http://www.howlermonkey.net  +-----+        http://www.tinylist.org
   http://www.listville.net     | BOX |  http://www.sacredelectron.org
   Thou art free"-ERIS          +-----+     'Got a light?'-Prometheus
  +                              kniht                                +

Fnord.




More information about the Tutor mailing list