www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adam pedersen <a...@adeptsoftware.com>
Subject general/9771: alias fails
Date Fri, 08 Feb 2002 19:53:54 GMT

>Number:         9771
>Category:       general
>Synopsis:       alias fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Feb 08 12:00:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     adam@adeptsoftware.com
>Release:        1.3.22
>Organization:
apache
>Environment:
windows
>Description:
Your config docs state (in a couple places):

    # Note that if you include a trailing / on fakename then the server will
    # require it to be present in the URL.  So "/icons" isn't aliased in this
    # example, only "/icons/".  If the fakename is slash-terminated, then the 
    # realname must also be slash terminated, and if the fakename omits the 
    # trailing slash, the realname must also omit it.
    Alias /icons/ "C:/Apps/Server/Apache/icons/"

This works fine without any virtual servers.  If you list virtual servers aliases FAIL if
they don't have the trailing slash.

In your bug database it looks like this was reported before and brushed aside offhandedly.
 This problem is EASILY repeatable, and it does exist.  Contact me if you can't find it, and
I can send you my httpd.conf file.

When I add a line removing the trailing slash from icons:
    Alias /icons "C:/Apps/Server/Apache/icons"

This works on the virtual server: "http://127.0.0.1/icons/"
This fails on the virtual server: "http://127.0.0.1/icons"

Without virtual servers this DOES WORK.
>How-To-Repeat:
just did
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [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!     ]
 
 


Mime
View raw message