[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: webcvs/coreutils/.htaccess: redirection withou scheme?
From: |
Assaf Gordon |
Subject: |
Re: webcvs/coreutils/.htaccess: redirection withou scheme? |
Date: |
Tue, 31 Oct 2017 16:35:07 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
Hi,
On 2017-10-31 06:13 AM, Bernhard Voelker wrote:
+Redirect /software/coreutils/cp
/software/coreutils/manual/html_node/cp-invocation.html#cp-invocation
I don't know the Apache server settings, but I think this should work,
shouldn't it? I cannot test though ...
I've tested it on our dummy savannah project and it seems to work.
This is the new .htaccess file:
http://web.cvs.savannah.gnu.org/viewvc/test-project/test-project/.htaccess?revision=1.1&view=markup
Containing just one line:
Redirect /test-project/foobar.html /test-project/test/foo.html
And apache uses it:
$ curl -D /dev/stderr http://nongnu.org/test-project/foobar.html
HTTP/1.1 302 Found
Date: Tue, 31 Oct 2017 22:34:03 GMT
Server: Apache/2.4.7
Location: http://nongnu.org/test-project/test/foo.html
regards,
- assaf