all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Therese Godefroy <thg@gnu.org>, 43000@debbugs.gnu.org
Subject: bug#43000: [Web pages] Proposed changes to tour/index.html
Date: Sun, 6 Sep 2020 20:13:01 -0700	[thread overview]
Message-ID: <CADwFkmkgMFAmRpo0bAqXWQS-VO7kRFm=sN-7GvwgDmz2d1OXRQ@mail.gmail.com> (raw)
In-Reply-To: <e8b2dc78-075d-6649-fa3c-0bfe35de3387@gnu.org>

Therese Godefroy <thg@gnu.org> writes:

> I don't think this has to do with recent changes. It has to do with URL
> rewriting by an Apache module.
>
> The URLs in your navigation links are relative to the current directory,
> which happens to be on Savannah:
>       <a href="emacs.html">Home</a>
>       <a href="download.html">Download</a>
>
> If you want them to be rewritten to the software directory, you need to
> make the URLs relative to server root:
>       <a href="/software/emacs/emacs.html">Home</a>
>       <a href="/software/emacs/download.html">Download</a>
>
> As a bonus, you will be able to move files from one directory to another
> without breaking the links. For instance, the navlinks will be the same
> in emacs.html and tour/index.html.

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.

I see that there is a 302 (temporary) redirect here:

$ curl https://www.gnu.org/software/emacs/index.html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a
href="https://www.gnu.org/savannah-checkouts/gnu/emacs/emacs.html">here</a>.</p>
<hr>
<address>Apache/2.4.7 Server at www.gnu.org Port 443</address>
</body></html>

Do you know if this is expected?

Best regards,
Stefan Kangas





  reply	other threads:[~2020-09-07  3:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-23 19:24 bug#43000: [Web pages] Proposed changes to tour/index.html Thérèse Godefroy
2020-08-24  2:13 ` Stefan Kangas
2020-08-24 12:32   ` Thérèse Godefroy
2020-08-26 21:58     ` Stefan Kangas
2020-08-27 12:26       ` Thérèse Godefroy
2020-09-01 14:36         ` Stefan Kangas
2020-09-01 18:43           ` Thérèse Godefroy
2020-09-06  3:47             ` Stefan Kangas
2020-09-06 15:48               ` Therese Godefroy
2020-09-07  3:13                 ` Stefan Kangas [this message]
2020-09-07 15:07                   ` Therese Godefroy
2020-10-24 12:37                     ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmkgMFAmRpo0bAqXWQS-VO7kRFm=sN-7GvwgDmz2d1OXRQ@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=43000@debbugs.gnu.org \
    --cc=thg@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.