Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> .htaccess
Rating 5 V
Tazr
post Mar 2 2008, 11:11 PM
Post #1


Newbie
*

Group: Members
Posts: 6
Joined: 14-February 08
Member No.: 57,821



How do I make subdomains using a .htaccess file?

Like "Example.Domain.com"

I remember I was able to make a .htaccess file with some stuff in it that allowed it to do it, but I dont remember how.

any help would be appreciated =)
Go to the top of the page
 
+Quote Post
jlhaslip
post Mar 2 2008, 11:14 PM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,882
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



.htaccess doesn't do the Add-on account thing.
There is a selection for Add-on and Parked accounts in the Control Panel of your account.

What you might be thinking of is Mod_Rewrite using .htaccess. That directive changes your URL's to be more readable, but it doesn't make add-on accounts. As far as I know...
Go to the top of the page
 
+Quote Post
Tazr
post Mar 2 2008, 11:16 PM
Post #3


Newbie
*

Group: Members
Posts: 6
Joined: 14-February 08
Member No.: 57,821



It must of been a rewrite cause it pointed to a folder like domain.com/example which you'd do example.domain.com and it would take you to that folder.
Go to the top of the page
 
+Quote Post
jlhaslip
post Mar 2 2008, 11:43 PM
Post #4


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,882
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



Mod_rewrite is good for 'masking' the Query string, turning this:

domain.com/forums?uid=123&f=234&t=987

into something like:

domain.com/forums/123/234/987 but it could be alphabetical, too.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. .htaccess Query(0)


 



- Lo-Fi Version Time is now: 26th July 2008 - 03:16 PM