Welcome Guest, Not a member yet? Register   Sign In
"Subdomain using .httaccess"
#1

[eluser]Unknown[/eluser]
I want create sub domain using .httaccess like

www.domain.com/controller/function/abc into www.abc.domain.com

If any body knows how this is done please help me.
#2

[eluser]tonanbarbarian[/eluser]
are you wanting htaccess to redirect to the subdomain if someone enters the first url?
why not just code it
since your path shows controller and function(method) simple code the controller and method to accept the submain parameter and call a redirect
#3

[eluser]Unknown[/eluser]
I want to show my variable abc berfore my domain name like www.abc.domain.com
#4

[eluser]dawnerd[/eluser]
Does your domain/webhost allow wildcards?

I know this is possible because there are a few sites that do this.

http://www.easymodrewrite.com/example-subdomains
That might be helpful.




Theme © iAndrew 2016 - Forum software by © MyBB