Re: newbie trying to get spyce, mod_ptyhon and apache to work

"Matt Schmidt" <[email protected]> Thu, 14 Sep 2006 14:09:31 -0400
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
If you're using mod_python 3.x, the AddHandler line needs to be updated:

AddHandler mod_python .spy

As for your syntax error...if you copy/pasted from the mod_python
docs, they warn to be careful about indentation getting funny, so that
could be it. Also, If you run mod_python 3.2 or higher, there's a
built-in test feature. You can read about it here:
http://modpython.org/live/current/doc-html/inst-trouble.html

If you're running mod_python 2.x with Apache 1.3, good luck. I was
never able to get them working together at all.

On 9/14/06, Jonathan Ellis <[email protected]> wrote:
> On Thu, 14 Sep 2006 16:10:08 +0100, "Mary Jane Boholst"
> <[email protected]> said:
> > Hi there,
> > I am new to python, mod_python and spyce and need some help figuring out
> > what I have done wrong. I have installed and configured the relevant
> > packages in Suse 10.1 but when I try to view a .spy file in my browser
> > it displays the code as text.
>
> Your web server isn't sending the .spy through the Spyce engine.
>
> I'd suggest starting with the Spyce standalone server as shown in "three
> steps to spyce" on the Spyce home page first.  Then you can worry about
> integrating with Apache if you want.
>
> > Also, despite the fact that this is
> > slightly unrelated, my mptest.py file is now failing with a syntax
> > error. I don't know if anyone here can help me but any advice would be
> > gratefully received.
>
> not without knowing what mptest.py is :)
>
> -Jonathan
> --
> C++ is history repeated as tragedy. Java is history repeated as farce.  --Scott McKay
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Spyce-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spyce-users
>


-- 
Matt
http://sloat.liek.us/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642