Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-24-2007, 11:33 PM   #1
LQ Newbie
Registered: Oct 2005
Posts: 12

Rep: Reputation: 0
Smile Top-Level Domain rewrite using mod_rewrite in Apache2


I host four domain names:

I want to do mod_rewrite for these virtual hosts, so that if someone goes to, it rewrites it to If someone goes to, it rewrites it to, and so-forth.

I am an idiot when it comes to regex. can someone tell me how the mod_rewrite segment would look inside a vhost container? Thanks!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 mod_rewrite isn't working vargadanis Linux - Server 3 11-09-2009 08:21 PM
how to add mod_rewrite to apache2 scabrous1 Linux - Software 1 07-07-2006 09:48 AM
Running my own top level domain with BIND9 KneeLess Linux - Networking 4 03-26-2006 06:29 PM
Top Level Domain Names wwnexc Linux - Networking 3 03-12-2006 02:03 PM
DNS & Top Level Domain JJX Linux - Networking 2 03-28-2004 07:56 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration