RE: Two URLs, One Web Site

2006-02-08 Thread James Reynolds
idn't clarify well. Thanks for your response. -Original Message- From: Kenevel [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 10:20 AM To: Tomcat Users List Subject: Re: Two URLs, One Web Site James Reynolds wrote: > This solution works fine for 99% of the pages,

RE: Two URLs, One Web Site

2006-02-08 Thread James Reynolds
Aha! This looks like what I need. I'll study everything I can about mod_rewrite. Thanks so much for your help! -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 10:17 AM To: Tomcat Users List Subject: Re: Two URLs, One Web Site If yo

Re: Two URLs, One Web Site

2006-02-08 Thread Kenevel
James Reynolds wrote: > This solution works fine for 99% of the pages, except for a couple > items that fall outside my expertise. Your advise, or a pointer to > where I should conduct more homework would be greatly appreciated. > > I need to maintain two URLs for the site, and each one should poi

Re: Two URLs, One Web Site

2006-02-08 Thread Tim Funk
If you are using apache. Using mod_rewrite is a very easy way to fix the doorway problem. For example: ServerName www.companyA.com RewriteEngine on RewriteCond %{REQUEST_URI} ^/$ RewriteRule.+ /companyA_index.html [L,R=302] ServerName www.companyB.com RewriteEngine on Re

Two URLs, One Web Site

2006-02-08 Thread James Reynolds
I have an interesting problem. I've been handed two websites that are nearly identical. The problem is my company made a copy of the first website and "re-branded" it to provide a customized version for a client. I'm sick of maintaining two code bases, so I've started to construct a single site th