summaryrefslogtreecommitdiff
path: root/AdminHome.mdwn
blob: 84cc7bdfce7d150ef3d11be33d42cf4096b271a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
## <a name="PSAS Administrator&#39;s Collaborati"></a> PSAS Administrator's Collaborative Webpage

----

This page was initially put together as quick notes from the Web page session 04/17/2002. Since then it has begun to grow.

The possibility of being slashdotted comes up from time to time. Some discussion may be found at [[SitePerformance]].

### <a name="Virtual Hosting Setup"></a> Virtual Hosting Setup

Here is virtual host map of the PSAS subdomains:

<table border=1 cellpadding=0 cellspacing=0>
  <tr>
    <th bgcolor="#99CCCC"><strong> URL </strong></th>
    <th bgcolor="#99CCCC"><strong> Gets mapped to the Twiki page </strong></th>
  </tr>
  <tr>
    <td><a href="http://psas.pdx.edu" target="_top">http://psas.pdx.edu</a></td>
    <td>[[PsasHome]]</td>
  </tr>
  <tr>
    <td><a href="http://admin.psas.pdx.edu" target="_top">http://admin.psas.pdx.edu</a></td>
    <td>[[AdminHome]]</td>
  </tr>
  <tr>
    <td><a href="http://airframe.psas.pdx.edu" target="_top">http://airframe.psas.pdx.edu</a></td>
    <td>[[AirframeTeamHome]]</td>
  </tr>
  <tr>
    <td><a href="http://avionics.psas.pdx.edu" target="_top">http://avionics.psas.pdx.edu</a></td>
    <td>[[AvionicsTeamHome]]</td>
  </tr>
  <tr>
    <td><a href="http://ground.psas.pdx.edu" target="_top">http://ground.psas.pdx.edu</a></td>
    <td>[[GroundTeamHome]]</td>
  </tr>
  <tr>
    <td><a href="http://logistics.psas.pdx.edu" target="_top">http://logistics.psas.pdx.edu</a></td>
    <td>[[LogisticsTeamHome]]</td>
  </tr>
  <tr>
    <td><a href="http://propulsion.psas.pdx.edu" target="_top">http://propulsion.psas.pdx.edu</a></td>
    <td>[[PropulsionTeamHome]]</td>
  </tr>
  <tr>
    <td><a href="http://schedule.psas.pdx.edu" target="_top">http://schedule.psas.pdx.edu</a></td>
    <td>[[Schedule]]</td>
  </tr>
  <tr>
    <td><a href="http://twiki.psas.pdx.edu" target="_top">http://twiki.psas.pdx.edu</a></td>
    <td>[[WebHome]]</td>
  </tr>
  <tr>
    <td><a href="http://intro.psas.pdx.edu" target="_top">http://intro.psas.pdx.edu</a></td>
    <td>[[Introduction]]</td>
  </tr>
  <tr>
    <td><a href="http://history.psas.pdx.edu" target="_top">http://history.psas.pdx.edu</a></td>
    <td>[[History]]</td>
  </tr>
</table>

### <a name="Website Structure"></a> Website Structure

The structure of the [[PSAS|PsasHome]] site is something like:

Main ([[PsasHome]]: main navigation, announcements)

- Introduction - The glossy brochure stuff
- Schedule - Scheduled meetings, history
- Projects - LV0, LV1, LV2, etc.
- Teams - Airframe, Avionics, Etc
- Resources - Links, papers, applications, etc.
- Contacts - address, email, maps, mailing lists

### <a name="TWiki Webs"></a> TWiki Webs

There are two TWiki Webs in use:

- PSAS - all the publicly-accessible project information:
  - readable to anyone who can browse into the site
  - editing and creating new topics require authentication
  - [[PSAS|PSAS/WebHome]] - standard twiki navigation point
  - [[PsasHome]] - the standard web page people get directed to
- Minutiae - private club information (phone lists, etc.)
  - all access including viewing requires authentication
  - [[Minutiae|Minutiae/WebHome]] - standard twiki navigation point

### <a name="Photo Gallery"></a> Photo Gallery

There's a photo and movie gallery, currently implemented using [Gallery](http://gallery.sourceforge.net/), at <http://psas.pdx.edu/gallery/>. There are some [[AdminTopics]] to consider when upgrading the gallery package.

Authentication is done using the same htpasswd file as TWiki. Gallery has its own authentication mechanism, but the only user in this configuration is "admin". Permissions are set so that everyone can modify the albums, and Apache access control is used to ensure that the pages that can modify things are inaccessible unless the user authenticates with HTTP authentication.

### <a name="Authenticating Group Members"></a> Authenticating Group Members

Authentication requires:

- [[TWikiRegistration]] to establish a Twiki User Name
- htpasswd authentication (Apache performs this)
- inclusion in [[PsasGroup]]

To add new group members to PSAS or to change someone's password, see [[AdminTopics]]

The [[PsasGroup]] is used for read and write access to the Minutiae Web, and for edit access to the PSAS Web. Configuration of these preferences can be found in the [[WebPreferences]] and [[WebPreferences]].

### <a name="Mailman Superlist psas-all"></a> Mailman Superlist psas-all

The [psas-all](http://lists.psas.pdx.edu/mailman/listinfo/psas-all) list is automatically generated as the union of all the addresses on all the other lists that start with the string "psas-", except the [psas-announce](http://lists.psas.pdx.edu/mailman/listinfo/psas-announce) list. This is accomplished with a cron job that runs every hour, located in /etc/cron.d/local:

        23 * * * * list /usr/local/sbin/gen-psas-all

The /usr/local/sbin/gen-psas-all script is:

        #!/bin/bash
        exec /usr/local/sbin/gen-combined-list \
            --match="^psas" --except="^psas-announce$" psas-all

the /usr/local/sbin/gen-combined-list is a bit large, and is attached below.

Setting up another similar superlist would just require a crontab entry and a helper shell script.

- [[gen-combined-list]]: bash script to generate combined mailman list