Kod
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 strona.ayrox.hoster.pl
AuthUserFile /home/ayrox/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/ayrox/public_html/_vti_pvt/service.grp
Options
AddType application/x-httpd-php .html
RewriteCond %{HTTP_HOST} !^(www.)?strona.pl [NC]
RewriteCond %{HTTP_HOST} ^(.*?).strona.pl [NC]
All
# -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 strona.ayrox.hoster.pl
AuthUserFile /home/ayrox/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/ayrox/public_html/_vti_pvt/service.grp
Options
AddType application/x-httpd-php .html
RewriteCond %{HTTP_HOST} !^(www.)?strona.pl [NC]
RewriteCond %{HTTP_HOST} ^(.*?).strona.pl [NC]
All
Teraz jest strona w katalogu na koncie public_html/ayrox a wcześniej było na public_html i działało, a teraaz nie wiem czemu nie działa. Otóz chodzi o to żęby po prostu każdą subdomenę traktowało jako stronę główną czyli jeżeli ktoś wpiszę: blablabla.mojastrona.pl to żęby mu się wyświetliła moja strona główna itd itd