I've had a similar problem setting up mod_webkit2 on my home computer (Mac OS
10.3.1). I'm using apache2 and Webware 0.8.1. I installed both from source.
Webware and apache are in /usr/local/Webware and /usr/local/apache2, and I have
a separate app server dirctory in /usr/local/WK. After modifying WebKit.cgi (in
WebKit/Adapters) to point to /usr/local/WK and putting it in apache's cgi-bin,
it works great. However, I can't seen to connect with mod_webkit. My apache
error log reports that there was an error connecting to the app server (timed
out while connecting). My httpd.conf includes a file with the following:
LoadModule webkit_module modules/mod_webkit.so
<Location /WK>
WKServer localhost 8086
SetHandler webkit-handler
</Location>
I'm starting my app server with the AppServer script in /usr/local/WK. Both
apache and the app server are runnning as the same user (me).
Any ideas?
Thanks,
John
On Nov 23, 4:07pm, Stanislav Pet wrote:
> Subject: [Webware-discuss] Problem with using mod_webkit
> Hello
>
> I have a problem with accessing AppServer with mod_webkit.
> My installation of Webware is in directory /usr/local/WebWare.
> My AppServer is running and I changed httpd.conf according to the
> instalation instructions of mod_webkit:
>
> AddType py-serverpages .py
> Action py-serverpages /WK
> <Location /WK>
> WKServer localhost 8086
> SetHandler webkit_handler
> </Location>
>
> When I access AppServer using cgi (http://localhost/cgi-bin/wkcgi),
> everything is OK. But I would like to use mod_webkit.
>
> I created a directory "WK" in apache's document root, but when I try to
> access it (http://localhost/WK), I get answer:
>
> Not Found
> The requested URL /WK/ was not found on this server.
>
> and in apache's error log is record:
>
> [error] [client 127.0.0.1] Attempt to serve directory: /var/www/WK/,
> referer: http://localhost/
>
> When there is no "WK" directory in document root and I still try to
> access it, I get answer:
>
> Not Found
> The requested URL /WK was not found on this server.
>
> and in apache's error log is record:
>
> [error] [client 127.0.0.1] File does not exists: /var/www/WK
>
>
> What should I do to make mod_webkit run properly? I hope this is not so
> silly question.
>
>
> Thanks for any answer, Satano
>
> PS: I use WebWare 0.8.1
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Webware-discuss mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
>-- End of excerpt from Stanislav Pet
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss