forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: rev 35577 - in forrest/trunk/src/documentation/content/docs: dtd entity
Date Mon, 02 Aug 2004 05:27:44 GMT
Author: crossley
Date: Sun Aug  1 22:27:44 2004
New Revision: 35577

Added:
   forrest/trunk/src/documentation/content/docs/dtd/
   forrest/trunk/src/documentation/content/docs/dtd/.htaccess   (contents, props changed)
   forrest/trunk/src/documentation/content/docs/dtd/index.html   (contents, props changed)
   forrest/trunk/src/documentation/content/docs/dtd/readme.txt   (contents, props changed)
   forrest/trunk/src/documentation/content/docs/entity/
   forrest/trunk/src/documentation/content/docs/entity/.htaccess   (contents, props changed)
   forrest/trunk/src/documentation/content/docs/entity/index.html   (contents, props changed)
   forrest/trunk/src/documentation/content/docs/entity/readme.txt   (contents, props changed)
Log:
Adding .htaccess files that were only in the "forrest-site" repository.


Added: forrest/trunk/src/documentation/content/docs/dtd/.htaccess
==============================================================================
--- (empty file)
+++ forrest/trunk/src/documentation/content/docs/dtd/.htaccess	Sun Aug  1 22:27:44 2004
@@ -0,0 +1,51 @@
+# The reason for this .htaccess is to deliver DTDs and associated resources
+# to some impoverished XML tools that do not use the Catalog Entity Resolver.
+# We do make every effort to encourage the latter. See ./index.html
+# 
+#--------------------------------------------------------------------------
+# NOTE: There is a problem with getting the correct media-types ...
+# http://svn.apache.org/repos/asf/forrest/trunk/.../*.dtd
+# Currently the server just delivers text/plain
+# We can do 'svn propset svn:mime-type' for the *.dtd etc.
+# which will cause them to be delivered properly.
+# However there is an Issue for SVN (#1233) whereby the files will be seen
+# by SVN as binary, hence no diffs.
+# Please vote for http://subversion.tigris.org/issues/show_bug.cgi?id=1233
+# 
+# So the workaround is to use ViewCVS to explicity set the media-type.
+#--------------------------------------------------------------------------
+
+# Get the content straight out of ViewCVS and use the appropriate media type:
+# See http://www.faqs.org/rfcs/rfc3023.html
+# FIXME: Verify these media types and maybe add charset
+#
+RewriteEngine On
+RewriteRule "(.*)\.dtd$" "http://svn.apache.org/viewcvs.cgi/*checkout*/forrest/trunk/src/core/context/resources/schema/dtd/$1.dtd?content-type=application/xml-dtd&root=Apache-SVN"
[P]
+RewriteRule "(.*)\.mod$" "http://svn.apache.org/viewcvs.cgi/*checkout*/forrest/trunk/src/core/context/resources/schema/dtd/$1.mod?content-type=application/xml-dtd&root=Apache-SVN"
[P]
+RewriteRule "(.*)\.pen$" "http://svn.apache.org/viewcvs.cgi/*checkout*/forrest/trunk/src/core/context/resources/schema/dtd/$1.pen?content-type=application/xml-external-parsed-entity&root=Apache-SVN"
[P]
+RewriteRule "(.*)\.ent$" "http://svn.apache.org/viewcvs.cgi/*checkout*/forrest/trunk/src/core/context/resources/schema/dtd/$1.ent?content-type=application/xml-external-parsed-entity&root=Apache-SVN"
[P]
+
+#--------------------------------------------------------------------------
+# NOTE: The following was suggested by someone to the forrest-dev
+# and not yet investigated.
+#--------------------------------------------------------------------------
+
+# FIXME: Is this Proxy stuff sufficient?
+
+# FIXME: Cache stuff is not yet working
+#
+## Now, since ViewCVS is slower than httpd, make sure we cache it
+#CacheEnable mem /dtd
+
+## for a day
+#CacheDefaultExpire 86400
+#  MCacheSize 4096
+#  MCacheMaxObjectCount 100
+#  MCacheMinObjectSize 1
+#  MCacheMaxObjectSize 2048
+
+## and in case your client is a good web citizen, tell the proxies
+## to avoid calling us, since we guarantee that the content is fresh
+## for a day
+#ExpiresActive On
+#ExpiresDefault "access plus 1 day"

Added: forrest/trunk/src/documentation/content/docs/dtd/index.html
==============================================================================
--- (empty file)
+++ forrest/trunk/src/documentation/content/docs/dtd/index.html	Sun Aug  1 22:27:44 2004
@@ -0,0 +1,19 @@
+<html>
+<head>
+ <title>Apache Document Type Definitions</title>
+</head>
+<body>
+ <h1>Apache Document Type Definitions</h1>
+                                                                                
+ <p>
+  If you are here looking for the Apache Document DTDs
+  then you shouldn't be :-)
+  See <a href="http://forrest.apache.org/docs/catalog.html">Using Catalog Entity Resolver
for local DTDs</a>.
+ </p>
+                                                                                
+ <p>
+  That said, you can find the relevant DTDs using the naming convention
+  "forrest.apache.org/dtd/document-v13.dtd" etc.
+ </p>
+</body>
+</html>

Added: forrest/trunk/src/documentation/content/docs/dtd/readme.txt
==============================================================================
--- (empty file)
+++ forrest/trunk/src/documentation/content/docs/dtd/readme.txt	Sun Aug  1 22:27:44 2004
@@ -0,0 +1,7 @@
+There is a .htaccess in this directory.
+Its purpose is to deliver DTDs and associated resources to some
+impoverished XML tools that do not use the Catalog Entity Resolver.
+
+FIXME: There are similar .htaccess at both
+forrest.apache.org/dtd/ and forrest.apache.org/entity/
+until we merge the entity sets into the /dtd/ directory.

Added: forrest/trunk/src/documentation/content/docs/entity/.htaccess
==============================================================================
--- (empty file)
+++ forrest/trunk/src/documentation/content/docs/entity/.htaccess	Sun Aug  1 22:27:44 2004
@@ -0,0 +1,10 @@
+# The reason for this .htaccess is to deliver DTDs and associated resources
+# to some impoverished XML tools that do not use the Catalog Entity Resolver.
+# We do make every effort to encourage the latter. See ./index.html
+# 
+#--------------------------------------------------------------------------
+# NOTE: See the discussion in ../dtd/.htaccess
+#--------------------------------------------------------------------------
+
+RewriteEngine On
+RewriteRule "(.*)\.pen$" "http://svn.apache.org/viewcvs.cgi/*checkout*/forrest/trunk/src/core/context/resources/schema/entity/$1.pen?content-type=application/xml-external-parsed-entity&root=Apache-SVN"
[P]

Added: forrest/trunk/src/documentation/content/docs/entity/index.html
==============================================================================
--- (empty file)
+++ forrest/trunk/src/documentation/content/docs/entity/index.html	Sun Aug  1 22:27:44 2004
@@ -0,0 +1,19 @@
+<html>
+<head>
+ <title>Apache Document Type Definitions</title>
+</head>
+<body>
+ <h1>Apache Document Type Definitions</h1>
+                                                                                
+ <p>
+  If you are here looking for the Apache Document DTDs
+  then you shouldn't be :-)
+  See <a href="http://forrest.apache.org/docs/catalog.html">Using Catalog Entity Resolver
for local DTDs</a>.
+ </p>
+                                                                                
+ <p>
+  That said, you can find the relevant DTDs using the naming convention
+  "forrest.apache.org/dtd/document-v13.dtd" etc.
+ </p>
+</body>
+</html>

Added: forrest/trunk/src/documentation/content/docs/entity/readme.txt
==============================================================================
--- (empty file)
+++ forrest/trunk/src/documentation/content/docs/entity/readme.txt	Sun Aug  1 22:27:44 2004
@@ -0,0 +1,7 @@
+There is a .htaccess in this directory.
+Its purpose is to deliver DTDs and associated resources to some
+impoverished XML tools that do not use the Catalog Entity Resolver.
+
+FIXME: There are similar .htaccess at both
+forrest.apache.org/dtd/ and forrest.apache.org/entity/
+until we merge the entity sets into the /dtd/ directory.

Mime
View raw message