Open timrdf opened 12 years ago
Jim:
1) ok, do an update and install on sadi
(following https://github.com/timrdf/DataFAQs/wiki/SADI-Semantic-Web-Services-framework
sudo svn checkout... ; python setup.py bdist_egg ;
sudo python setup.py bdist_egg ; sudo easy_install dist/sadi-0.1.4-py2.6.egg)
on mac:
2) install mod_python. You'll need to build from svn:
3) svn co https://svn.apache.org/repos/asf/quetzalcoatl/mod_python/trunk mod_python-trunk
4) ./configure && make && sudo make install
on linux: `sudo apt-get install libapache2-mod-python`
Instructions also at https://github.com/timrdf/DataFAQs/wiki/Sample-FAqT-deployment
Enable mod_python in httpd.conf or wherever is appropriate for your system. For whatever directory the service will be in, enable AllowOverride all. (done with sudo a2enmod python
)
In the web directory of your choice, add the following to .htaccess:
SetHandler mod_python PythonHandler sadi
Place a conventional sadi service file in there with an extension of .py and try it out.
twistd's current config only uses one thread. Need to use more.