Ok lets take this one step at a time,

1) lets assume that you created your working app dir with this code:
C:\Program Files\Webware\bin>MakeAppWorkDir.py -c htdocs -l libs "C:\Program Files\wk_working"
this will create the within the wk_working folder, in addition to the usual webkit files two folders, libs and htdocs. the libs folder is a handy place to put various python libraries which would be available to all the contexts that you create within this working folder. The htdocs folder is your default context, this is where your webware servelts, psp etc files go. by default it will contain a Main.py file which should get you started.


2) in the Configs folder there is an Application.config file, it contains a section called contexts which lists all the contexts for this appserver, either as fullpaths or relative to the working app folder.

3) With wkcgi.exe copied to a folder in Apache that can run the cgi program (cig-bin) you would access the default context like this:

http://localhost/cgi-bin/wkcgi.exe/

to view the Examples use:
http://localhost/cgi-bin/wkcgi.exe/Examples

Once you get things running like this, you may want to consider using the apache connector, and / or using the NTservice rather then the Appserver.bat file.

Hope this helps



Vardas Pavarde wrote:

Hello,
thanks for letters, but I still have problems- browser doesn't find my file- I write http://localhost/WebKit and nothing.I don't understand how I should show the path in a browser to reach application.I run Apache and copied wkcgi.exe file to Apache cgi-bin. And I don't quite understand what I could change in configs files
thanks


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to