You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sl...@apache.org on 2001/02/10 22:59:16 UTC
cvs commit: httpd-docs-1.3/htdocs/manual/vhosts index.html.html
slive 01/02/10 13:59:16
Added: htdocs/manual configuring.html.html custom-error.html.html
handler.html.html index.html.html install.html.html
new_features_1_3.html.html server-wide.html.html
htdocs/manual/howto cgi.html.html
htdocs/manual/mod directive-dict.html.html
mod_negotiation.html.html module-dict.html.html
htdocs/manual/vhosts index.html.html
Log:
Add .html.html files which include each .html.en file using SSI.
In cunjunction with Multiviews, this means that clients which would
otherwise get "No Acceptable Variant" errors, will instead be directly
served the engligh language page.
These files are generated by the following script run in each
documentation directory:
#!/bin/sh
for file in `ls *.en | sed s/\.en//g`
do
echo $file
echo "<!--#include virtual=\"$file.en\" -->" > $file.html;
done
Revision Changes Path
1.1 httpd-docs-1.3/htdocs/manual/configuring.html.html
Index: configuring.html.html
===================================================================
<!--#include virtual="configuring.html.en" -->
1.1 httpd-docs-1.3/htdocs/manual/custom-error.html.html
Index: custom-error.html.html
===================================================================
<!--#include virtual="custom-error.html.en" -->
1.1 httpd-docs-1.3/htdocs/manual/handler.html.html
Index: handler.html.html
===================================================================
<!--#include virtual="handler.html.en" -->
1.1 httpd-docs-1.3/htdocs/manual/index.html.html
Index: index.html.html
===================================================================
<!--#include virtual="index.html.en" -->
1.1 httpd-docs-1.3/htdocs/manual/install.html.html
Index: install.html.html
===================================================================
<!--#include virtual="install.html.en" -->
1.1 httpd-docs-1.3/htdocs/manual/new_features_1_3.html.html
Index: new_features_1_3.html.html
===================================================================
<!--#include virtual="new_features_1_3.html.en" -->
1.1 httpd-docs-1.3/htdocs/manual/server-wide.html.html
Index: server-wide.html.html
===================================================================
<!--#include virtual="server-wide.html.en" -->
1.1 httpd-docs-1.3/htdocs/manual/howto/cgi.html.html
Index: cgi.html.html
===================================================================
<!--#include virtual="cgi.html.en" -->
1.1 httpd-docs-1.3/htdocs/manual/mod/directive-dict.html.html
Index: directive-dict.html.html
===================================================================
<!--#include virtual="directive-dict.html.en" -->
1.1 httpd-docs-1.3/htdocs/manual/mod/mod_negotiation.html.html
Index: mod_negotiation.html.html
===================================================================
<!--#include virtual="mod_negotiation.html.en" -->
1.1 httpd-docs-1.3/htdocs/manual/mod/module-dict.html.html
Index: module-dict.html.html
===================================================================
<!--#include virtual="module-dict.html.en" -->
1.1 httpd-docs-1.3/htdocs/manual/vhosts/index.html.html
Index: index.html.html
===================================================================
<!--#include virtual="index.html.en" -->
Re: cvs commit: httpd-docs-1.3/htdocs/manual/vhosts index.html.html
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Martin Kraemer wrote:
>
> Wouldn't symlinks have been easier?
Not on Windows, and even on Unix they would require another
setting in addition to MultiViews. Having usable documentation
as part of one's installation should not require too many
hoops..
--
#ken P-)}
Ken Coar <http://Golux.Com/coar/>
Apache Software Foundation <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed" <http://ApacheUnleashed.Com/>
Re: cvs commit: httpd-docs-1.3/htdocs/manual/vhosts index.html.html
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
"William A. Rowe, Jr." wrote:
>
> Then we add it to the list of 'things to do' when rolling the tarball?
> That is, unix folks don't get symlinks rather than files, but we don't
> carry the cruft in CVS.
No, because we need it on apache.org, which is a CVS checkout.
A solution would be good, but just trying to make the current
solution go away because it is 'crufty' is not..
--
#ken P-)}
Ken Coar <http://Golux.Com/coar/>
Apache Software Foundation <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed" <http://ApacheUnleashed.Com/>
Re: cvs commit: httpd-docs-1.3/htdocs/manual/vhosts index.html.html
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
From: "Rodent of Unusual Size" <Ke...@Golux.Com>
Sent: Friday, February 16, 2001 7:04 AM
> "William A. Rowe, Jr." wrote:
> >
> > Couldn't we distribute the perl script to do this as part of
> > our htdocs tree, and let the _user_ perform this cruft?
>
> No. It needs to work correctly OOTB. That is one reason
> we collapse the FAQ SSIs as well. Symlinks are right out for
> this reason, CVS, and platform incompatibilities.
Then we add it to the list of 'things to do' when rolling the tarball?
That is, unix folks don't get symlinks rather than files, but we don't
carry the cruft in CVS.
Re: cvs commit: httpd-docs-1.3/htdocs/manual/vhosts index.html.html
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
"William A. Rowe, Jr." wrote:
>
> Couldn't we distribute the perl script to do this as part of
> our htdocs tree, and let the _user_ perform this cruft?
No. It needs to work correctly OOTB. That is one reason
we collapse the FAQ SSIs as well. Symlinks are right out for
this reason, CVS, and platform incompatibilities.
> I just find it too crufty.
Sorry.. If you can come up with a solution that works OOTB
on a new installation, in any language environment, I for
one would be glad to hear it. For now, though, -1 on
getting rid of a working solution and replacing it with
none at all.
--
#ken P-)}
Ken Coar <http://Golux.Com/coar/>
Apache Software Foundation <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed" <http://ApacheUnleashed.Com/>
Re: cvs commit: httpd-docs-1.3/htdocs/manual/vhosts index.html.html
Posted by Joshua Slive <sl...@finance.commerce.ubc.ca>.
On Thu, 15 Feb 2001, William A. Rowe, Jr. wrote:
> From: "Joshua Slive" <sl...@finance.commerce.ubc.ca>
>
> > On Mon, 12 Feb 2001, Martin Kraemer wrote:
> >
> > > On Sat, Feb 10, 2001 at 09:59:16PM -0000, slive@apache.org wrote:
> > > > Add .html.html files which include each .html.en file using SSI.
> > >
> > > Wouldn't symlinks have been easier?
> >
> > Perhaps. I wasn't sure how symlinks would work in CVS, or how they would
> > affect win32. If anyone can answer those questions, I would be happy to
> > go back and replace those files with symlinks.
>
> The more I look at this change, the less I like it.
[...]
> I just find it too crufty.
>
I guess this is just a matter of taste. I don't find it particularly more
crufty than symlinks. It is my sincere hope that it this is all a
temporary problem, because some energetic soul will implement a
FallBackLanguage directive and/or pass through enough information to make
a legitimate custom Errordocument for "No Acceptable Variants".
Having said that, one option is to distribute the docs without the
.html.html files, and let webmasters deal with the problem on their local
copies of the docs. My main concern is getting something that works
properly for httpd.apache.org. Unfortunately, I don't see a simple way of
doing this just for httpd.apache.org without it being in CVS.
Suggestions?
Joshua.
Re: cvs commit: httpd-docs-1.3/htdocs/manual/vhosts index.html.html
Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
From: "Joshua Slive" <sl...@finance.commerce.ubc.ca>
To: <ne...@apache.org>
Sent: Monday, February 12, 2001 10:29 AM
Subject: Re: cvs commit: httpd-docs-1.3/htdocs/manual/vhosts index.html.html
> On Mon, 12 Feb 2001, Martin Kraemer wrote:
>
> > On Sat, Feb 10, 2001 at 09:59:16PM -0000, slive@apache.org wrote:
> > > Add .html.html files which include each .html.en file using SSI.
> >
> > Wouldn't symlinks have been easier?
>
> Perhaps. I wasn't sure how symlinks would work in CVS, or how they would
> affect win32. If anyone can answer those questions, I would be happy to
> go back and replace those files with symlinks.
The more I look at this change, the less I like it.
Couldn't we distribute the perl script to do this as part of our htdocs
tree, and let the _user_ perform this cruft? The perl script could be
changed to either:
1. create symlinks on most platforms.
2. create the .html.html file on platforms 'tagged' as not supporting
symlinks (see src/support/dbmmanage for an example of excluding
MSWin32/NetWare.)
I just find it too crufty.
Bill
Re: cvs commit: httpd-docs-1.3/htdocs/manual/vhosts index.html.html
Posted by Joshua Slive <sl...@finance.commerce.ubc.ca>.
On Mon, 12 Feb 2001, Martin Kraemer wrote:
> On Sat, Feb 10, 2001 at 09:59:16PM -0000, slive@apache.org wrote:
> > Add .html.html files which include each .html.en file using SSI.
>
> Wouldn't symlinks have been easier?
Perhaps. I wasn't sure how symlinks would work in CVS, or how they would
affect win32. If anyone can answer those questions, I would be happy to
go back and replace those files with symlinks.
Joshua.
Re: cvs commit: httpd-docs-1.3/htdocs/manual/vhosts index.html.html
Posted by Martin Kraemer <Ma...@Fujitsu-Siemens.com>.
On Sat, Feb 10, 2001 at 09:59:16PM -0000, slive@apache.org wrote:
> Add .html.html files which include each .html.en file using SSI.
>
> In cunjunction with Multiviews, this means that clients which would
> otherwise get "No Acceptable Variant" errors, will instead be directly
> served the engligh language page.
>
> These files are generated by the following script run in each
> documentation directory:
Wouldn't symlinks have been easier?
Martin
--
<Ma...@Fujitsu-Siemens.com> | Fujitsu Siemens
<ma...@apache.org> | 81730 Munich, Germany