From b347c40cfa4b5ee3aaf4beaeab1e63cf12f85774 Mon Sep 17 00:00:00 2001 From: Anders H Kaseorg Date: Wed, 11 Feb 2009 05:17:31 -0500 Subject: [PATCH] Updates to the directory layout. --- projects/www.mdwn | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/projects/www.mdwn b/projects/www.mdwn index 421c865..8dd1b0b 100644 --- a/projects/www.mdwn +++ b/projects/www.mdwn @@ -35,18 +35,7 @@ ###When a request comes in: a connection comes in for sipb.mit.edu which via a hack in MIT DNS gets directed instead to PENGUIN-LUST.MIT.EDU. If its on ports 80, (443?), or 444 it gets passed off to scripts (where it's handled by b-m or b-k, whichever). -scripts has a special vhost config (/etc/httpd/vhost.d/sipb.conf) for -sipb.mit.edu: - - DocumentRoot /afs/sipb.mit.edu/project/sipb-www/web_scripts/wiki - Alias /doc /afs/sipb.mit.edu/project/sipb-www/web_scripts/doc - Alias /iap /afs/sipb.mit.edu/project/sipb-www/web_scripts/iap - Alias /cgit /afs/sipb.mit.edu/project/sipb-www/web_scripts/cgit - Alias /~sipb-www /afs/sipb.mit.edu/project/sipb-www/web_scripts - -For our purposes the key line is the first, meaning that URIs not -falling into an exception are served straight out of -web_scripts/wiki/. This directory's contents are generated by ikiwiki +The DocumentRoot for sipb.mit.edu is /afs/sipb.mit.edu/project/sipb-www/web_scripts/sipb. This directory contains a .htaccess file that causes most URIs to be served out of web_scripts/sipb/_wiki, a symlink to ../../Scripts/wiki. This directory's contents are generated by ikiwiki after each edit, consisting of HTML files and a program ikiwiki.cgi. ###For development's sake: @@ -67,6 +56,7 @@ To work on the code surrounding the wiki in addition to the wikitext, clone the . |-- Scripts + | |-- wiki: the published HTML that you are being served right now | \-- writable: directory containing files writable by scripts | dotfiles such as .bash_history are symlinked here |-- arch @@ -91,11 +81,11 @@ To work on the code surrounding the wiki in addition to the wikitext, clone the | |-- RCS: .htaccess must be versioned | |-- cgit: what you look at when you click on "History" | |-- doc: the old Trac wiki - | |-- iap -> /mit/sipb-iap/www | |-- radiant: old and irrelevant | |-- rtfm: contains an index.html identical to rtfm.html below - | |-- rtfm.html: served for rtfm.mit.edu:80 - | `-- wiki: the published HTML that you are being served right now + | |-- sipb: the document root for sipb.mit.edu + | | `-- _wiki -> ../../Scripts/wiki + | `-- wiki -> ../Scripts/wiki |-- web_scripts_tmp: old directory around to keep trac up-to-date. Should | vanish sooner or later `-- wiki.git: this is where all the content lives as markdown. -- 2.45.1