[NBLUG/talk] Apache.

Steve srj at adnd.com
Tue Mar 2 13:58:03 PST 2004


Thanks Eric =) I will give this foo a try =)
\\-Steve


On Tue, Mar 02, 2004 at 01:47:01PM -0800, Eric Eisenhart wrote:
> On Tue, Mar 02, 2004 at 12:47:17PM -0800, Steve wrote:
> > www.somedomain.com/bill   gets a 404 error, so it redirects to
> > www2.somedomain.com/bill  if its there, all is good, if it is not,
> > www2 reports the 404 error.
> > 
> > Is this possible?  I've gone over the apache docs (not apache 2.0 by the
> > way)
> 
> On www.somedomain.com, do this somewhere in the configuration:
> 
> RewriteEngine on
> RewriteCond   %{REQUEST_URI} !-U
> RewriteRule   ^(.+)          http:/www2.somedomain.com/$1
> 
> Read http://httpd.apache.org/docs/misc/rewriteguide.html for more info on
> other ways to do similar things.  (there's a similar doc for apache 2.0;
> this particular one is the same on either)
> -- 
> Eric Eisenhart
> NBLUG Co-Founder & Director-At-Large
> The North Bay Linux Users Group
> http://nblug.org/
> eric at nblug.org, IRC: Freiheit at freenode, AIM: falschfreiheit, ICQ: 48217244
> _______________________________________________
> talk mailing list
> talk at nblug.org
> http://nblug.org/mailman/listinfo/talk

-- 
----
      "Knowing others is wisdom, knowing your self is Enlightenment."
                                                   -- Lao-Tzu



More information about the talk mailing list