-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
291 additions
and
223 deletions.
There are no files selected for viewing
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
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
5 changes: 5 additions & 0 deletions
5
src/main/xar-resources/data/urlrewrite/listings/listing-14.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(: If the request's path is empty, append a trailing slash / :) | ||
if ($exist:path eq "") then | ||
<dispatch xmlns="http://exist.sourceforge.net/NS/exist"> | ||
<redirect url="{concat(request:get-uri(), '/')}"/> | ||
</dispatch> |
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
10 changes: 6 additions & 4 deletions
10
src/main/xar-resources/data/urlrewrite/listings/listing-7.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<!-- | ||
Default configuration: main web application is served from the | ||
webapp directory. | ||
<!-- HTTP requests to /apps are mapped onto the database path /db/apps --> | ||
<root pattern="/apps" path="xmldb:exist:///db/apps"/> | ||
|
||
<!-- | ||
++ The default fallback web application is served from the | ||
++ /etc/webapp directory on the filesystem. | ||
--> | ||
<root pattern="/tools" path="xmldb:exist:///db/www"/> | ||
<root pattern=".*" path="/"/> |
Oops, something went wrong.