head	1.3;
access;
symbols
	HELM_PEER_PORT_BRANCH:1.1.1.1 dlr:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2001.02.21.23.42.31;	author dlr;	state dead;
branches;
next	1.2;

1.2
date	2001.02.21.15.54.01;	author leonardr;	state Exp;
branches;
next	1.1;

1.1
date	2001.02.21.00.28.08;	author dlr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.02.21.00.28.08;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Removing files generated by .in preprocessor.
@
text
@RewriteMap lowercase int:tolower

################
# reserved sections of the URI space for components

RewriteRule ^(/(files|unbranded-.*|branding|sharedimages|icons|servlets|local-access-only)/.*)$       $1 [PT,L]


################
# non-vhosted access to project pages

RewriteRule ^/project/([-a-zA-Z0-9_]+)$                   /project/$1/ [R,L]

RewriteRule ^/project/([-a-zA-Z0-9_]+)/$                   /servlets/ProjectHome?projectName=$1 [PT,L]

RewriteRule ^/project/([-a-zA-Z0-9_]+)/nonav/(.*)/$         /servlets/ContentHelmNoodle?projectName=$1&template=org/joist/publish/Binary.wm&page=$2/index.html [PT,L]

RewriteRule ^/project/([-a-zA-Z0-9_]+)/nonav/(.*\.[-a-zA-Z0-9]*)$   /servlets/ContentHelmNoodle?projectName=$1&template=org/joist/publish/Binary.wm&page=$2 [PT,L]

RewriteRule ^/project/([-a-zA-Z0-9_]+)/(.*)/$              /servlets/ContentHelmNoodle?projectName=$1&page=$2/index.html [PT,L]

RewriteRule ^/project/([-a-zA-Z0-9_]+)/(.*\.s?html?)$      /servlets/ContentHelmNoodle?projectName=$1&page=$2 [QSA,PT,L]

RewriteRule ^/project/([-a-zA-Z0-9_]+)/(.*\.[-a-zA-Z0-9]+)$ /servlets/ContentHelmNoodle?projectName=$1&template=org/joist/publish/Binary.wm&page=$2 [PT,L]

RewriteRule ^/project/([-a-zA-Z0-9_]+)/(.*)$               /project/$1/$2/ [R,L]

################
# vhosted access to project pages, vhost name detected in HelmServlet

RewriteRule ^/$                                           /servlets/ProjectHome [PT,L]
# note, instances may want to add a special rewrite rule for the domain haome page

RewriteCond %{HTTP_HOST} ^(.*)\.(sc-dev2.sp.collab.net)(:[0-9]*)?$ [NC]
RewriteRule ^/nonav/(.*)/$                                /servlets/ContentHelmNoodle?projectName=${lowercase:%1}&template=org/joist/publish/Binary.wm&page=$1/index.html [PT,L]

#TODO, use SecureView or helm noodle even on non-branded html

RewriteCond %{HTTP_HOST} ^(.*)\.(sc-dev2.sp.collab.net)(:[0-9]*)?$ [NC]
RewriteRule ^/nonav/(.*\.[-a-zA-Z0-9]*)$                   /servlets/ContentHelmNoodle?projectName=${lowercase:%1}&template=org/joist/publish/Binary.wm&page=$1 [PT,L]


RewriteCond %{HTTP_HOST} ^(.*)\.(sc-dev2.sp.collab.net)(:[0-9]*)?$ [NC]
RewriteRule ^/nonav/(.*)$                                 /nonav/$1/ [R,L]

RewriteRule ^/(.*)/$                                      /servlets/ContentHelmNoodle?page=$1/index.html [PT,L]

RewriteRule ^/(.*\.s?html?)$                              /servlets/ContentHelmNoodle?page=$1 [QSA,PT,L]

RewriteCond %{HTTP_HOST} ^(.*)\.(sc-dev2.sp.collab.net)(:[0-9]*)?$ [NC]
RewriteRule ^/(.*\.[-a-zA-Z0-9]+)$                         /servlets/ContentHelmNoodle?projectName=${lowercase:%1}&template=org/joist/publish/Binary.wm&page=$1 [PT,L]

RewriteCond %{HTTP_HOST} ^(.*)\.(sc-dev2.sp.collab.net)(:[0-9]*)?$ [NC]
RewriteRule ^/(.*)$                                       /$1/ [R,L]



<Directory /home/leonardr/sandbox/data/helm/htdoc>
  Options Indexes FollowSymLinks
  AllowOverride None
  order allow,deny
  allow from all
</Directory>

@


1.2
log
@Order tasks by task ID.
@
text
@@


1.1
log
@Initial revision
@
text
@d58 1
a58 1
<Directory /home/dlr/sandbox/data/helm/htdoc>
@


1.1.1.1
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@@
