[Webware-discuss] Confused about contexts and URI's

2005-12-02 Thread Mike Baranski
So, could someone point me to the right docs for this.

I don't understand how to add a 'context', point it at a directory, and
have that load a default page to start a section of a site.

The httpd/apache equivalent would be creating a directory under the
document root, adding an index.html file, and pointing the browser to 

http://myserver/newdirectory

This will drop me into the newdirectory 'context', and server-up the
index page.

Thanks,
Mike.

-- 
Security Management Consulting
2501 Blue Ridge Road
Raleigh, N.C. 27607

Phone:(919) 788-9200
Fax:  (919) 510-0037
Mobile:   (919) 395-0620





---
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=7637alloc_id=16865op=click
___
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss


Re: [Webware-discuss] Confused about contexts and URI's

2005-12-02 Thread Christoph Zwerschke

Mike Baranski wrote:
 So, could someone point me to the right docs for this.

Did you have a look at the WebKit doco?
http://www.w4py.org/WebKit/Docs/

Particularly:
http://www.w4py.org/WebKit/Docs/Tutorial.html
http://www.w4py.org/WebKit/Docs/ApplicationDevelopment.html

 I don't understand how to add a 'context', point it at a directory,
 and have that load a default page to start a section of a site.

You can create a default context with the MakeAppWorkDir script as 
documented above. To add more contexts or change the default page (both 
is normaly not needed) you will have to modify Application.config.


-- Christoph


---
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=7637alloc_id=16865op=click
___
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss