head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2000.08.23.17.25.08;	author ed;	state dead;
branches;
next	1.2;

1.2
date	2000.07.14.23.31.46;	author dlr;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.11.21.09.31;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.3
log
@big changes as part of the conf file rationalization.   everything in
data/helm/apache is obsolete now (so ApacheConfig is unneeded, though
it hasn't been removed yet).  the apache conf files are now installed in
a new location, and they are fairly different: instead of vhosts,
we use rewritecond to support dynamic virtual hosts.   the file in
helm/perl/cgi/local was moved up to helm/perl/cgi
@
text
@# This is where you can add apache directives to be processed before the first 
# virtual host.

ServerAdmin webmaster@@__DOMAIN__
DocumentRoot __HTDOC_ROOT__
ServerName __DOMAIN__
#ErrorLog logs/novhost-error.log
#CustomLog logs/nohost-access.log common

<IfModule mod_rewrite.c>
  RewriteRule ^/project/([a-zA-Z0-9_]+)/nonav/(.*)$        /$1/www/nonav/$2 [PT]
  RewriteRule ^/project/([a-zA-Z0-9_]+)/api/(.*)$          /$1/www/api/$2 [PT]
  RewriteRule ^/project/([a-zA-Z0-9_]+)/(.*)/api/(.*)$          /$1/www/$2/api/$3 [PT]
  RewriteRule ^/nonav(/.*)/$        $1/index.html [PT]
  RewriteRule ^/nonav(/.*.html)$        $1 [PT]
  RewriteRule ^(/.*/api/.*)$        $1 [PT]
  RewriteRule ^(/bugs)$               $1 [PT]
  RewriteRule ^(/bugs/.*)$            $1 [PT]
  RewriteRule ^(/source/.*)$          $1 [PT]
  RewriteRule ^(/search/.*)$          $1 [PT]
  RewriteRule ^/project/([a-zA-Z0-9_]+)$        /servlets/TView?project=$1&page=index.html [PT]
  RewriteRule ^/project/([a-zA-Z0-9_]+)/(.*/)$        /servlets/TView?project=$1&page=$2/index.html [PT]
  RewriteRule ^/project/([a-zA-Z0-9_]+)/(.*.html)$    /servlets/TView?project=$1&page=$2 [QSA,PT]
  RewriteRule ^/project/([a-zA-Z0-9_]+)/(.*)$        /servlets/TView?project=$1&page=$2/index.html [PT]
  RewriteRule ^(/.*.js)$             $1 [PT]
  RewriteRule ^/([A-Za-z0-9_]+)$      /servlets/$1 [PT]
</IfModule>

<Directory __HTDOC_ROOT__>
  Options Indexes FollowSymLinks
  AllowOverride None
  order allow,deny
  allow from all
</Directory>
@


1.2
log
@Used __HTDOC_ROOT__ move_sandbox token.
@
text
@@


1.1
log
@Moved here from sandbox/tigrisa/conf and redone.
@
text
@d5 1
a5 1
DocumentRoot __SANDBOX__/data/helm/htdoc
d29 1
a29 1
<Directory __SANDBOX__/data/helm/htdoc>
@

