Solved

forwarding in apache

Posted on 2006-06-12
3
208 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
3 Comments
 
LVL 8

Accepted Solution

by:
Autogard earned 500 total points
Comment Utility
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
Comment Utility
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
 
LVL 23

Expert Comment

by:rama_krishna580
Comment Utility
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 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

11 Experts available now in Live!

Get 1:1 Help Now