httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] redirecting/rewriting.
Date Sun, 23 Jul 2006 02:51:31 GMT
On 7/22/06, Jonathan Horne <freebsd@dfwlp.com> wrote:
> i saw a similar thread here today, and as well i have also been reading:
> http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
> but i cannot understand how to achieve what i would like.
>
> i have just changed my domain from example.com to example.org.  i have all my
> other sites and services changed over, but i would like any remaining links
> that people might have saves to re-write as well (such as,
> www.example.com/~userdir to www.example.org/~userdir).  both example.com and
> example.org are configured as seperate virtual hosts in my httpd.conf.
>
> speaking of seperate virtual hosts, i also would like to figure out how to
> re-write anything arriving at the base url for example.com, but i would have
> to assume that an answer to mny first query would take care of this as well.
> i tried doing a 'Redirect permanent' against the /, apache didnt like that.

This is pretty-much exactly the same as the example listed here:
http://httpd.apache.org/docs/1.3/misc/FAQ.html#canonical-hostnames

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message