On Fri, Aug 18, 2006 at 10:27:53AM +0200, Thomas Andrews wrote: > I'm trying to get kid going without success. I want to use kid with > just Apache, without turbo-gears/webware/... Basically I want something > a bit better than psp.. > > I'm having problems with Apache when following the example in > /usr/share/doc/python-kid/examples/cgi where it says: > > 2. Add the following to your `.htaccess` or `httpd.conf`: > > Action kid-file /location/of/kid_handler.cgi > AddHandler kid-file .kid
I've managed to get it working a bit better by upgrading to apache2 and a later version of mod_python, but I still haven't solved it. With my new apache config below, I now get the following error in the apache syslog: "Invalid URI in request GET /kid/sysinfo.kid HTTP/1.1, referer: http://localhost/kid/" The error reported in the browser is: Bad Request Your browser sent a request that this server could not understand. Apache/2.0.55 (Debian) mod_python/3.1.3 Python/2.3.5 PHP/4.4.2-1.1 Server at localhost Port 80 Here's my Apache config: # ++++++++++++++++++++++++++++++++++ Alias /kid/ /var/www/kid/ <Directory /var/www/kid/> Options +ExecCGI Action kid-file kid_handler.cgi AddHandler kid-file .kid </Directory> # ++++++++++++++++++++++++++++++++++ What can I be doing wrong in the "Action" line above? Many thanks, Thomas ------------------------------------------------------------------------- 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 _______________________________________________ kid-template-discuss mailing list kid-template-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kid-template-discuss