Welcome

Feel free to check out and modify the subversion repository of this website!

Changes to the subversion repository are propagated to the web site hourly (every hour 17 minutes) by a cron job.

Public Access

Finally, all pages are (yoohoo!) readable on the Internet. Tapioca is meant as a platform to help collaborate among DERI colleagues and researchers at other institutions. Please put sensitive information into BSCW or create a new user and provide an .htaccess file with permissions. What you do on tapioca is entirely your responsibility. There's no support from DERI IT services.

Users

There are two types of users on sw: shell users for interactive login and Apache users for all HTTP-related things such as the website, wiki, and subversion.

Access of the Apache2 users depends on the group they are in. Currently, there exists a group "deri" into which every HTTP user part of DERI should be included upon creation of the user name.

How to control access to a webpage with .htaccess

You can provide password protection for individual folders on your website. To do that, you need to first create a user and password. To do that, create a password file like this:

      htpasswd -c /path/to/passwordfile someuser

Naturally, replace /path/to/passwordfile and someuser with some path and username. You will now be asked to type in the password for someuser. If you later want to add more users, you call htpasswd again, only this time without the -c (create) option:

    htpasswd -m /path/to/passwordfile someotheruser

Now, create a file with the name .htaccess in the folder you want to protect (or add stuff to an already existing one). Then, add the following lines to .htaccess:

    AuthType Basic
    AuthName "Title of Login window"
    AuthUserFile /path/to/passwordfile
    Require user someuser

Of course, you will want to replace "Title...", /path... and someuser with the appropriate settings. Once you did that, you're done! This folder and all folders below this folder will now be password protected. You can read more about all this on the apache website:

http://httpd.apache.org/docs/howto/auth.html

Site Structure

The site structure is simple: year, month, and then the name of the folder you want to create. Please use year/month for directories as the convention helps to organize and structure the site and keep the directory structure clean and uncluttered. The website is managed using subversion, the repository is available. If you want to change or add pages, check out that repository using subversion and make changes. You need an Apache2 httpd user account to be able to change pages. If you are in group www-data you can add a user as described at the bottom of that doc.

Your Contributions

You can have a personal page (~username) by creating a public_html directory in your home directory.

Please contribute to pages on this site. To make changes to web pages, or to create new pages, get an account (contact Andreas). We use basic HTTP authentification on tapioca, that means that your account on tapioca and your HTTP account are two different accounts and therefore can have different passwords. Make changes or updates of the documentation provided to help others to get started and make productive use of the site.

Thanks!

Apache2 Configuration

Config files are in /etc/apache2/. All files are rw-rw-r-- www-data.www-data. You should be in the www-data group and therefore able to change the config files. Be careful when you do so, if you mess up the web server you're responsible.

You can also add users to the Apache2 access control mechansim, see the subversion page.

To add access control to a wiki page, edit /etc/apache2/sites-enabled/wiki and add the following to password-protect a page:

<Location "/wiki/ClusterProposal">
  AuthType Basic
  AuthName "Wiki Authentication"
  AuthUserFile /etc/apache2/auth-file

  Require valid-user
</Location>

To only allow computers in the local (firewalled) network access to a page, add the following to the config file:

<Location "/wiki/SWCOffsite">
    Order allow,deny
    Allow from 10.2
    </Location>

Current Configuration

The wiki pages can be accessed from within the DERI intranet. If you want to use the pages from the outside, you need a HTTP account. See the subversion page for more info.


$Id: index.html 2584 2006-03-31 10:03:37Z aharth $