我的问题是: 我希望有一部改写规则,使我能够把参数转给我的服务器上的另一台名录。 我称之为我网页的子主,这一次主要应放在我根页的“正常”目录上。 除此规则外,还应增加所有ur的参数。
例:
Root-Page: http://www.example.com -> directory on the server /srv/www/vhosts/example.com/httpdocs/
Subdomain: http://fb.example.come
现在,根基-Page和Subdomain应指出同一名录:
Subdomain ->Directory on the services /srv/www/vhosts/example.com/http://docs/
The difference between both domains is a paramenter that should add to every URL call:
User-Call: http://fb.example.com/index.php
--> add a fb=1 param
Intern -> http://fb.example.com/index.php?fb=1
User-Call: http://fb.example.com/show.php?param=1&test=1
--> add a fb=1 param
Intern -> http://fb.example.com/show.php?fb=1¶m=1&test=1
There should always be a param called "fb=1" in the URL.
如何做到这一点?