ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Redirect domains to www.chiliproject.org (Task #55)


Added by Eric Davis at 2011-01-12 03:08 pm. Updated at 2011-01-17 09:44 pm.


Status:Closed Start date:2011-01-12
Priority:Normal Due date:
Assignee:Eric Davis % Done:

0%

Category:ChiliProject - Organization
Target version:Public Launch
Remote issue URL:

Description

All of the held domains and "chiliproject.org" should be setup to 301 redirect to "www.chiliproject.org"


Related issues

related to Task #50: Setup Server Closed 2011-01-19

History

Updated by Eric Davis at 2011-01-12 03:11 pm

  • Target version set to Public Launch

Updated by Felix Schäfer at 2011-01-13 12:37 am

Any specific reason for having the canonic address be www? I try to avoid it where I can.

Updated by Holger Just at 2011-01-17 11:17 am

I setup a new virtual host in /etc/apache2/sites-enabled/000-default which is a catch-all virtual host. So everything which is not gathered by any other virtual host is handled by this one.

It then just redirects every request to https://www.chiliproject.org/$1 via HTTP 301.

@all: Please confirm that this is enough and close or amend the issue accordingly.

  • Status deleted ()

Updated by Eric Davis at 2011-01-17 03:29 pm

This will conflict with the work I'm doing in #50. Moonshine automatically sets all of that up, I was manually editing the configuration to debug the symlink error.

This is why I like to use moonshine, all of the edits are tracked and we aren't conflicting with each other.

  • Assignee changed from Muntek Singh to Eric Davis
  • Status set to In Progress

Updated by Eric Davis at 2011-01-17 09:44 pm

I stopped working on the staging server and just added this to the production server.

This rewrite rule is in the main host's configuration in moonshine (ssl/vhost_extra) and will redirect all pages to the HTTPS www .org version (comments mine):

    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www.chiliproject.org$ [NC]       # All hosts that aren't https://www.chiliproject.org...
    RewriteRule ^(.*)$ https://www.chiliproject.org$1 [R=301,L] # ...redirect to https://www.chiliproject.org
  • Status changed from In Progress to Closed

Also available in: Atom PDF