Remapping?

Recently I migrated most of cog motive’s net assets from DreamHost to Google Apps (for mail) and Rackspace (for hosting). Besides a hilarious issue concerning webforms (which I will get into later, it has mostly been seamless. However, I hit a snag to which I can’t quite find the answer.

On DreamHost I would use a lot of software on one site, most often a CMS (WordPress, Drupal)/wiki (MediaWiki, DokuWiki)/microblog (StatusNet)/forum (FluxBB, Vanilla) combo. I don’t like running a lot of sub-domains, so I would have them all trail off the domain name (an example is interi.org/visual, which points to a Zenphoto installation, while /complex points to a DokuWiki installation).

To manage so much software I used DreamHost’s remap sub-directory feature in their control panel extensively. My directory structure was normally a directory with the domain’s name, which included a main sub-directory, and another sub-directory for each thing I was running. So, cog motive looked like this:

main
wiki
community
gallery
projects
sandbox

Main is always where the domain resolves to by itself, and the other directories are either sub-domains or are remapped to a path after the domain.

My issue is, I have no idea how that is done. I am not sure what DreamHost’s panel is actually doing, though I suspect it is telling Apache to do some voodoo. I am trying to find something about getting Apache to remap directories to particular URIs, but instructions for setting up URL rewriting is polluting my searches.

Does anyone know either how to do this, or a resource I can check to see how to do it? Where/what am I editing to tell Apache what to do?

I figured it out.

Related posts:

  1. Domain “remapping”, or Alias, as it is called
  2. Calendaring
  3. Your software should tell me what it is. How meta is that?
  4. Why I am leaving DreamHost
This entry was posted in development and tagged , , , . Bookmark the permalink.

One Response to Remapping?

  1. Pingback: Domain “remapping”, or Alias, as it is called | standing alone in complexity

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>