Hi,
I have apache httpd.conf with this in it:
<Location /ww>
WKServer localhost 8086
SetHandler webkit-handler
</Location>
AddType text/psp .psp
AddHandler psp-handler .psp
pretty normal stuff. And I can use .psp files that aren't in /ww. However,
if I try to reference a context I have problems:
For instance my .psp file in / has this:
<%@page extends="bigstar.bigstar"%>
In Application.config I have this (an exerpt only):
'Contexts': {
'bigstar': '/home/webware/bigstar',
'default': '/home/webware/bigstar'
},
And when I try to reference this page, I get:
/var/www/html/test.psp
Traceback (most recent call last):
File "./WebKit/Application.py", line 388, in dispatchRequest
self.handleGoodURL(transaction)
File "./WebKit/Application.py", line 534, in handleGoodURL
self.createServletInTransaction(transaction)
File "./WebKit/Application.py", line 989, in createServletInTransaction
inst = self.getServlet(transaction,path,cache)
File "./WebKit/Application.py", line 916, in getServlet
inst = factory.servletForTransaction(transaction)
File "./PSP/PSPServletFactory.py", line 179, in servletForTransaction
instance =
self.createInstanceFromFile(trans,cachedfilename,classname,mtime,1)
File "./PSP/PSPServletFactory.py", line 124, in createInstanceFromFile
module = self.importAsPackage(transaction,filename)
File "./WebKit/ServletFactory.py", line 77, in importAsPackage
module = imp.load_module(fullmodname, fp, pathname, stuff)
File "/usr/local/Webware/WebKit/Cache/PSP/_var_www_html_test_psp.py",
line 6, in ?
if isinstance(bigstar.bigstar, types.ModuleType):
NameError: name 'bigstar' is not defined
Is there a way for my .psp files not under /ww to know about my bigstar
context?
--
---
Dennis Sacks
[EMAIL PROTECTED]
-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server
today at http://www.ServePath.com/indexfm.htm
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss