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:

https://serverfault.com/questions/203780/troubleshooting-a-htaccess-wildcard-subdomain-rewrite/203804#203804

tim


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -