Solved

File redirection

Posted on 2004-08-03
2
233 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
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now