~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to doc/notes/architecture.txt

  • Committer: mattgiuca
  • Date: 2007-12-10 03:44:43 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:17
design notes/architecture.txt: Figured out what to do with directories within
exec.

Show diffs side-by-side

added added

removed removed

Lines of Context:
292
292
  Python process which loads a mod_python handler, cgihandler or psphandler on
293
293
  the given file.
294
294
* HTTP errors for banned files.
295
 
 
296
 
 **Discussion**: The question remains how exec should handle directories. It
297
 
 *could* redirect to the browser, but this would only be feasible if the user
298
 
was logged in (exec is available to the public). I would prefer if it acted
299
 
like a web server, either presenting a basic directory listing (possibly
300
 
using part of the browser code), or just giving a HTTP 403 Forbidden error.
 
295
* When presented with a directory, it first tries to execute `__init__.py`
 
296
  (the default item for the directory). It could also look for `index.html` or
 
297
  `index.psp` if that failed. Failing that, it returns an HTTP 403 Forbidden
 
298
  error.
301
299
 
302
300
### Console ###
303
301