Still trying to figure out why you would be having this problem.  Do any
of the PSP's work?  For example do the example PSP's work?  

Jose

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Sent: Thursday, June 26, 2003 1:56 PM
To: [EMAIL PROTECTED]
Subject: RE: [Webware-discuss] still getting 404's


What exactly is a context? There is an __init__.py file in the MyContext

directory.

Here is all the info displayed when i run the appserver. And just to
clear 
up the directory structure a bit:

~merk/public_html is the directory i'm trying to work out of now. Apache

sees it fine as the index.html page loads up correctly. I have an 
index.html and a Hello.psp page in public_html, along with all the extra

directories and files the MakeAppWorking directory script created.

ian

WebKit AppServer 0.8
part of Webware for Python
Copyright 1999-2001 by Chuck Esterbrook. All Rights Reserved. WebKit and
Webware are open source. Please visit:  http://webware.sourceforge.net

Process id is 7749
Date/time is Thu Jun 26 13:57:19 2003

AutoReload             = 0
AutoReloadPollInterval = 1
CheckInterval          = 100
Host                   = 127.0.0.1
MaxServerThreads       = 20
MinServerThreads       = 5
PlugInDirs             = ['/disk/u/merk/work/Webware']
PlugIns                = []
Port                   = 8086
PrintConfigAtStartUp   = 1
StartServerThreads     = 10
Verbose                = 1

ActivityLogColumns              = ['request.remoteAddress', 
'request.method', 'r
equest.uri', 'response.size', 'servlet.name', 'request.timeStamp', 
'transaction.
duration', 'transaction.errorOccurred']
ActivityLogFilename             =
/disk/u/merk/public_html/Logs/Activity.csv
AdminPassword                   = XXXXXXXXX
CacheServletClasses             = 1
CacheServletInstances           = 1
ClearPSPCacheOnStart            = 1
Contexts                        = {'Admin': 
'/disk/u/merk/work/Webware/WebKit/Ad
min', 'default': 'MyContext', 'Testing': 
'/disk/u/merk/work/Webware/WebKit/Testi
ng', 'Examples': '/disk/u/merk/work/Webware/WebKit/Examples',
'MyContext': 
'MyCo
ntext'}
Debug                           = {'Sessions': 0}
DirectoryFile                   = ['index', 'Index', 'main', 'Main']
DynamicSessionTimeout           = 15
EmailErrorReportAsAttachment    = 0
EmailErrors                     = 0
ErrorEmailHeaders               = {'To': ['[EMAIL PROTECTED]'], 'Reply-to': 
'[EMAIL PROTECTED]', 'Fr
om': '[EMAIL PROTECTED]', 'Content-type': 'text/html', 'Subject': '[WebKit
Error]'}
ErrorEmailServer                = mail.-.com
ErrorLogFilename                =
/disk/u/merk/public_html/Logs/Errors.csv
ErrorMessagesDir                = /disk/u/merk/public_html/ErrorMsgs
ExtensionCascadeOrder           = ['.py', '.psp', '.html']
ExtensionsToIgnore              = ['.pyc', '.pyo', '.py~', '.psp~', 
'.html~', '.
bak', '.tmpl']
ExtensionsToServe               = []
ExtraPathInfo                   = 0
FancyTracebackContext           = 5
FilesToHide                     = ['.*', '*~', '*.bak', '*.tmpl', 
'*.config', '_
_init__.*', '*.pyc', '*.pyo']
FilesToServe                    = []
IgnoreInvalidSession            = 1
IncludeFancyTraceback           = 0
LogActivity                     = 0
MaxDynamicMemorySessions        = 10000
MaxValueLengthInExceptionReport = 500
OldStyleActions                 = 0
PrintConfigAtStartUp            = 1
RPCExceptionReturn              = traceback
ReportRPCExceptionsInWebKit     = 1
SaveErrorMessages               = 1
SessionPrefix                   = None
SessionStore                    = Dynamic
SessionTimeout                  = 60
ShowDebugInfoOnErrors           = 1
UnknownFileTypes                = {'CheckDate': 1, 'Technique':
'serveContent',
'CacheContent': 1, 'ReuseServlets': 1}
UseAutomaticPathSessions        = 0
UseCascadingExtensions          = 1
UserErrorMessage                = The site is having technical
difficulties 
with
  this page. An error has been logged, and the problem will be fixed as 
soon as p
ossible. Sorry!

Loading context: Admin at /disk/u/merk/work/Webware/WebKit/Admin
Loading context: Testing at /disk/u/merk/work/Webware/WebKit/Testing
Loading context: Examples at /disk/u/merk/work/Webware/WebKit/Examples
Loading context: MyContext at /disk/u/merk/public_html/MyContext

Current directory: /disk/u/merk/public_html
Session Sweeper started

Plug-ins list: /disk/u/merk/work/Webware/COMKit, 
/disk/u/merk/work/Webware/Middl
eKit, /disk/u/merk/work/Webware/MiscUtils,
/disk/u/merk/work/Webware/PSP, 
/disk/
u/merk/work/Webware/TaskKit, /disk/u/merk/work/Webware/UserKit, 
/disk/u/merk/wor
k/Webware/WebUtils
Loading plug-in: COMKit at /disk/u/merk/work/Webware/COMKit
     Plug-in /disk/u/merk/work/Webware/COMKit cannot be loaded because:
     Required op sys is ['nt'], but actual op sys is posix. Loading
plug-in: MiddleKit at /disk/u/merk/work/Webware/MiddleKit
Loading context: MKBrowser at
/disk/u/merk/work/Webware/MiddleKit/WebBrowser
Loading plug-in: MiscUtils at /disk/u/merk/work/Webware/MiscUtils
Loading plug-in: PSP at /disk/u/merk/work/Webware/PSP
Loading context: PSPExamples at /disk/u/merk/work/Webware/PSP/Examples
Loading plug-in: TaskKit at /disk/u/merk/work/Webware/TaskKit Loading
plug-in: UserKit at /disk/u/merk/work/Webware/UserKit Loading plug-in:
WebUtils at /disk/u/merk/work/Webware/WebUtils

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

At 08:41 AM 6/26/2003, you wrote:
>Just to be sure could you check your application.conf file to see what 
>contexts are actualy listed, also when you run athe appserver from the 
>command line it displays all sorts of startup info, is the ~merk 
>context loading correctly? If it is not, make sure that you have a 
>__init__.py file in it (all the file needs is a single # in it).  You 
>need the __init__.py for the context to load correctly, I've been 
>bitten by that in the past.
>
>Jose
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of Ian
>Sent: Thursday, June 26, 2003 4:04 AM
>To: [EMAIL PROTECTED]
>Subject: [Webware-discuss] still getting 404's
>
>
>I ran the MakeAppWorkDir.py file and it did its thing.
>
>I then ran the Appserver script in that directory and the app server 
>started up.
>
>However, every time i try to call a psp page in that directory, the 
>appserver comes back with 404. its not apache's 404 error message but 
>the appserver's 404 error message. The appserver is definitely getting 
>the
>request:
>
>Ready  (0.18 seconds after launch)
>
>      1  2003-06-26 04:03:58  /~merk/Hello.psp
>      1  0.00 secs            /~merk/Hello.psp
>
>      2  2003-06-26 04:04:00  /~merk/Hello.psp
>      2  0.00 secs            /~merk/Hello.psp
>
>      3  2003-06-26 04:04:01  /~merk/Hello.psp
>      3  0.00 secs            /~merk/Hello.psp
>
>Any other suggestions?
>
>Ian
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: INetU
>Attention Web Developers & Consultants: Become An INetU Hosting 
>Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly 
>Commission! INetU Dedicated Managed Hosting 
>http://www.inetu.net/partner/index.php
>_______________________________________________
>Webware-discuss mailing list [EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/webware-discuss
>
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: INetU
>Attention Web Developers & Consultants: Become An INetU Hosting 
>Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly 
>Commission! INetU Dedicated Managed Hosting 
>http://www.inetu.net/partner/index.php
>_______________________________________________
>Webware-discuss mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/webware-discuss



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Webware-discuss mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to