I guess there is no right forum section for this Q, but if you think there is a better section Pena, feel free to move it.


I'd like to redirect all the HTTP requests of my Apache server to one single file so I can handle them exactly like I want. My first thought was to make the 404 page hangle all requests, but I am affraid it will both be slow (is it?) and maybe even send out a 404 before redirecting??

So my second thought came along when I saw mod_rewrite was installed on the server. Would it be feasible (or at all possible) to use mod_rewrite to direct all HTTP requests to the same file index.foo by using mod_rewrite?


- ØØ -