Zrobiłem takie coś, ale ni działa należycie
CODE
RewriteEngine on
# -FrontPage-
IndexIgnore .htaccess */. * *~ *# */HEADER* */README* */_vti*
<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]
Nie wiem do jasnej Anielki co jest z tym skryptem nie tak
Tutaj jeśli chodzi o domena.pl to oczywiście ja wpisuje swoją domenę, także tu wszystko wporządku ;D