| Both sides previous revisionPrevious revisionNext revision | Previous revision | 
| balug:webmaster [2010-02-24T06:03:02+0000]  – simplified: removed /var/www/secure.balug.org, and other edits michael_paoli | balug:webmaster [2010-04-01T13:49:08+0000] (current)  – slightly tweak/clarify a description michael_paoli | 
|---|
| high-level reminder/synopsis points: | high-level reminder/synopsis points: | 
| ***production**: | ***production**: | 
| *access (e.g. via sudo - shouldn't log into it directly) id **balugwm1** on **webmaster.balug.org** (e.g.:\\ %%$ ssh -atx -l %%//your_login//%% webmaster.balug.org. 'umask 077 && cd / && exec sudo su - balugwm1'%%\\ ) | *access (e.g. via sudo - shouldn't log into it directly) id **balugwm1** on **webmaster.balug.org**, e.g.:\\ %%$ ssh -atx -l %%//your_login//%% webmaster.balug.org. 'umask 077 && cd / && exec sudo su - balugwm1'%% | 
| *key production areas: | *key production areas: | 
| */var/www/**www**.balug.org/ (**main production** area, see also **production synchronization** further below, //serves at least//: | */var/www/**www**.balug.org/ (**main production** area, see also **production synchronization** further below, //serves at least//: | 
| *[[http://www.balug.org/]] | *[[http://www.balug.org/]] | 
| *[[https://secure.balug.org/]] ([[http://secure.balug.org/]] "forces" (redirects) to https)\\ ) | *[[https://secure.balug.org/]] ([[http://secure.balug.org/]] "forces" (HTTP 301 redirects) to https)\\ ) | 
| */var/www/**www.archive**.balug.org/ (**archival/historical** content - generally also "too big" (at least in total) to replicate across all %%www%%.balug.org server(s)) | */var/www/**www.archive**.balug.org/ (**archival/historical** content - generally also "too big" (at least in total) to replicate across all %%www%%.balug.org server(s)) | 
| */var/www/**www.new**.balug.org/ (**production //staging/preview//** area - does not automagically replicate to production, but very handy for previewing content (e.g. at [[http://www.new.balug.org/]]) before promoting to production | */var/www/**www.new**.balug.org/ (**production //staging/preview//** area - does not automagically replicate to production, but very handy for previewing content (e.g. at [[http://www.new.balug.org/]]) before promoting to production | 
| *note that: | *note that: | 
| *the command referenced above may, or may not, be scheduled to automagically run periodically via crontab (see balugwm1's crontab) | *the command referenced above may, or may not, be scheduled to automagically run periodically via crontab (see balugwm1's crontab) | 
| ***content placed in** /var/www/**www**.balug.org/ **may or may not be visible** or immediately visible **at http://www.balug.org/**, but is **not guaranteed to be visible at http://www.balug.org/ until the noted %%www%%.balug.org_rsync command has been successful executed**. | ***content placed in** /var/www/**www**.balug.org/ **may or may not be visible** or immediately visible **at http://www.balug.org/**, but is **not guaranteed to be visible accross all http://www.balug.org/ until the noted %%www%%.balug.org_rsync command has been successful executed**. | 
| ***contents** under /var/www/**www**.balug.org/ **must be readable by id balugxfr** (e.g. world readable) **to successfully replicate and be visible across http://www.balug.org/ site(s)**. | ***contents** under /var/www/**www**.balug.org/ **must be readable by id balugxfr** (e.g. world readable) **to successfully replicate and be visible across http://www.balug.org/ site(s)**. | 
|  | ***non-production**: | 
|  | *rather analogous to production, id **balugwm2** has rather to quite full access to most or all //non-production// web areas on **webmaster.balug.org**.  Note also that group balugwm2 may also share much of that access, and other id(s) may also have some or much access to certain non-production areas. | 
|  | *access (e.g. via sudo - shouldn't log into it directly) id **balugwm2** on **webmaster.balug.org**, e.g.:\\ %%$ ssh -atx -l %%//your_login//%% webmaster.balug.org. 'umask 077 && cd / && exec sudo su - balugwm2'%% | 
|  | *key //non-production// areas: | 
|  | */var/www/**www.beta**.balug.org/ - beta test area [[http://www.beta.balug.org/]] | 
|  | */var/www/**www.test**.balug.org/ - (alpha / proof-of-concept) test area [[http://www.test.balug.org/]] | 
|  | */var/www/**%%www.php.test%%**.balug.org/ PHP test area [[http://www.php.test.balug.org/]] | 
|  |  | 
| ---- | ---- |