how i can redirect all subdomain without change url
aslo send subdomain and request file with GET method to index.php file,
with .htaccess
for example
http://testsubdomain.mysite.ir/test.php
redirect to
http://mysite.ir/users/index.php?domain=testsubdomain&file=test.php
Use mod_rewrite. Example:
Details here: http://httpd.apache.org/docs/current/mod/mod_rewrite.html