Skip to content

Instantly share code, notes, and snippets.

@jyotty
Created March 23, 2009 12:25
Show Gist options
  • Save jyotty/83530 to your computer and use it in GitHub Desktop.
Save jyotty/83530 to your computer and use it in GitHub Desktop.
# let me out of this Issue One
# This is part of an apache config file that ships with Lasso 8.5.
<Location ~ "^.*\.[Ll][Aa][Ss][Ss][Oo]$">
SetHandler lasso8-handler
</Location>
<Location ~ "^.*\.[Ll][Aa][Ss][Ss][Oo][Aa][Pp][Pp]$">
SetHandler lasso8-handler
</Location>
# '^.*' is meaningless (and incorrect, unless you think parsing a file named '.php'
# makes sense as well) and they seem to have a problem with case sensitivity.
# to save you the effort, this is the right way:
<Location ~ "(?i).\.lasso(?:app)?$">
# Addendum: apparently Apache has only had PCRE support since 2.x. If your Apache
# is from the 90s, you're forced to use char classes (and capturing parens).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment