Hi, Stuart Donaldson hat gesagt: // Stuart Donaldson wrote: > Has anyone else tried the psp-handler and either extraURL information, > or the ~user expansion?
~user expansion is 'broken' here as well (Linux/apache). I always use this Page method shorthand to know where ~me is: def getServletRoot(self): req = self.request() context = req.contextName() adapter = req.adapterName() return "/".join([adapter, context]) (This would better be called getContextRoot()...) extraPathInfo then works (using Webware CVS) if I include the servlets name, i.e. call "http://www/~me/cgi-bin/wk.cgi/ServletRoot/main/ExtraToGet" and not "http://www/~me/cgi-bin/wk.cgi/ServletRoot/ExtraToGet" Then this: def printExtra(self): root = self.getServletRoot() path_info = self.request().extraURLPath() self.writeln('''<br> root: %s <br>extra: %s ''' % (root,path_info)) writes: root: /~me/cgi-bin/wk.cgi/ServletRoot extra: /ExtraToGet My workaround for this is to have a Main.py that just redirects to the real servlet's name. ciao -- Frank Barknecht _ ______footils.org__ ------------------------------------------------------- This SF.NET email is sponsored by: The Best Geek Holiday Gifts! Time is running out! Thinkgeek.com has the coolest gifts for your favorite geek. Let your fingers do the typing. Visit Now. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel