[SGVLUG] Apache Help-Rewrite Cond?

Bryan Backer bbacker at yahoo.com
Wed Apr 18 12:26:20 PDT 2012


You mention rewriting but how did you apply that?
(what do your rules look like?) 
I assume the mod_rewrite rule you did just redirected all abc.com traffic to
http://www.xyz.com/

I assume that changing the DNS entries for the www.abc.com host
to aim at www.xyz.com is not an option in that the www.abc.com
server is still used for non port80 traffic?

If so using mod_rewrite but with a more sophisticated
URL rewrite so you leave the last part of the URI intact.

I will look for references or examples that do what you're seeking
(assuming I understand correctly). I'm starting at
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

--- On Wed, 4/18/12, Junaid A <junaidjan at yahoo.com> wrote:

From: Junaid A <junaidjan at yahoo.com>
Subject: [SGVLUG] Apache Help-Rewrite Cond?
To: "SGVLUG Discussion List." <sgvlug at sgvlug.net>
Date: Wednesday, April 18, 2012, 11:35 AM

Hi everyone,  Is there an Apache Guru amongst us? I haven’t used Apache for a long time, especially on Unix. (Running Apache 2.0 on SunOS 5.10)  I have to redirect specific documents on our old server to a new server. I already tried a mod rewrite and redirected everyone accessing the old server to go to the main page on the new server. However, that is not what I was supposed to do.   I need help/guidance so that I may redirect www.abc.com/doc123 to server www.xyz.com/doc123 and so on.
   Is there someone who can help me by at least pointing me to a good forum/site that may guide me as to how I may accomplish this task?  Thanks in advance.  Junaid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.sgvlug.net/pipermail/sgvlug/attachments/20120418/8295b7df/attachment.html 


More information about the SGVLUG mailing list