0
我一直在寻找通过许多不同的方式做我的.htaccess中的mod_rewrite创建通配符子域名转发到特定的路径,同时保留目录和页面的尾随URL。没有什么似乎可以做到这一点。我只是不擅长正则表达式,但尚未弄清楚这一点。.htaccess子域通配符
我的通配符需要做:
http://username.domain.org/project1/hello.html
一样:
http://domain.org/domains/username/project1/hello.html
任何想法?