www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Pedersen" <a...@adeptsoftware.com>
Subject Re: general/9771: alias fails
Date Sat, 09 Feb 2002 22:40:02 GMT
The following reply was made to PR general/9771; it has been noted by GNATS.

From: "Adam Pedersen" <adam@adeptsoftware.com>
To: "Marc Slemko" <marcs@znep.com>
Cc: "Apache bugs database" <apbugs@apache.org>
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 <apbugs@Apache.Org> 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
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <HTML><HEAD>
 <META http-equiv=3DContent-Type content=3D"text/html; =
 charset=3Diso-8859-1">
 <META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
 <STYLE></STYLE>
 </HEAD>
 <BODY bgColor=3D#ffffff>
 <DIV>
 <DIV><FONT size=3D2>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/".&nbsp; Only the latter works.&nbsp; If the =
 ServerName=20
 must match then the latter should also fail, right?&nbsp; Or more =
 properly,=20
 since it chose that virtual host by default instead of by name match, =
 maybe they=20
 should both succeed..&nbsp; The fact that one succeds suggests that this =
 
 functionality was at least attempted.</FONT></DIV>
 <DIV><FONT size=3D2></FONT><FONT size=3D2></FONT><FONT=20
 size=3D2></FONT>&nbsp;</DIV></DIV>
 <BLOCKQUOTE=20
 style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
 BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
   <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
   <DIV=20
   style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
 black"><B>From:</B>=20
   <A title=3Dmarcs@znep.com href=3D"mailto:marcs@znep.com">Marc =
 Slemko</A> </DIV>
   <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
 title=3Dadam@adeptsoftware.com=20
   href=3D"mailto:adam@adeptsoftware.com">Adam Pedersen</A> </DIV>
   <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A =
 title=3Dapbugs@apache.org=20
   href=3D"mailto:apbugs@apache.org">Apache bugs database</A> </DIV>
   <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Saturday, February 09, =
 2002 10:53=20
   AM</DIV>
   <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: general/9771: =
 alias=20
   fails</DIV>
   <DIV><BR></DIV>On Fri, 8 Feb 2002, Adam Pedersen wrote:<BR><BR>&gt;
If =
 that is=20
   true, it should fail in both cases, whether the URL ends in "/icons" =
 or=20
   "/icons/", right?<BR><BR>No.&nbsp; Again, it is only when the server =
 has to=20
   generate a redirect.<BR>When you don't include the trailing "/" for a=20
   directory, Apache needs<BR>to redirect you to the proper URL, the one=20
   including the trailing<BR>"/".<BR><BR>&gt; <BR>&gt; =
 Adam<BR>&gt;&nbsp;&nbsp;=20
   ----- Original Message ----- <BR>&gt;&nbsp;&nbsp; From: <A=20
   href=3D"mailto:marc@apache.org">marc@apache.org</A> =
 <BR>&gt;&nbsp;&nbsp; To: <A=20
   href=3D"mailto:adam@adeptsoftware.com">adam@adeptsoftware.com</A> ; <A =
 
   href=3D"mailto:apache-bugdb@apache.org">apache-bugdb@apache.org</A> ; =
 <A=20
   href=3D"mailto:marc@apache.org">marc@apache.org</A> =
 <BR>&gt;&nbsp;&nbsp; Sent:=20
   Friday, February 08, 2002 3:47 PM<BR>&gt;&nbsp;&nbsp; Subject: Re:=20
   general/9771: alias fails<BR>&gt; <BR>&gt; <BR>&gt;&nbsp;&nbsp;
[In =
 order for=20
   any reply to be added to the PR database, you =
 need]<BR>&gt;&nbsp;&nbsp; [to=20
   include &lt;<A =
 href=3D"mailto:apbugs@Apache.Org">apbugs@Apache.Org</A>&gt; in=20
   the Cc line and make sure the]<BR>&gt;&nbsp;&nbsp; [subject line =
 starts with=20
   the report component and number, with ]<BR>&gt;&nbsp;&nbsp; [or =
 without any=20
   'Re:' prefixes (such as "general/1098:" =
 or&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
   ]<BR>&gt;&nbsp;&nbsp; ["Re: general/1098:").&nbsp; If the subject
=
 doesn't=20
   match this&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]<BR>&gt;&nbsp;&nbsp;
=
 [pattern,=20
   your message will be misfiled and ignored.&nbsp;=20
   The&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]<BR>&gt;&nbsp;&nbsp;
=
 ["apbugs"=20
   address is not added to the Cc line of messages from&nbsp;=20
   ]<BR>&gt;&nbsp;&nbsp; [the database automatically because of the =
 potential for=20
   mail&nbsp;&nbsp; ]<BR>&gt;&nbsp;&nbsp; [loops.&nbsp; If you
do not =
 include=20
   this Cc, your reply may be ig-&nbsp;&nbsp; ]<BR>&gt;&nbsp;&nbsp;
=
 [nored unless=20
   you are responding to an explicit request from a&nbsp; =
 ]<BR>&gt;&nbsp;&nbsp;=20
   [developer.&nbsp; Reply only with text; DO NOT SEND=20
   ATTACHMENTS!&nbsp;&nbsp;&nbsp;&nbsp; ]<BR>&gt; <BR>&gt;
=
 <BR>&gt;&nbsp;&nbsp;=20
   Synopsis: alias fails<BR>&gt; <BR>&gt;&nbsp;&nbsp; =
 State-Changed-From-To:=20
   open-closed<BR>&gt;&nbsp;&nbsp; State-Changed-By: =
 marc<BR>&gt;&nbsp;&nbsp;=20
   State-Changed-When: Fri Feb&nbsp; 8 13:47:02 PST =
 2002<BR>&gt;&nbsp;&nbsp;=20
   State-Changed-Why:<BR>&gt;&nbsp;&nbsp; Please see the FAQ: <A=20
   =
 href=3D"http://httpd.apache.org/docs/misc/FAQ#set-servername">http://http=
 d.apache.org/docs/misc/FAQ#set-servername</A><BR>&gt;=20
   <BR>&gt;&nbsp;&nbsp; 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.&nbsp; <BR>&gt; <BR>&gt;&nbsp;&nbsp; This has nothing
to do =
 with the=20
   alias directive.<BR>&gt;</BLOCKQUOTE></BODY></HTML>
 
 ------=_NextPart_000_0023_01C1B187.C179C990--
 

Mime
View raw message