Current location: Hot Scripts Forums » General Community » The Lounge » Mod_Rewrite and subdomains


Mod_Rewrite and subdomains

Reply
  #1 (permalink)  
Old 01-22-05, 09:40 AM
Infinite_Hackers's Avatar
Infinite_Hackers Infinite_Hackers is offline
Coding Addict
 
Join Date: Dec 2003
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Mod_Rewrite and subdomains

Hey,
This is for anyone who knows how to use mod_rewrite...
My problem is that my domain is already a subdomain but I want to create a 5 level domain (basically level4.level3.mysite.com) but I'm having problems doing that because if i enter my url as http://www.test2.mysite.hostsite.com it will use www as the folder for the subdomain because its taking it as a 5 level domain :S so only if i got to http://test2.mysite.hostsite.com it works...

I need to find out a way to make it so that I can exclude the www. if its there so that the only name its searching for (in the folder i specified for my subdomains) is the 4th level domain..

any ideas?
Thanks really need this.
__________________
New beta project: GFX-PRO.ATH.CX
Description: GFX-PRO a great new project that anyone can and setup in less then a minute. [ More info ]
Website: http://gfx-pro.ath.cx
Status: Online
http://gfx-pro.ath.cx/sig.png
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 01:48 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.