[Web-SIG] file system configuration.
renesd at gmail.com
Tue Jul 26 02:34:10 CEST 2005
What about apache style configuration, that uses the file system.
It works quite well, and can be understood by all those people using
You can have the main configuration done where-ever, but allowing
people to add in specific configuration at any part in the url by
simply adding a .htaccess file can make doing things really easy.
eg. here is a basic website url structure.
I drop a config file into / to implement the website.
Now I drop a config file into /admin which uses some sort of auth scheme.
I can drop a .htaccess into images to do:
1. gallery application, to make viewing of the images by thumbnmails easier.
- configure the gallery application(thumbnail size, etc)
2. do not allow linking to images from other sites(by checking referer tags).
By making another directory inside the directory structure you create
another path which can be configured by these config files. If the
top level application made a members/ url, and you want to add auth to
it, you make a members/ directory and edit the config files in it.
More information about the Web-SIG