apache - Simple .htaccess subdomain rewrite -
i know there lot of questions on here this... right feel deer stunned oncoming headlights... don't know start , option choose.
my requirements simple.
user goes http://application.domain.com or http://www.application.domain.com , real location of these files http://www.domain.com/application
obviously needs done using wildcards domain (even if doesn't exist) triggers rewrite.
i hope makes sense someone
edit: should mention have added wildcard record dns entries in cpanel *.domain.com
thanks
tim
i posted question onto serverfault.com , icyrock solved it. incase else wondering answer given here:
tim
Comments
Post a Comment