Re: fancy redirects / 404 passthrough

Ingo Molnar <[email protected]>
Newsgroups gmane.network.tux
Message-ID <Pine.LNX.4.56.0310291842280.21100@earth>
On Wed, 29 Oct 2003, human bn wrote:

> 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?

Just run Apache on port 8080 and bind it locally so that it's not visible
from outside. This is described in detail in configuration.html:

   ______________________________________________________________________

Chapter 3. Configuration

   This   chapter   describes  how  to  configure  the  Red  Hat  Content
   Accelerator.

Modes of Operation

   The  recommended  mode  of  operation  is  to  have  Red  Hat  Content
   Accelerator  running  as  the  main  Web  server and Apache run as the
   assistant.

     * Client Port: 8080 (or other)
     * Web Server Port: 80

   For  the  recommend mode where Red Hat Content Accelerator is the main
   web  server,  the  configuration  for  the  user-space  daemon must be
   changed  to  use  port 8080. For Apache configuration, the changes are
   made  in the configuration file /etc/httpd/conf/httpd.conf by changing
   the line

   Port 80

   to

   Port 8080

   For security reasons, the line

   BindAddress *

   should be changed to

   BindAddress 127.0.0.1

   This  will  prevent  outside users from accessing Apache directly. You
   must  restart  Apache  for the changes to take effect with the command
   /etc/rc.d/init.d/httpd restart.

   The  alternate mode of operation is to have the user-space daemon such
   as  Apache  as  the main web server and Red Hat Content Accelerator as
   the assistant.

     * Client Port: 80
     * Web Server Port: 8080 (or other)
   ______________________________________________________________________

   [6]Prev      [7]Home                     [8]Next
   Installation         Compressed Gzip Data Stream

References

   1. file://localhost/usr/share/doc/tux-3.2.12/tux/index.html
   2. file://localhost/usr/share/doc/tux-3.2.12/tux/installation.html
   3. file://localhost/usr/share/doc/tux-3.2.12/tux/gzip.html
   4. file://localhost/usr/share/doc/tux-3.2.12/tux/installation.html
   5. file://localhost/usr/share/doc/tux-3.2.12/tux/gzip.html
   6. file://localhost/usr/share/doc/tux-3.2.12/tux/installation.html
   7. file://localhost/usr/share/doc/tux-3.2.12/tux/index.html
   8. file://localhost/usr/share/doc/tux-3.2.12/tux/gzip.html
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.