Forum

Slashes in URLs for CGI...

tim
19 January 2011, 17:42
Hiawatha version:
Operating System: Debian

An example:
blosxom is a simple blogging program that exists as a single cgi file. To see a handful of my recent blog posts, you can go to:
http://www.example.com/blosxom.cgi
This works beautifully in hiawatha.
If you want to see all my posts from 2011, you should be able to go to
http://www.example.com/blosxom.cgi/2011
This doesn't work on hiawatha. I get "Oops! This link appears to be broken."

There are a handful of other CGI applications that do this kind of thing, too. I realize this is probably a security feature in hiawatha, and that they should use the query string instead. Still, I really don't want to have to go through and re-write every CGI application I have. Is there any way I can configure hiawatha to allow this?
Hugo Leisink
19 January 2011, 18:47
The following configuration option for your virtual host should do the trick:
EnablePathInfo = yes
tim
19 January 2011, 19:10
Ah, thanks!
This topic has been closed.