Migrated OHMAC to odt/ohmac

I migrated the three ohmac pages (main, faq and forms) to ODT and redirected all traffic from the shell account to the ODT site.
Old URL: http://ohmac.uoregon.edu
New URL: http://odt.uoregon.edu/ohmac

Backend info:
The new odt pages are Drupal books. I nested them and relinked them to each other. I also set all the external links to open in new windows.

Enabled php on shell by adding php.cgi and adding this to the .htaccess page:

RemoveHandler .php
AddType application/my-httpd-php .php
Action application/my-httpd-php /~ohmac/php.cgi

# redir ohmac to odt/ohmac
RewriteEngine ON
  RewriteCond %{HTTP_HOST} ^ohmac$ [NC]
  RewriteRule ^(.*)$ http://odt.uoregon.edu/ohmac [R=301]

  RewriteCond %{HTTP_HOST} ^ohmac.uoregon.edu$ [NC]
  RewriteRule ^(.*)$ http://odt.uoregon.edu/ohmac [R=301]

Leave a Comment