So here is an update:
------------------------------------------------
* I reinstalled apache, mysql, php and python.
* I enabled cgi handler in apache (cgi, not .py)
* I Had some trouble with the egg cache, but managed to get
"simplejson-1.9.2-py2.5-macosx-10.3-ppc.egg-tmp"
to turn up in /LibraryWebserver/.python-eggs
by first creating the dir, which didn't exist, and then chown to
www:www
*I did som testing:
Running a file called test.cgi
> #! /usr/bin/env python
> import sys
> print '\n\n'
> print sys.path
Gives this result:
['/Library/WebServer/Documents/render', '/Library/Frameworks/
Python.framework/Versions/2.5/lib/python2.5/site-packages/flup-1.0.1-
py2.5.egg', '/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/pyparsing-1.5.0-py2.5.egg', '/Library/
Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/
Pygments-0.11.1-py2.5.egg', '/Library/Frameworks/Python.framework/
Versions/2.5/lib/python2.5/site-packages/odfpy-0.7-py2.5.egg', '/
Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/simplejson-1.9.2-py2.5-macosx-10.3-ppc.egg', '/Library/
Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/
mwlib.ext-0.8.3-py2.5-macosx-10.3-ppc.egg', '/Library/Frameworks/
Python.framework/Versions/2.5/lib/python2.5/site-packages/
mwlib-0.8.4.dev-py2.5-macosx-10.3-ppc.egg', '/Library/Frameworks/
Python.framework/Versions/2.5/lib/python2.5/site-packages/
setuptools-0.6c8-py2.5.egg', '/Library/Frameworks/Python.framework/
Versions/2.5/lib/python2.5/site-packages/mwlib.rl-0.8.2.dev-
py2.5.egg', '/Library/Frameworks/Python.framework/Versions/2.5/lib/
python25.zip', '/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5', '/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/plat-darwin', '/Library/Frameworks/Python.framework/Versions/
2.5/lib/python2.5/plat-mac', '/Library/Frameworks/Python.framework/
Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages', '/Library/
Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk', '/
Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-
dynload', '/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages', '/Library/Frameworks/Python.framework/
Versions/2.5/lib/python2.5/site-packages/PIL']
Which looks fine and dandy
*And running a test.cgi with
>#! /usr/bin/env python
>import cgi
>cgi.test()
Also works fine.
When I run the mwlib.cgi it downloads a file with "{"error": "no
command given"}"
Which seems alright as well. After all; I'm just running the cgi and
not actually passing any commands to it.
All in all, everything looks a lot better!
------------------------------------------------
However, I Can't get it to work in the wiki yet, I get the error
"Fatal error: Call to undefined function curl_init() in /Library/
WebServer/Documents/main/extensions/Collection/Collection.body.php on
line 1408"
But I will work on that a bit and see what I can figure out.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---