httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Kluft <ikl...@cisco.com>
Subject Re: unqualified names
Date Fri, 27 Feb 1998 20:00:04 GMT
Earlier I wrote:
> > I've used stuff like this for a couple years...

Hmmm... I only realized this after I sent the message... that was in 1996
but it's more like a year and a half.

> > ------------------------------------------------------------------------------
> > RewriteCond %{HTTP_HOST} !^fully.qualified.domain.name
> > RewriteCond %{HTTP_HOST} !^$
> > RewriteCond %{SERVER_PORT} !^80$
> > RewriteRule ^/(.*) http://fully.qualified.domain.name:%{SERVER_PORT}/$1 [L,R]
> >  
> > RewriteCond %{HTTP_HOST} !^fully.qualified.domain.name
> > RewriteCond %{HTTP_HOST} !^$
> > RewriteRule ^/(.*) http://fully.qualified.domain.name/$1 [L,R]
> > ------------------------------------------------------------------------------

rse@engelschall.com (Ralf S. Engelschall) says:
> Nice. Can I insert this solution into my URL Rewriting Guide under
> http://www.engelschall.com/pw/apache/rewriteguide/ ?

Sure.  Please do.
-- 
Ian Kluft  KO6YQ PP-ASEL                                  Cisco Systems, Inc.
ikluft@cisco.com (work)  ikluft@thunder.sbay.org (home)          San Jose, CA

Mime
View raw message