Always start Webware from an Application Directory. This way you can run multiple app servers that have thier own log and temp file space. You can put Webware in /usr/local/Webware, and anyone on your box can use it.

All of the contexts run in the same python instance, so they can share data. Its not a good way to partition applications.

-Aaron

YOON. Joo-Yung wrote:

Dear Aaron,

Thank you for your reply.
Yeah, you're right that the browswer entails the url with a "/".

Now I installed and am running the Webware.
It works good and faster than normal python cgi's.

What remains to me is a question of the mod_webkit.
My working directory is made in ~/working_directory.
And the context directory there is "context".
The /etc/init.d/webkt has WEBKIT_DIR=/home/yjy/working_directory.
So the AppServer is started from there.

My question is if the AppServer should only start in the working_directory.
Or else, is there a way to keep it starting from Webware directory,
and to put my working_directory indication in the Application.config
under Webware/WebKit/Configs as a key-value item of Contexts?
On Mon, Jan 05, 2004 at 10:18:49AM -0500, Aaron Held wrote:

Thanks in advance,


if you ask for

http://localhost/webware

Webware will send a redirect back to the browser telling it to get

http://localhost/webware/ (with the trailing slash)

Check that apache knows its proper servername or test with an IP.

-Aaron


jose wrote:




Dear Joo-Yung,

I think once you get webware up and running I think you will find that
it is one of the absolute best web environments to work with.


Looking at what you have so far your http.conf is almost configured
correctly.  What you have done is added a new location which actually
points to the webkit service, this will work correctly, however in order
to run your servlets you need to specify both the webware location and
the correct context (in your application.conf file).  Therefore
http://localhost/webware/ will point to the default context, and
http://localhost/webware/Examples/ will point to the Examples context.
To get around having to include the webware location within your url you
will have to either use redirects or include something like this:

Action application/py-serverpages /webware/
AddType application/py-serverpages .py

In your apache conf file.

The reason that I think you are getting the error page when you goto
http://localhost/webware is that you must not have in index.py or
index.html page in your default context.  Webkit does not do directory
listing the way that apache does, so webware does not know what to
process, hence the error.  Although I am not sure why adding the a at
the end of your url would get you to the examples context.  Hope this
helps, if not keep asking we'll provide more help.

Jose

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of YOON.
Joo-Yung
Sent: Friday, January 02, 2004 11:02 AM
To: [EMAIL PROTECTED]
Subject: [Webware-discuss] [Q] First Running


Hi, all,


I just installed and tested the first running
by http://localhost/webare.

It acts strange!
The apache says
        Moved Permanently
        The document has moved to .//.

But, I do http://localhost/webware/a
then my browswer shows the famous Examples pages.
Actually there is no such thing as 'a' in my /http/webware directory.

I use mod_webkit2 in the latest apache2.
And my httpd.conf is
        LoadModule webkit_module modules/mod_webkit.so
        <Location /webware>
           WKServer localhost 8086
           SetHandler webkit-handler
        </Location>

Could any decent Webwarer help me see my "Hello, World!" under webare?

Thanks in advance,

Joo-Yung


from Korea


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for
IBM's Free Linux Tutorials.  Learn everything from the bash shell to sys
admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Webware-discuss mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss








------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to