On Date: Sun, 27 Nov 2005 16:08:50 -0800, "David Christensen" <[EMAIL 
PROTECTED]> wrote:
> I'm sure this has been asked before, but I can't seem to find the question or
> the answer -- how do I direct all incoming requests to a single CGI script on
> Apache 1.3?

With mod_rewrite, something like this should do it.


---

RewriteEngine On

# If you want it to redirect only in the case where there is no real
# file or directory at the requested location, then un-comment the
# following two lines 
##RewriteCond %{REQUEST_FILENAME} !-f
##RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*) myscript.cgi

---

There might also be a way to do something similar to this without
mod_rewrite.

Dave

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to