Solved

forwarding in apache

Posted on 2006-06-12
3
228 Views
Last Modified: 2012-05-05
when someone type : discountedoutdoor.com it goes to my apache server

I want to forward the request to :

http://ev1serve-ddjjnw.royalcyber2.com/webapp/wcs/stores/servlet/TopCategoriesDisplay?langId=-1&storeId=10001&catalogId=10001
0
Comment
Question by:royalcyber
[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
3 Comments
 
LVL 8

Accepted Solution

by:
Autogard earned 500 total points
ID: 16889317
Not sure how to forward with apache directly, but one thing you could do is put a index.html (or index.php) file in your document root for apache (/srv/www/htdocs, or whatever yours is) and do the following:

For HTML:
<head>
<meta http-equiv="refresh" content="0;url=PUTYOURURLHERE">
</head>

For PHP:
<?php
header("Location: PUTYOURURLHERE");
?>
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 16894637
Create an .htaccess file with the following line (all one line- mind the potential wrap):

Redirect Permanent / http://ev1serve-ddjjnw.royalcyber2.com/webapp/wcs/stores/servlet/TopCategoriesDisplay?langId=-1&storeId=10001&catalogId=10001
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

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…
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 this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

623 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