Re: Problem running Spyce and WAMP on Windows XP

"Jonathan Ellis" <[email protected]> Thu, 17 Jan 2008 11:20:45 -0800
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
On Thu, 17 Jan 2008 19:44:16 +0100, "Lars Gaastra"
<[email protected]> said:
> I use WAMP (the latest) and Spyce 2.1.3 and followed the documentation on
> the Spyce website to install the proxy Spyce behind Apache. What I know,
> I
> did everything needed. Start Spyce Web Server, add proxy section to
> Apache
> httpd.conf., uncomment mod_proxy, restart Apache.
> 
> Where could it go wrong? I can hardly find any information on the web
> about
> installing Spyce.

You'll want to follow the instructions here
http://spyce.sourceforge.net/docs/doc-conf_next.html and get that
working before you start messing with Apache.  With Spyce, you edit .spy
files that correspond to the pages a user requests...  the only .py file
you'll ever run from the command line is the Spyce server.

Honestly though, although in a lot of ways Spyce is a simpler system
than django, django is much better documented so you might want to give
that a try too.  See http://www.djangobook.com/

> I also have a (silly) question about Spyce web server. Is it public? or
> in
> other words, can people from outside connect to it? I only want to test
> my
> code on my PC, not host an internet server.

It defaults to binding to all IPs, i.e., public.  If this worries you
add this to your project's config.py

ipaddr = '127.0.0.1'

-Jonathan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/