|
-
May 18th, 2007, 02:01 PM
#1
[RESOLVED] Redirecting all HTTP requests to one file [Apache]
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?
- ØØ -
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|