index.tcl
If static pages fs_root is set to a directory which exists in www/ then display the static files at the fs_root for this instance. Otherwise simply redirect to admin. this makes it possible to e.g. create a static doc tree for a community mounted at example.com/c1 and if fs_root is set to /www/c1/static and static pages is mounted at example/c1/static then the files in the static tree can simply be browsed. It should probably check for a /www/c1/static/index.html or index.htm page though.
- Location:
- /packages/static-pages/www/index.tcl
- Author:
- Jeff Davis <davis@xarg.net>
- Created:
- 2001-02-23
- CVS ID:
$Id: index.tcl,v 1.4 2018/05/21 16:40:47 gustafn Exp $
Related Files
[ show source ]