Created
April 2, 2017 11:28
-
-
Save mjau-mjau/65f7d7698ef2358ee6fdb7691f0a54a2 to your computer and use it in GitHub Desktop.
X3 Lighttp config
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
# Rewrite any calls to html|json|xml|atom|rss if a folder matching * exists | |
url.rewrite-if-not-file = ( | |
"(.+)\.(html|json|xml|atom|rss)$" => "$1/" | |
) | |
# Rewrite any calls to /render to the X3 image resizer | |
url.rewrite-once = ( | |
"^render/." => "app/parsers/slir/" | |
) | |
# Rewrite routes to X3 application index.php if they are non-existent files/dirs | |
url.rewrite-if-not-file = ( | |
"^(.*)/$" => "index.php?/$1/" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From another X3 user with X3 inside dir /x3/: