Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was about writing my own HTTP Server. Well I did, but conerning security issues it was too time expensive doing it on and I drove back having a unique solution with Apache2 and Mod_Ruby in-between.

Now I have a single Ruby Script, launching other scripts. I want that single Ruby Script to be the only script accessed by Apache each request:

will be sent to my script test.rbx, whatever will be entered.

How can I do this?

Actually I can only access the test.rbx itself. From there I can call Apache::Request.unparsed_uri, which would receive the complete path with parameters. But only by accessing - how to call for every request implicitly?


share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.