Greetings all,

I'm an experienced pythonista but completely new to web programming (and unix!) 
and am trying to get my feet wet with Webware.

On my home win nt machine, I installed Webware 0.5 and can access the examples 
via localhost:8086.

On my newly acquired host (www.blennylips.com) servered by missoulaweb.com
(linux, Apache 1.3.17, python 2.1, Webware 0.5) I can do all the install steps okay, 
but 
invoking AppServer from within the WebKit dir gets:
rbash: AppServer: command not found

(I think this is because the sandbox missoulaweb provides does not allow '/' in any 
shell 
command)

If I manually start it, I get

rburnham@sentinel:/htdocs/www/Webware/WebKit$ python Launch.py AsyncThreadedAppSer
ver
WebKit AppServer 0.5
part of Webware for Python
Copyright 1999-2000 by Chuck Esterbrook. All Rights Reserved.
WebKit and Webware are open source.
Please visit:  http://webware.sourceforge.net

Process id is 8105

Host                 = 127.0.0.1
PlugInDirs           = ['..']
PlugIns              = []
Port                 = 8086
PrintConfigAtStartUp = 1
ServerThreads        = 10
Verbose              = 1

ActivityLogColumns       = ['request.remoteAddress', 'request.method', 'request.ur
i', 'response.size', 'servlet.name', 'request.timeStamp', 'transaction.duration',
'transaction.errorOccurred']
ActivityLogFilename      = /htdocs/www/Webware/WebKit/Logs/Activity.csv
AdminPassword            = webware
CacheServletClasses      = 1
CacheServletInstances    = 1
Contexts                 = {'Examples': 'Examples', 'Testing': 'Testing', 'default
': 'Examples', 'Docs': 'Docs', 'Admin': 'Admin'}
Debug                    = {'Sessions': 0}
DirectoryFile            = ['index', 'Main']
DynamicSessionTimeout    = 15
EmailErrors              = 0
ErrorEmailHeaders        = {'Subject': 'Error', 'Content-type': 'text/html', 'From
': '[EMAIL PROTECTED]', 'Reply-to': '[EMAIL PROTECTED]', 'To': ['[EMAIL PROTECTED]']}
ErrorEmailServer         = mail.-.com
ErrorLogFilename         = /htdocs/www/Webware/WebKit/Logs/Errors.csv
ErrorMessagesDir         = /htdocs/www/Webware/WebKit/ErrorMsgs
ExtensionsToIgnore       = ['.pyc', '.pyo', '.py~', '.bak']
ExtraPathInfo            = 0
IgnoreInvalidSession     = 0
LogActivity              = 0
MaxDynamicMemorySessions = 10000
PrintConfigAtStartUp     = 1
SaveErrorMessages        = 1
SessionStore             = Dynamic
SessionTimeout           = 60
ShowDebugInfoOnErrors    = 1
UnknownFileTypes         = {'ReuseServlets': 1, 'CacheContent': 1, 'Technique': 's
erveContent', 'CheckDate': 1}
UserErrorMessage         = The site is having technical difficulties with this pag
e. An error has been logged, and the problem will be fixed as soon as possible. So
rry!

Loading context: Examples at /htdocs/www/Webware/WebKit/Examples
Loading context: Testing at /htdocs/www/Webware/WebKit/Testing
Loading context: default at /htdocs/www/Webware/WebKit/Examples
Loading context: Docs at /htdocs/www/Webware/WebKit/Docs
Loading context: Admin at /htdocs/www/Webware/WebKit/Admin

Current directory: /htdocs/www/Webware
Session Sweeper started

Plug-ins list: /htdocs/www/Webware/COMKit, /htdocs/www/Webware/MiddleKit, /htdocs/
www/Webware/MiscUtils, /htdocs/www/Webware/PSP, /htdocs/www/Webware/TaskKit, /htdo
cs/www/Webware/UserKit, /htdocs/www/Webware/WebUtils
Loading plug-in: COMKit at /htdocs/www/Webware/COMKit
    Plug-in /htdocs/www/Webware/COMKit cannot be loaded because:
    Required op sys is ['nt'], but actual op sys is posix.
Loading plug-in: MiddleKit at /htdocs/www/Webware/MiddleKit
Loading context: MKBrowser at /htdocs/www/Webware/MiddleKit/WebBrowser
Loading plug-in: MiscUtils at /htdocs/www/Webware/MiscUtils
Loading plug-in: PSP at /htdocs/www/Webware/PSP
Loading context: PSPExamples at /htdocs/www/Webware/PSP/Examples
Loading plug-in: TaskKit at /htdocs/www/Webware/TaskKit
Loading plug-in: UserKit at /htdocs/www/Webware/UserKit
Loading plug-in: WebUtils at /htdocs/www/Webware/WebUtils

Listening on ('127.0.0.1', 8086)
Creating 10 threads..........
Ready

But cannot figure out how to access the WebKit examples from my browser!

Don't know what else is relevant...

My .htaccess is

rburnham@sentinel:/$ cat .htaccess
<IfModule mod_cgi.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/cgi-bin/.*$
RewriteCond %{REQUEST_URI} !^/cgi-bin/sbox.*$
RewriteRule ^.*/cgi-bin/(.*)$ /cgi-bin/sbox/$1 [PT]
</IfModule>


Could someone please tell me what I've missed?

Thanks,

Roger Burnham
[EMAIL PROTECTED]
Cambridge Research & Instrumentation
www.cri-inc.com

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to