Created
March 23, 2009 12:25
-
-
Save jyotty/83530 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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