[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#507999: marked as done (VirtualDocumentRoot and Redirect via htaccess yield wrong result)



Your message dated Sun, 29 May 2016 11:34:29 +0200 (CEST)
with message-id <alpine.DEB.2.11.1605291133380.30665@eru.sfritsch.de>
and subject line Re: Bug#507999: VirtualDocumentRoot and Redirect via htaccess yield wrong result
has caused the Debian Bug report #507999,
regarding VirtualDocumentRoot and Redirect via htaccess yield wrong result
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
507999: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507999
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache2
Version: 2.2.3-4+etch6
Severity: normal

I redirect a few debian.net domains to their rightful locations,
such as patches.debian.net. This is done with

  VirtualDocumentRoot /srv/apache2/debian.net/htdocs/%-3+/

and then /srv/apache2/debian.net/htdocs/patches/.htaccess with the
following content:

  RedirectTemp / http://patch-tracking.debian.net/

Unfortunately, something seems to eat that trailing slash, because
even though http://patches.debian.net works,
http://patches.debian.net/package yields
http://patches-tracking.debian.netpackage without the slash.

I tried RedirectMatch ^/(.*) and ^(.*) and also RedirectTemp with
/patches/ instead of /, but none of those worked either.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


--- End Message ---
--- Begin Message ---
Version: 2.4.10-10

This seems to be fixed in 2.4. At least I could not reproduce it in 
jessie.

On Sat, 6 Dec 2008, martin f krafft wrote:

> Package: apache2
> Version: 2.2.3-4+etch6
> Severity: normal
> 
> I redirect a few debian.net domains to their rightful locations,
> such as patches.debian.net. This is done with
> 
>   VirtualDocumentRoot /srv/apache2/debian.net/htdocs/%-3+/
> 
> and then /srv/apache2/debian.net/htdocs/patches/.htaccess with the
> following content:
> 
>   RedirectTemp / http://patch-tracking.debian.net/
> 
> Unfortunately, something seems to eat that trailing slash, because
> even though http://patches.debian.net works,
> http://patches.debian.net/package yields
> http://patches-tracking.debian.netpackage without the slash.
> 
> I tried RedirectMatch ^/(.*) and ^(.*) and also RedirectTemp with
> /patches/ instead of /, but none of those worked either.

--- End Message ---

Reply to: