Return-Path: Delivered-To: apmail-apache-bugdb-archive@apache.org Received: (qmail 52271 invoked by uid 500); 9 Feb 2002 22:40:03 -0000 Mailing-List: contact apache-bugdb-help@apache.org; run by ezmlm Precedence: bulk Reply-To: apache-bugdb@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-bugdb@apache.org Received: (qmail 52094 invoked by uid 501); 9 Feb 2002 22:40:02 -0000 Date: 9 Feb 2002 22:40:02 -0000 Message-ID: <20020209224002.52090.qmail@apache.org> To: apache-bugdb@apache.org Cc: apache-bugdb@apache.org, From: "Adam Pedersen" Subject: Re: general/9771: alias fails Reply-To: "Adam Pedersen" The following reply was made to PR general/9771; it has been noted by GNATS. From: "Adam Pedersen" To: "Marc Slemko" Cc: "Apache bugs database" Subject: Re: general/9771: alias fails Date: Sat, 9 Feb 2002 16:35:16 -0600 This is a multi-part message in MIME format. ------=_NextPart_000_0023_01C1B187.C179C990 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I see what you are saying, but I already looked into that - I renamed = the icons folder to "icons2" and tried the redirect to it with both = "/icons" and "/icons/". Only the latter works. If the ServerName must = match then the latter should also fail, right? Or more properly, since = it chose that virtual host by default instead of by name match, maybe = they should both succeed.. The fact that one succeds suggests that this = functionality was at least attempted. ----- Original Message -----=20 From: Marc Slemko=20 To: Adam Pedersen=20 Cc: Apache bugs database=20 Sent: Saturday, February 09, 2002 10:53 AM Subject: Re: general/9771: alias fails On Fri, 8 Feb 2002, Adam Pedersen wrote: > If that is true, it should fail in both cases, whether the URL ends = in "/icons" or "/icons/", right? No. Again, it is only when the server has to generate a redirect. When you don't include the trailing "/" for a directory, Apache needs to redirect you to the proper URL, the one including the trailing "/". >=20 > Adam > ----- Original Message -----=20 > From: marc@apache.org=20 > To: adam@adeptsoftware.com ; apache-bugdb@apache.org ; = marc@apache.org=20 > Sent: Friday, February 08, 2002 3:47 PM > Subject: Re: general/9771: alias fails >=20 >=20 > [In order for any reply to be added to the PR database, you need] > [to include in the Cc line and make sure the] > [subject line starts with the report component and number, with ] > [or without any 'Re:' prefixes (such as "general/1098:" or ] > ["Re: general/1098:"). If the subject doesn't match this ] > [pattern, your message will be misfiled and ignored. The ] > ["apbugs" address is not added to the Cc line of messages from ] > [the database automatically because of the potential for mail ] > [loops. If you do not include this Cc, your reply may be ig- ] > [nored unless you are responding to an explicit request from a ] > [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] >=20 >=20 > Synopsis: alias fails >=20 > State-Changed-From-To: open-closed > State-Changed-By: marc > State-Changed-When: Fri Feb 8 13:47:02 PST 2002 > State-Changed-Why: > Please see the FAQ: = http://httpd.apache.org/docs/misc/FAQ#set-servername >=20 > If the ServerName isn't set properly for a vhost or for the main = server, then unless you set "UseCanonicalName off", Apache will use the = improperly set servername, which your client won't be able to resolve. =20 >=20 > This has nothing to do with the alias directive. > ------=_NextPart_000_0023_01C1B187.C179C990 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I see what you are saying, but I already looked into = that - I=20 renamed the icons folder to "icons2" and tried the redirect to it with = both=20 "/icons" and "/icons/".  Only the latter works.  If the = ServerName=20 must match then the latter should also fail, right?  Or more = properly,=20 since it chose that virtual host by default instead of by name match, = maybe they=20 should both succeed..  The fact that one succeds suggests that this = functionality was at least attempted.
 
----- Original Message -----
From:=20 Marc = Slemko
Sent: Saturday, February 09, = 2002 10:53=20 AM
Subject: Re: general/9771: = alias=20 fails

On Fri, 8 Feb 2002, Adam Pedersen wrote:

> If = that is=20 true, it should fail in both cases, whether the URL ends in "/icons" = or=20 "/icons/", right?

No.  Again, it is only when the server = has to=20 generate a redirect.
When you don't include the trailing "/" for a=20 directory, Apache needs
to redirect you to the proper URL, the one=20 including the trailing
"/".

>
> = Adam
>  =20 ----- Original Message -----
>   From: marc@apache.org =
>   To: adam@adeptsoftware.com ; apache-bugdb@apache.org ; = marc@apache.org =
>   Sent:=20 Friday, February 08, 2002 3:47 PM
>   Subject: Re:=20 general/9771: alias fails
>
>
>   [In = order for=20 any reply to be added to the PR database, you = need]
>   [to=20 include <apbugs@Apache.Org> in=20 the Cc line and make sure the]
>   [subject line = starts with=20 the report component and number, with ]
>   [or = without any=20 'Re:' prefixes (such as "general/1098:" = or     =20 ]
>   ["Re: general/1098:").  If the subject = doesn't=20 match this       ]
>   = [pattern,=20 your message will be misfiled and ignored. =20 The       ]
>   = ["apbugs"=20 address is not added to the Cc line of messages from =20 ]
>   [the database automatically because of the = potential for=20 mail   ]
>   [loops.  If you do not = include=20 this Cc, your reply may be ig-   ]
>   = [nored unless=20 you are responding to an explicit request from a  = ]
>  =20 [developer.  Reply only with text; DO NOT SEND=20 ATTACHMENTS!     ]
>
> =
>  =20 Synopsis: alias fails
>
>   = State-Changed-From-To:=20 open-closed
>   State-Changed-By: = marc
>  =20 State-Changed-When: Fri Feb  8 13:47:02 PST = 2002
>  =20 State-Changed-Why:
>   Please see the FAQ: http://http= d.apache.org/docs/misc/FAQ#set-servername
>=20
>   If the ServerName isn't set properly for a vhost = or for=20 the main server, then unless you set "UseCanonicalName off", Apache = will use=20 the improperly set servername, which your client won't be able to=20 resolve. 
>
>   This has nothing to do = with the=20 alias directive.
> ------=_NextPart_000_0023_01C1B187.C179C990--