Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
Getting started with HFOSS in the classroom
Using BlinkStick with Raspberry Pi
How to change the UUID of a partition
Opening Pandora’s Box
Break free of PRISM with the EFFs PRISM Break site
yED Alternate of Microsoft Office Visio on Ubuntu Linux
Scala for C# Developers: A Tutorial
Zombies, Linux, IBM and SCO
Non-Linux FOSS: libnotify, OS X Style
Subversion 1.8 Gits New Features
more
Recent comments
If you need some more
3 hours 49 min ago
wal_keep_segments too high
4 hours 49 min ago
easier installation
8 hours 36 min ago
ERROR: Connection dropped by IMAP server.
9 hours 50 min ago
Re: Inability to connect with phpmyadmin as directed in tutorial
13 hours 26 min ago
linnux ha on centos6.4
20 hours 41 min ago
Database Connection.
1 day 5 hours ago
Re: Be carefully, if you a new
1 day 7 hours ago
Re: ISPconfig access with or without ip !!!
1 day 22 hours ago
Is same HowTo available for
2 days 35 min ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
Linux Forums
>
Server Operation
Apache mod_rewrite
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
10th December 2008, 11:38
nidhintomson
Member
Join Date: Nov 2007
Posts: 41
Thanks: 3
Thanked 0 Times in 0 Posts
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
11:41
.
nidhintomson
View Public Profile
Send a private message to nidhintomson
Find all posts by nidhintomson
Sponsored Links
#
2
11th December 2008, 17:42
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
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:
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
CENTOS 5 Ping Problem
gAnDo
Server Operation
11
28th March 2008
20:58
MaxClients set to appropriate level, but ISPconfig is crashing from it (I think)
bpmee
Server Operation
6
11th January 2007
19:29
Centos 4.4 32bit Hangs, High Server load
3cwired_com
Server Operation
11
16th November 2006
15:47
mod_mono apache 2.2
ColdDoT
Server Operation
5
23rd May 2006
02:58
Problem with the installation of Dokeos (LMS) in ISPConfig
jofranco
General
4
28th April 2006
00:45
All times are GMT +2. The time now is
20:15
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
3 hours 49 min ago
4 hours 49 min ago
8 hours 36 min ago
9 hours 50 min ago
13 hours 26 min ago
20 hours 41 min ago
1 day 5 hours ago
1 day 7 hours ago
1 day 22 hours ago
2 days 35 min ago