Guillermo Estrada
unread,Feb 19, 2012, 8:37:16 PM2/19/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Rack Development
Hi, I just hope this is the place where I'll find the answer.
Fossil-Scm is a Source Code Management System that has a built in web
server for tracking issues and a wiki and such. It supports CGI also
to avoid running long term processes while hosting multiple repos. The
documentation suggests creating a simple CGI script like this one for
each repo you would like to host:
#!/usr/bin/fossil
repository: /route/to/repo/name.fossil
And this is all fine and works wonders in my web hosting.
What I want to do is to create a Sinatra (Rack) app to manage those
repositories, user authentication, common operations, create, delete,
etc... But in order to do that, I want to be able to manipulate the
route and the output of those webpages called via CGI.
Is there a way to take a request from my Rack application, take some
parameters, send them to the program (fossil) as a CGI request (This I
don't know how) and then get the output html to analyze/modify/etc...
and then sending the response from my Rack app?
Any help would be GREATLY appreciated.