bos@574: # -*- apache -*- bos@574: bos@574: bos@593: ServerName hgbook.red-bean.com bos@574: ServerAdmin bos@serpentine.com bos@574: ErrorLog logs/hgbook-error_log bos@574: # Debian: bos@574: # CustomLog logs/hgbook-access_log full bos@574: # Fedora: bos@574: CustomLog logs/hgbook-access_log combined bos@574: Options +MultiViews bos@574: DirectoryIndex index.html.var index.html bos@574: DocumentRoot "/home/bos/hg/hgbook/en/html" bos@574: bos@593: Redirect permanent /hgbook.html /index.html bos@593: Redirect permanent /hgbookch1.html /read/preface.html bos@593: Redirect permanent /hgbookch2.html /read/a-tour-of-mercurial-the-basics.html bos@593: Redirect permanent /hgbookch3.html /read/a-tour-of-mercurial-merging-work.html bos@593: Redirect permanent /hgbookch4.html /read/behind-the-scenes.html bos@593: Redirect permanent /hgbookch5.html /read/mercurial-in-daily-use.html bos@593: Redirect permanent /hgbookch6.html /read/file-names-and-pattern-matching.html bos@593: Redirect permanent /hgbookch6.html /read/managing-releases-and-branchy-development.html bos@593: Redirect permanent /hgbookch7.html /read/finding-and-fixing-mistakes.html bos@593: Redirect permanent /hgbookch8.html /read/handling-repository-events-with-hooks.html bos@593: Redirect permanent /hgbookch9.html /read/customizing-the-output-of-mercurial.html bos@593: Redirect permanent /hgbookch10.html /read/managing-change-with-mercurial-queues.html bos@593: Redirect permanent /hgbookch11.html /read/advanced-uses-of-mercurial-queues.html bos@593: Redirect permanent /hgbookch12.html /read/adding-functionality-with-extensions.html bos@593: Redirect permanent /hgbookap1.html /read/command-reference.html bos@593: Redirect permanent /hgbookap2.html /read/mercurial-queues-reference.html bos@593: Redirect permanent /hgbookap3.html /read/installing-mercurial-from-source.html bos@593: Redirect permanent /hgbookap4.html /read/open-publication-license.html bos@593: Redirect permanent /hgbookli1.html /read/index.html bos@593: Redirect permanent /hgbookli2.html /read/index.html bos@593: Redirect permanent /hgbookli3.html /read/index.html bos@593: Redirect permanent /hgbookli4.html /read/index.html bos@593: bos@574: # Actively redirect requests via a ServerAlias to the canonical hostname. bos@574: RewriteEngine On bos@593: RewriteCond %{HTTP_HOST} !=hgbook.red-bean.com bos@593: RewriteRule ^(.*) http://hgbook.red-bean.com$1 [R] bos@574: bos@574: bos@574: SetHandler python-program bos@574: # hg clone http://bitbucket.org/mirror/django-trunk/ bos@574: PythonPath "['/home/bos/hg/django-trunk', '/home/bos/hg/hgbook/web'] + sys.path" bos@574: PythonHandler django.core.handlers.modpython bos@574: PythonAutoReload Off bos@574: SetEnv DJANGO_SETTINGS_MODULE hgbook.settings bos@574: PythonDebug Off bos@574: bos@574: bos@574: bos@574: SetHandler None bos@574: DirectoryIndex index.html bos@574: bos@574: bos@574: bos@574: SetHandler None bos@574: bos@574: bos@574: bos@574: SetHandler None bos@574: bos@574: bos@574: bos@574: SetHandler None bos@574: bos@574: bos@574: bos@574: SetHandler None bos@574: bos@574: bos@574: bos@574: SetHandler None bos@574: bos@574: bos@574: Alias /media /home/bos/hg/django-trunk/django/contrib/admin/media bos@574: bos@574: bos@574: Options Indexes FollowSymlinks bos@574: AllowOverride None bos@574: Order allow,deny bos@574: Allow from all bos@574: bos@574: bos@574: bos@574: AllowOverride AuthConfig bos@574: bos@574: bos@574: bos@574: Options None bos@574: bos@574: bos@574: bos@574: bos@574: Options None bos@574: AllowOverride None bos@574: Order allow,deny bos@574: Allow from all bos@574: