Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
There are a number of ways I know of to get close; but nothing perfect. A subdomain with a DNS entry to the old location would be the simplest and probably most efficient in terms of traffic and apache configuration, with the obvious side-effec that the URL for these sites would change from www.sdmc.com/stitcher to, say, ab.sdmc.com/stitcher (I chose 'ab' for automatedBindery, but it was just an example). To keep the URLs the same, you could use Apache to proxy the requests for the microsites back to the old server. This would preserve the current URLs, but would be criminally inefficient (user makes an http request to apache, then apache turns around and makes it to your old servers; meanwhile the user has to first wait for apache to get the response before it can be sent back to them). If you just want the microsites to keep running and the domain can be switched (I think this is what you were going for), there are a couple ways to do this in apache using RewriteRules. Examples: 1. Single RewriteRule # This solution will work if there are only a few microsites RewriteRule ^/((stitcher|microsite2|microsite3).*) http://www.automatedbindery.com/$1 [R,L] 2. Multiple Rewrite Rules RewriteRule ^/(stitcher.*) http://www.automatedbindery.com/$1 [R,L] RewriteRule ^/(microsite2.*) http://www.automatedbindery.com/$1 [R,L] # etc. Hope this was helpful... -Danny Robert [hidden email] Quoting Michael Webb <[hidden email]>: > We have a new website just about to be launched, the domain name is > www.sdmc.com, this is on Apache Linux hosted at Verio, right now we have a > bunch of microsites we use for marketing they are - www.sdmc.com/stitcher > and a bunch of others, but they are all one word after the www.sdmc.com, > they are right now on a Windows 2003 box running in Lotus Notes. I would > like to be able to keep the microsites up until we are able to build new > ones, therefore I would need www.sdmc.com/stitcher to be redirected to our > server here which I can set as anyname or just the outside ip address but > we will probably swap to automatedbinding.com for now. > > So my question is on Apache how do I setup those redirects? And can I > have it keep the url as www.sdmc.com/word or will it show > www.automatedbindery.com/word. > > Thanks in advance. > > Michael > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > _______________________________________________ > Discuss mailing list > [hidden email] > http://lists.blu.org/mailman/listinfo/discuss >
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |