Difference between revisions of "Engine Room"

From AardRock Wiki
Jump to navigation Jump to search
(Added instructions for Mailman list creation and management.)
 
(Added: To add a redirection)
Line 17: Line 17:
====To manage mailing lists:====
====To manage mailing lists:====
* [http://lists.aardrock.com/ Use Mailman]'s adminstrative interface.
* [http://lists.aardrock.com/ Use Mailman]'s adminstrative interface.
= URLs and subdomains=
====To add a redirection====
# Login on server
# Switch directory to the subdomain's directory.
# Create the directory.
# Create <code>index.php</code> containing the <code>Location:</code> header instruction.
For example, to have http://cheetah.aardrock.com/faq/ redirect to http://wiki.aardrock.com/Cheetah_FAQ:
# cd /var/www/vhosts/aardrock.com/subdomains/cheetah/httpdocs
# mkdir '''faq'''
# '''echo '&lt;? header("Location: http://wiki.aardrock.com/Cheetah_FAQ"); ?&gt;' &gt; index.php'''

Revision as of 08:06, 5 July 2006

Welcome to AardRock's Engine Room—The place where all instruments, tools and infrastructure come to live and evolve.

Mailing Lists

NOTA BENE:

  • Adding and removing mailing lists is done using Plesk.
  • Managing mailing lists (posts, subscription, digests) is done using MailMan directly.

To add a new mailing list:

  1. Login to Plesk as administrator.
  2. Select Domains in the General section of the left navigation bar.
  3. Select the domain to which you want to add a mailing list, e.g. aardrock.
  4. Select Mail under Services.
  5. Select the Mailing lists tab.
  6. Select Add new mailing list.
  7. Enter the mailing list name, password and administrators email and press OK.

To manage mailing lists:

URLs and subdomains

To add a redirection

  1. Login on server
  2. Switch directory to the subdomain's directory.
  3. Create the directory.
  4. Create index.php containing the Location: header instruction.

For example, to have http://cheetah.aardrock.com/faq/ redirect to http://wiki.aardrock.com/Cheetah_FAQ:

# cd /var/www/vhosts/aardrock.com/subdomains/cheetah/httpdocs
# mkdir faq
# echo '<? header("Location: http://wiki.aardrock.com/Cheetah_FAQ"); ?>' > index.php