LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-09-2006, 05:56 AM   #1
eugene2008
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Rep: Reputation: 0
Make subdomain with mode rewrite


hello!
i have a website with multi forum talkorchat.com/

when new forum with login "zzz" is done it looks like this
talkorchat.com/zzz/

i want to make it look like a subdomain, so it would be always like this
zzz.talkorchat.com/

how to do that with .htaccess modrewrite?
 
Old 09-09-2006, 09:47 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
why do you want to do it with modrewrite specifically? just create a new virtualhost for it and set that as the document root.
 
  


Reply



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
make a sure that RH running in RAID mode lieuquocdat Linux - Hardware 4 07-14-2006 10:39 PM
Can I make jack use 24 bit mode johnson_steve Linux - Software 2 09-02-2005 12:37 PM
how to make an editor do as emacs's shell mode does? icoming Programming 2 05-21-2004 09:50 AM
Help me make this rewrite rule in Apache ganninu Linux - General 8 01-07-2004 08:30 AM
make linux wake up from the sleeping mode caesarkim Linux - Newbie 3 11-08-2003 01:52 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:43 PM.

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