From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Therese Godefroy Newsgroups: gmane.emacs.bugs Subject: bug#43000: [Web pages] Proposed changes to tour/index.html Date: Mon, 7 Sep 2020 17:07:35 +0200 Message-ID: <9642974d-eb2e-ef5b-ad60-3ce3e4286084@gnu.org> References: <0697443a-9183-4d29-1f39-bf855e70a64f@free.fr> <297c807b-c93e-7a33-f05b-21e0a327b6c4@free.fr> <29d101c9-f4e1-1e36-4abc-002b284cb952@free.fr> <6f619f61-6a1d-1769-7711-be8073bb22f8@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31512"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 To: 43000@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 07 17:08:19 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFIkl-00085p-59 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Sep 2020 17:08:19 +0200 Original-Received: from localhost ([::1]:32894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFIkk-0000Qp-1T for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Sep 2020 11:08:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFIkU-0000GN-0p for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2020 11:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFIkT-0004Cn-NW for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2020 11:08:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kFIkT-00050L-JF for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2020 11:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Therese Godefroy Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Sep 2020 15:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43000 X-GNU-PR-Package: emacs Original-Received: via spool by 43000-submit@debbugs.gnu.org id=B43000.159949126419208 (code B ref 43000); Mon, 07 Sep 2020 15:08:01 +0000 Original-Received: (at 43000) by debbugs.gnu.org; 7 Sep 2020 15:07:44 +0000 Original-Received: from localhost ([127.0.0.1]:50408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFIkB-0004zk-Rz for submit@debbugs.gnu.org; Mon, 07 Sep 2020 11:07:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFIkA-0004zX-81 for 43000@debbugs.gnu.org; Mon, 07 Sep 2020 11:07:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43174) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFIk5-00049i-1s for 43000@debbugs.gnu.org; Mon, 07 Sep 2020 11:07:37 -0400 Original-Received: from [2a01:e0a:2e3:1320:6115:1b9b:6e4a:cd01] (port=50720) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1kFIk4-0003lB-Mt for 43000@debbugs.gnu.org; Mon, 07 Sep 2020 11:07:36 -0400 Autocrypt: addr=thg@gnu.org; prefer-encrypt=mutual; keydata= mQENBE6dhCcBCAC+8tGO3bfqumcFWEQVSQ8bIF+oQpaZs9DjsYWpZWnK2Z1ghGL1YwAFrOG3 aK2nzXktMEF8JUFongY8BGimTk+PhfvjE6gEMVMuhe9AYt3BMutedfjzUxh7Gi4E8BaJJD9t R+0be/1IGnJ3WLunbAK5fQo0rxeeH7ik4lzsF0LP2raaZZvaDW7tUknciGnkQeI0aVvpVQ9v O3YR9hh7v2a3Zmb8ZAgavY0+MaxGXIkWF79mX7Wjox1F+DZwQd1/e+JA+/DFuso8LIwF59p+ njUC36cFlELDJ3b1xMJIcLcGJ86i34rv8ZABXF/hs23qCwRgsdX+8CA6TRmUqND42eWBABEB AAG0HkdvZGVmcm95IFRoZXJlc2UgPHRoZ0BnbnUub3JnPokBPwQTAQIAKQUCWmmlYAIbAwUJ EswK6wcLCQgHAwIBBhUIAgkKCwQWAgMBAh4BAheAAAoJEN8zjwg4B5HvjmYIAJ1QrHTKkoAK 9tAEOnNHo6PYlIrVr+xZeyJVN+MEJxWZGXdkmCOqW1Gfl2bjRHhG0CXOwVdRXy7XJ+neFYUM CjYjjfoLTmFRrCLRs28xssggqZc2Ucb9qDhVnp1tBqNy32Ru2Q/GSzlt2fJLAVWCGO9v+s92 33DDzcIyAPorAZEaV+olksyn0fqSMyZhNgZuTxIo2N1jq6RlVTF3y7i7xsmvYb2ahOJ37KKu Ry7/1CRuNG6KRmnNAOQfpTbsjR3GJ1oE2MO5c81A8l6lTYBdEoPXtQwcwmTKV+TGJimS/qVj 8LKaSTqgFLcvY5/F23RxTxLe In-Reply-To: Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187442 Archived-At: Hello Stefan, Le 07/09/2020 à 05:13, Stefan Kangas a écrit : [...] > Making the links absolute has the unfortunate side-effect that it > becomes harder to test the site locally during development, right? > I'd hope that there is some way to avoid that. The only way I know of is to mount the emacs directory at the root of a local web server. It's pretty convenient, in fact. But of course you won't do all the fancy things that the gnu server does. > I see that there is a 302 (temporary) redirect here: > > $ curl https://www.gnu.org/software/emacs/index.html > > > 302 Found > >

Found

>

The document has moved href="https://www.gnu.org/savannah-checkouts/gnu/emacs/emacs.html">here.

>
>
Apache/2.4.7 Server at www.gnu.org Port 443
> > > Do you know if this is expected? I think this is expected, because you get it every time the index is rewritten to another file. For instance, you get a 302 with gsrc (index.html is rewritten to gsrc.html) but not with barcode (index.html is a real file). There are 2 sorts of rewrite directives: * Some are in the Apache config. You and I can't change them (unless you are a sysadmin). One of the things they do is rewrite /software/emacs/emacs.html to /savannah-checkouts/gnu/emacs/emacs.html: RewriteCond /var/www/savannah-checkouts/gnu/$1 -d RewriteRule ^/software/([^/]+)(.*)$ /savannah-checkouts/gnu/$1$2 * Others are generated from the .symlinks files, which webmasters and package maintainers can edit. Emacs has at least one: https://www.gnu.org/software/emacs/.symlinks Here is the first line: emacs.html index.html It is used to generate an entry in a rewrite map which is processed by a series of directives. The last one ends with [R,L], explaining the 302. Best, Thérèse