@@ -95,7 +95,7 @@ else if
95
95
)
96
96
) then
97
97
<dispatch xmlns = "http://exist.sourceforge.net/NS/exist" >
98
- <forward url = "/ {$exist:controller} /modules/get-package.xq" >
98
+ <forward url = "{$exist:controller} /modules/get-package.xq" >
99
99
<add-parameter name = "filename" value = "{$exist:resource} " />
100
100
</forward>
101
101
</dispatch>
@@ -111,7 +111,7 @@ else if
111
111
)
112
112
) then
113
113
<dispatch xmlns = "http://exist.sourceforge.net/NS/exist" >
114
- <forward url = "/ {$exist:controller} /modules/get-icon.xq" >
114
+ <forward url = "{$exist:controller} /modules/get-icon.xq" >
115
115
<add-parameter name = "filename" value = "{$exist:resource} " />
116
116
</forward>
117
117
</dispatch>
@@ -165,7 +165,7 @@ else if
165
165
$exist:path = ("/admin" , "/publish" )
166
166
) then
167
167
<dispatch xmlns = "http://exist.sourceforge.net/NS/exist" >
168
- <forward url = "login.html" />
168
+ <forward url = "{$exist:controller} / login.html" />
169
169
<view>
170
170
<forward url = "{$exist:controller} /modules/view.xq" >
171
171
<set-header name = "Cache-Control" value = "no-cache" />
@@ -177,7 +177,7 @@ else if
177
177
(: Allow authenticated users into admin page :)
178
178
else if (request:get-method () = ("GET" , "POST" ) and $exist:path eq "/admin" ) then
179
179
<dispatch xmlns = "http://exist.sourceforge.net/NS/exist" >
180
- <forward url = "admin.html" />
180
+ <forward url = "{$exist:controller} / admin.html" />
181
181
<view>
182
182
<forward url = "{$exist:controller} /modules/view.xq" >
183
183
<set-header name = "Cache-Control" value = "no-cache" />
0 commit comments