Re: [twsocket] HttpAppServer, how to alter client.path
Ok, it is working now. Just some missing slashes in path caused trouble. Peter > I found "AddGetAllowedPath" in demo project. > Is that something to to do with this? > What is it doing? > Not much comment about it in the source. > > Peter > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] HttpAppServer, how to alter client.path
I found "AddGetAllowedPath" in demo project. Is that something to to do with this? What is it doing? Not much comment about it in the source. Peter > Hi, > > I'm trying to create "nested" virtual document names like for example: > /Admin/Serverinfo > I created an URLHandler for that > HttpAppSrv.AddGetHandler('/Admin/ServerInfo', TUrlHandlerAdmin); > Images for web page are contained in {docroot}/images directory > In the template document I use relative path to images etc... > But this way the browser requests images from {webroot}/Admin/images/... > > Is there a way to rewrite path, to get images from directory one level up? > Or should I forget those fancy URLs? > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
[twsocket] HttpAppServer, how to alter client.path
Hi, I'm trying to create "nested" virtual document names like for example: /Admin/Serverinfo I created an URLHandler for that HttpAppSrv.AddGetHandler('/Admin/ServerInfo', TUrlHandlerAdmin); Images for web page are contained in {docroot}/images directory In the template document I use relative path to images etc... But this way the browser requests images from {webroot}/Admin/images/... Is there a way to rewrite path, to get images from directory one level up? Or should I forget those fancy URLs? Thanks Peter -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be