Hi All,
Can someone please assist in getting URL rewrite working on a simple HANA XS application? I keep getting a 404 not found.
My application root is located at:
/MAIN/PACKAGE1/
I am trying to map this:
/MAIN/PACKAGE1/svc/...
to:
/MAIN/PACKAGE1/services/...
The .xsaccess file looks like this:
{
"exposed" : true,
"authentication" :
{
"method": "Form"
},
"rewrite_rules" :
[ { "source": "/MAIN/PACKAGE1/svc/(.*)",
"target": "/MAIN/PACKAGE1/services/$1"}
]
}
The following URL works:
/MAIN/PACKAGE1/services/getCurrentUser.xsjs
But this one does not: