?
Solved

File redirection

Posted on 2004-08-03
2
Medium Priority
?
240 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 2000 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

743 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