Solved

forwarding in apache

Posted on 2006-06-12
3
213 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
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
 
LVL 23

Expert Comment

by:rama_krishna580
ID: 16972430
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.

Question has a verified solution.

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

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). #…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

815 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