Hi Mate,
To get to http://myserver.sapdomain.com you need to ask network team to create alias of
myserver.eccservers.sapdomain.com >> myserver.sapdomain.com
-as this will be the safe bet due to the fact that there needs to be some routing for this path or else HTTP 404 is your result always.
Now if that alias is created then one way will be to add entry in HTTPURLLOC table with the below values.
Client ###
Sort/Search/Match Sequence (First Match Wins) 0000
Protocol for URL (TRANSLATE TO UPPER CASE) HTTP
Application Key (BSP=/BSP/Namespace/Name) (*=wildcard&UPPER)
Target Domain, (* = Wildcard & UPPER CASE)
Host Name with Domain myserver.sapdomain.com
Port Number 8002
Do note - by putting value in application key to - /bsp/persos/mainapp/index.html will only reflect this SICF entry not others and other can go via.. - myserver.eccservers.sapdomain.com
You have to test it properly though but again.. that url rewriting of with domain needs that DNS alias to get created by network else won't work - (again - due to the face DNS doesn't knows who is myserver in sapdoamin.com)
Cheers,
TD