Heya all, Fairly long time lurker, first time poster.
Trying to wrap my brain around how some of the documentation stuff works
for httpd.
I figured starting with something simple would be wise, though I'm not
sure I actually picked something simple. *shrug*
This patch allows Firefox to render the source xml files for
manual/howto/auth.xml and manual/custom-error.xml
Basically all it does is replace " " with " ". For some
reason, Firefox doesn't seem to find the entity definition for " ".
There are a couple of instances of this in some other files in other
languages, but I'm not confident that my setup won't mangle a file in
other charsets, so I'll hold off on submitting any of those changes
right now.
There may be other reasons that Firefox won't render some of the files,
but this should at least be a step in the right direction, and makes
howto/auth.xml and custom-error.xml work for me. Only downside I see is
that it makes the source files slightly more obtuse since I think its
more evident what nbsp does in comparison to #160.
--
Jeff McAdams
"They that can give up essential liberty to obtain a
little temporary safety deserve neither liberty nor safety."
-- Benjamin Franklin
Index: manual/howto/auth.xml
===================================================================
--- manual/howto/auth.xml (revision 463680)
+++ manual/howto/auth.xml (working copy)
@@ -469,14 +469,14 @@
<example>
# if ((user == "John") ||<br />
- # ((Group == "admin")<br />
- # && (ldap-group <ldap-object> contains auth'ed_user)<br />
- # && ((ldap-attribute dept == "sales")<br />
- # || (file-group contains auth'ed_user))))<br />
+ #    ((Group == "admin")<br />
+ #     && (ldap-group <ldap-object> contains auth'ed_user)<br />
+ #     && ((ldap-attribute dept == "sales")<br />
+ #         || (file-group contains auth'ed_user))))<br />
# then<br />
- # auth_granted<br />
+ #   auth_granted<br />
# else<br />
- # auth_denied<br />
+ #   auth_denied<br />
#<br />
<Directory /www/mydocs><br />
<indent>
Index: manual/custom-error.xml
===================================================================
--- manual/custom-error.xml (revision 463680)
+++ manual/custom-error.xml (working copy)
@@ -179,11 +179,11 @@
</example>
<p>If the script is dedicated to handling a particular error
- condition, such as <code>404 Not Found</code>, it can
+ condition, such as <code>404 Not Found</code>, it can
use the specific code and error text instead.</p>
<p>Note that the script <em>must</em> emit an appropriate
- <code>Status:</code> header (such as <code>302 Found</code>), if the
+ <code>Status:</code> header (such as <code>302 Found</code>), if the
response contains a <code>Location:</code> header (in order to issue a
client side redirect). Otherwise the <code>Location:</code> header may
have no effect.</p>
signature.asc
Description: OpenPGP digital signature
