|
Here is a .htaccess sample Redirect based on a specific Machine Name. I have not tried to mask the host, like *.*.jp or *.jp , but maybe this might get you going in the right direction.
This sample will redirect requests for the machine name machine.domain-name.net to the directory machine on the site domain-name.net .
Add the following to the .htaccess file:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
# Rewrite Rule for machine.domainname.net
RewriteCond %{HTTP_HOST} machine.domainname.net$
RewriteCond %{REQUEST_URI} !machine/
RewriteRule ^(.*)$ machine/$1
__________________
Codifico, quindi sono
icq 118-997-859
|