Re: fancy redirects / 404 passthrough

human bn <[email protected]>
Newsgroups gmane.network.tux
Message-ID <[email protected]>
No, I don't want Tux to cache or handle it at all.

"are you doing the normal thing of redirecting all
failed requests to Apache?"

This is exactly what I want to do.  How?


--- Ingo Molnar <[email protected]> wrote:
> 
> 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
> 
> 
> _______________________________________________
> tux-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/tux-list


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.