You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ashish k <ka...@gmail.com> on 2015/07/06 22:05:43 UTC

[users@httpd] Apache redirect subdomain without changing the browser URL

Hi
    List
           I want to redirect http://subdomain.example.com to
http://subdomain.example.com/subdomain (I donot want
http://example.com/subdomain  ) using rewrite rules only. Tried all
possible ways unsuccessfully. I got some points over this excellent
arrticle
http://forums.hostgator.com/rewrite-subdomains-point-sub-folders-t47619.html?s=12718aaafd8ea994669a2f8b3c69209f&amp
;

Now I am wondering, does apache really could not do it using mod_rewrite?
Any insights on this will be appreciated.

Thanks in advance
Ashish