Solved

File redirection

Posted on 2004-08-03
2
239 Views
Last Modified: 2010-03-04
I'm currently in the process of moving servers, the new one being on a 100MB network, the old one being on a 10MB network.  I've gotten a few files accorss, but I still have about 2gigs left.  It would be preferable for me to redirect the folders that have to been copied to the new server to be downloaded from the new server.  Essentially, redirect any requests to the new server for these folders and only these folders.  How would I go about doing that.  Please don't just tell me the means of doing so, but specifically what to do or write in the httpd.conf because I'm pressed for time as of recent.
0
Comment
Question by:gunghoassassin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
periwinkle earned 500 total points
ID: 11708799
I'd set up a new subdomain of your regular domain, such as new.yourdomain.com that points to the new server.  Then, set up the web hosting on the new server, for new.yourdomain.com.  You can then either set up Redirect commands on the old server via the httpd.conf file or .htaccess file, or make modifications to the web site so that users are properly directed to the appropriate new.yourdomain.com version of the files.

For instance, if you moved everything in the yadayada directory, you could add the following line to the .htaccess file in the base of the web directory on the old server:

Redirect    /yadayada      http://new.yourdomain.com/yadayada

0
 

Author Comment

by:gunghoassassin
ID: 11711304
Thank you, that works perfectly.
0

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question