Re: fancy redirects / 404 passthrough
Ingo Molnar <[email protected]>
| Newsgroups | gmane.network.tux |
|---|---|
| Message-ID | <Pine.LNX.4.56.0310291802070.19627@earth> |
On Wed, 29 Oct 2003, human bn wrote: > Sure, basically I have 40,000 pages created by the > same PHP file. They are accessed via > site.com/[username] but those URL's do not exist - > Apache transparently rewrites them to > site.com/ShowPage.php?user=[username] > > So I figured the easiest way to have Tux duplicate > this behavior would be to just have it fall through to > Apache whenever a file/directory is not found. Except > Tux seems to always handle it as a 404 instead of > having it fall through. ie. you want to cache those pages via actual 'Showpage.php?user=name' files [and have them served as static pages by Tux], and you want Tux to fall back to Apache only if these files do not exist? or are you doing the normal thing of redirecting all failed requests to Apache? In this case i dont really see how Tux could end up sending a 404, unless Apache does not listen on the secondary port. Ingo