Hi,

I'm trying to configure a directory to use psp files.  I've created a
directory in my apache htdocs file and in that directory I have a very
simple psp file (called `sample.psp') that looks like this:

<HTML>
<HEAD>
<TITLE>Test</TITLE>
</HEAD>
<BODY>
foo
</BODY>
</HTML>

When I attempt to load that file, I get a 404 error, and the WebWare
log shows this:

    4  2001-11-26 00:16:06  /modis/sample
WARNING: For , did not get precisely 1 filename: []
    4  0.00 secs            /modis/sample

Nothing shows up in the Apache log.

I'm using apache 1.3.20, WebWare 0.6b2, and the mod_webkit adapter.
Apache and WebWare were both installed in my home directory.

My httpd.conf file has the following directives:

LoadModule webkit_module      libexec/mod_webkit.so
<Location /modis>
    WKServer 172.16.0.71 8086
    SetHandler webkit-handler
    AddType text/psp .htm
    AddHandler psp-handler .htm
    AddType text/psp .psp
    AddHandler psp-handler .psp
</Location>

I've installed WebWare per the directions (using the install.py file).
I configured the AppServer.config as follows:

{
    'PrintConfigAtStartUp': 1,
    'Verbose':              1,      
    'Host':                 '172.16.0.71',
    'Port':                 8086,   
    'PlugIns':              [],     
    'PlugInDirs':           ['%(WebwarePath)s'],
    'StartServerThreads':   10,
    'MaxServerThreads':     20,     
    'MinServerThreads':     5,
    'CheckInterval':        100,    
}

Other than my admin password, the only thing I changed in
Application.config is this:

    'Contexts':             {
                             'Admin':         '%(WebKitPath)s/Admin',
                             'Examples':      '%(WebKitPath)s/Examples',
                             'Docs':          '%(WebKitPath)s/Docs',
                             'Testing':       '%(WebKitPath)s/Testing',
                             'default':       '/home/thoth/apache/htdocs/webkit', 
##MAWD
                             'modis':        '%(WebKitPath)s/modis'
                            },      

I added the "modis" line and modified the default line.  When I had
specified the complete path (as with default) for the modis context,
it didn't work, so I tried making it similar to the other examples
above, but both give me a 404 error.

I've looked over the documentation, but I can't find an answer to this
problem.  Any help would be greatly appreciated.

-----------------------------------------------------
Steven D. Arnold               [EMAIL PROTECTED]
AIM: abraxan              MSN: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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

Reply via email to