Re: newbie trying to get spyce, mod_ptyhon and apache to work
Tom Dillon <[email protected]> Thu, 14 Sep 2006 10:28:42 -0500
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Organization | Dillon Engineering, Inc. |
| Message-ID | <[email protected]> |
On Thursday 14 September 2006 10:10, Mary Jane Boholst wrote: > 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. 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. > Thanks in advance, > MJ > MJ, Don't know if this will help, but I did this last night and got my first spyce page going on SUSE 10.1. The RPM did not work for me to install, had some trouble with the path to apache configuration. I gave up on that and just used the .tar.gz file. I installed into /usr/share and then ran a new project with the following commands, (probably need to have root access for the tar command): cd /usr/share tar xzvf spyce-2.1-2.tar.gz cd cpyce-2.1-2 ./spyceProject.py pathToNewProject ./spyceCmd.py -l --conf pathToNewProject/config.py The spyce server should now be running. Open your browser and go to http://localhost:8000 and you should see a simple page. Now you can edit pathToNewProject/www/index.spy to see how it works. Hope this helps. Tom ------------------------------------------------------------------------- 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