#1  
Old 10th December 2008, 12:38
nidhintomson nidhintomson is offline
Member
 
Join Date: Nov 2007
Posts: 41
Thanks: 3
Thanked 0 Times in 0 Posts
Default Apache mod_rewrite

Hi All
I have a requirement like when i browse http://nidhins.info/contact.htm it should redirect to http://webtrustsolutions.com/contact.htm . http://nidhins.info/Infrastructure.htm should redirect to http://webtrustsolutions.com/Infrastructure.htm so for all links. If the corresponding link is not found on the second domain, it should display custom 404 error. how to do that.

All help thanked in advance

Looking forward to hear from you

Thanks and Regards
Nidhin Tomson

Last edited by nidhintomson; 10th December 2008 at 12:41.
Reply With Quote
Sponsored Links
  #2  
Old 11th December 2008, 18:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

You can do this with mod_rewrite. Take a look at http://httpd.apache.org/docs/2.2/rew...ite_guide.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 21:58
MaxClients set to appropriate level, but ISPconfig is crashing from it (I think) bpmee Server Operation 6 11th January 2007 20:29
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
mod_mono apache 2.2 ColdDoT Server Operation 5 23rd May 2006 03:58
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 01:45


All times are GMT +2. The time now is 19:21.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.