ja chciałbym, aby po wpisaniu np 123.domena.pl przekierowało mnie na domena.pl/index.html?strona=123
OTO HTACCESS
CODE
RewriteEngine on
# -FrontPage-
IndexIgnore .htaccess */.

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName DOMENA
AuthUserFile public_html/_vti_pvt/service.pwd
AuthGroupFile public_html/_vti_pvt/service.grp
Options All
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ http://domena.pl/index.html [R=302,L]
AddType application/x-httpd-php .html
RewriteEngine on
RewriteCond %{HTTP_HOST} !^(www.)?domena.pl [NC]
RewriteCond %{HTTP_HOST} ^(.*?).domena.pl [NC]
RewriteRule ^http://([a-zA-Z0-9-]+).domena.pl$ http://domena.pl/strona.html?id=$1 [NC,L]