title: Having a CGI script catch all requests to a domain with Apache
body: <p>Using Apache 2, I want to configure my website so that any requests to the domain are forwarded to a Python CGI script. Basically, if the user goes to <a href="http://www.example.com" rel="noreferrer">http://www.example.com</a> i want the cgi /cgi-bin/cgi.py to execute.  If the user goes to <a href="http://www.example.com/index.rss" rel="noreferrer">http://www.example.com/index.rss</a> I want /cgi-bin/cgi.py to be executed with /index.rss as the argument. I have tried various combinations of ScriptAlias and Rewrite and cannot seem to get them in the right relationship.</p>