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
Solved

File redirection

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PHP Curl Multi-exec 13 72
Running Guacamole on port 80 5 248
Application launch issue with Apache Tomcat 5 63
PHP Apache application gives "Forbidden" message 5 65
In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
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 …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 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