Is it possible to have an Apache Server evaluate its Aliases before it evaluates its Locations?
Alias /foo /bar
<Location "/bar">
SetHandler None
&l开发者_JS百科t;/Location>
So that the above code will work?
Actually it will, but based on your example you are not using alias correctly. It handles URL to file/directory mapping, which is why your location directive is not applying.
This is what I think you're looking for:
Alias /foo /var/www/foo
Alias /bar /var/www/foo
<Location "/bar">
    SetHandler None
</Location>
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论