URL Mapping - ApacheCon 2005
AliasMatch and ScriptAliasMatch
  • Just like Alias and ScriptAlias, but with regular expressions

  • More about regular expressions to come

    
     AliasMatch /cgi(-bin)?/ /usr/local/apache/cgi-bin/
    
      

  • ? indicates an optional match, so the above matches /cgi/ and /cgi-bin, mapping them both the same place

Index
Back to ScriptAlias
Forward to Redirect

ApacheCon 2005 : URL Mapping - Slide #7 of 45