I have been using webware 0.81 for sometime with success on OS X server 10.3x and 10.4. I just did an clean install of OS X server 10.4.3 and then installed webware 0.9

Without any changes to my web directory .psp seems to be broken for me


It get the following error when I try to access the web page www.adeptsystemsinc.com/index.psp

Error 404
Page Not Available
The page you requested, /index.psp/Library/WebServer/Documents/ adeptsystemsinc/index.psp, was not found on this server.
Webware Webkit Application Server

this shows up in the appserver console

  31  2005-12-18 20:12:28  /index.psp
HTTPResponse: /index.psp: Not Found
   31  0.00 secs            /index.psp


It appears that webkit is not correctly generating the url and is putting the page in front of the url as well as behind it.

I am using apache 1.3.33
and mod_webkit that came with 0.9

I am using a virtual site
Here is the conf file. It is unchanged from the one I used in 0.81


## Default Virtual Host Configuration

<VirtualHost *:80>
        ServerName www.adeptsystemsinc.com
        ServerAlias adeptsystemsinc.com gadgettek.com *.gadgettek.com
        ServerAdmin [EMAIL PROTECTED]
        DocumentRoot "/Library/WebServer/Documents/adeptsystemsinc"
ScriptAlias /cgi-bin/ "/Library/WebServer/Documents/adeptsystemsinc/ cgi-bin/"
        CustomLog "/var/log/httpd/access_log" "%h %l %u %t \"%r\" %>s %b"
        ErrorLog "/var/log/httpd/error_log"
        ErrorDocument 404 /error.html
        <IfModule mod_ssl.c>
                SSLEngine Off
                SSLLog "/var/log/httpd/ssl_engine_log"
                SSLCertificateChainFile "/etc/httpd/ssl.crt/ca.crtX"
                SSLCertificateFile "/etc/httpd/ssl.crt/server.crtX"
                SSLCertificateKeyFile "/etc/httpd/ssl.key/server.keyX"
SSLCipherSuite "ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:!SSLv2:+EXP: +eNULL"
        </IfModule>
        <IfModule mod_dav.c>
                DAVLockDB "/var/run/davlocks/.davlock100"
                DAVMinTimeout 600
        </IfModule>
        <Directory "/Library/WebServer/Documents/adeptsystemsinc/">
                Options All +Indexes +ExecCGI -Includes +MultiViews
                <IfModule mod_dav.c>
                        DAV On
                </IfModule>
                AllowOverride None
        </Directory>
        <IfModule mod_rewrite.c>
                RewriteEngine On
                RewriteCond %{REQUEST_METHOD} ^TRACE
                RewriteRule .* - [F]
        </IfModule>
        <IfModule mod_alias.c>
        </IfModule>
        <IfModule mod_webkit.c>
                AddType text/psp .psp
                AddHandler psp-handler .psp
                <Location /WK>
                        WKServer localhost 8086
                        SetHandler webkit-handler
                </Location>
        </IfModule>
        LogLevel warn
        Include "/etc/httpd/httpd_squirrelmail.conf"
        DirectoryIndex "index.psp" "index.html" "index.php"
</VirtualHost>


Here is the screen dump from building and installing mod webkit



server:/usr/local/webware/Webware-0.9/webkit/adapters/mod_webkit admin $ sudo make
/usr/sbin/apxs -c -o mod_webkit.so    mod_webkit.c marshal.c
gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os - pipe -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/ httpd -c mod_webkit.c
In file included from /usr/include/httpd/ap_config.h:1129,
                 from /usr/include/httpd/httpd.h:29,
                 from mod_webkit.h:2,
                 from mod_webkit.c:7:
/usr/include/httpd/hsregex.h:22:1: warning: "ap_private_extern" redefined
In file included from /usr/include/httpd/httpd.h:29,
                 from mod_webkit.h:2,
                 from mod_webkit.c:7:
/usr/include/httpd/ap_config.h:1025:1: warning: this is the location of the previous definition gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os - pipe -DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/ httpd -c marshal.c
In file included from /usr/include/httpd/ap_config.h:1129,
                 from /usr/include/httpd/httpd.h:29,
                 from mod_webkit.h:2,
                 from marshal.c:9:
/usr/include/httpd/hsregex.h:22:1: warning: "ap_private_extern" redefined
In file included from /usr/include/httpd/httpd.h:29,
                 from mod_webkit.h:2,
                 from marshal.c:9:
/usr/include/httpd/ap_config.h:1025:1: warning: this is the location of the previous definition cc -bundle -undefined suppress -flat_namespace -Wl,-bind_at_load -o mod_webkit.so marshal.o mod_webkit.o
server:/usr/local/webware/Webware-0.9/webkit/adapters/mod_webkit admin$


sudo make install
/usr/sbin/apxs -i -n webkit mod_webkit.so
cp mod_webkit.so /usr/libexec/httpd/mod_webkit.so
chmod 755 /usr/libexec/httpd/mod_webkit.so
server:/usr/local/webware/Webware-0.9/webkit/adapters/mod_webkit admin$



**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84043
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to