Commit 666b7ab4 authored by Mac Newbold's avatar Mac Newbold
Browse files

Add info about restructuring of defs and removal of wwwdefs files.

parent 09eb5852
......@@ -33,3 +33,59 @@ stoller 2003/03/29 10:23:30 MST
has not yet logged in and remembers to do so via the link at the top
of the page.
newbold 2003/04/02 15:24:48 MST
Modified files:
. configure defs-barb-emulab
defs-barb-mini defs-calfeld-emulab
defs-default defs-example
defs-kwebb-emulab defs-mini
defs-newbold-emulab defs-newbold-macdb
defs-newbold-mini defs-rchriste-emulab
defs-ricci-emulab defs-ricci-mini
defs-shash-emulab defs-shash-mini
defs-stoller-emulab defs-stoller-home
defs-stoller-mini defs-wide
Removed files:
www barb-emulab-defs.php3 barb-mini-defs.php3
default-defs.php3 example-defs.php3
kwebb-emulab-defs.php3 mini-defs.php3
stoller-mini-defs.php3 wide-defs.php3
Massive reworking of our structure for defs files.
The main defs file (ie for configure) had an entry for WWWDEFS that
pointed to a <@WWWDEFS@>-defs.php3 file in the www/ directory. The www
defs file loaded some values about web pages, URLs, and some web
configuration parameters.
Anything that was only in the www defs file was not accessible in the rest
of the universe (ie perl, C, and any other non-web-page scripts). For
instance, you couldn't have a perl script send an email to a user with a
link to the web site.
Nuke all the www-defs files, move any important values into the main
configure, and change the web defs infrastructure to respect that. This
also meant adding about 3 lines each to all of the configure defs files.
(There really are about 10 new values you can change in your defs file,
but in almost all cases, the default values are the right thing.)
External sites will need to move a few variables from their www-defs file
into their configure defs file. The example file should make it pretty
obvious. They may also want to customize some of the other vars that are
mentioned in and www/ .
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment