Hello,
I'm trying to use the flask framework with hiawatha over python, but hiawatha seems to put always the actual path into the PATH_INFO of fastCGI. The result are pathes like /index.html/static/style.css or /register/login instead of /static/style.css or /login. My configuration looks like this:
FastCGIServer {
FastCGIid = feabook_fcgi
ConnectTo = /tmp/feabook.sock
}
UrlToolkit {
ToolkitID = feabook_tk
RequestURI isfile Return
Match .* UseFastCGI feabook_fcgi
}
VirtualHost {
Hostname = foreveralonebook.de
WebsiteRoot = /var/www/foreveralonebook-de/public
UseToolkit = feabook_tk
EnablePathInfo = yes
}
If you like to try it out you can put the ip 178.63.115.229 or 2001:470:1f0a:1c6b::2 for foreveralonebook.de into your /etc/hosts.
Hiawatha version: 7.5
Operating System: Debian 6, 2.6.32-5-amd64