parsed.org

Tips by tag: mapping

Virtual Mapping by xinu on Jan 13, 2005 08:23 AM

Some virtual mapping goodness:

<VirtualHost *>
  ServerName cprogrammer.org
  ServerAlias cprogrammer.org *.cprogrammer.org

  # See the docs for the %-specs; %1 maps to the first part of the
  # domain (a.b.c.d.e -> a, a.b.c -> a)
  VirtualDocumentRoot /users/%1/public_html
  VirtualScriptAlias /users/%1/public_html/cgi-bin/
</VirtualHost>
apacheconfigurationmappingneatvirtualhost
RSS