Jump to content

rms95

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by rms95

  1. Hello,

     

    I'm moved to this host, cuz prev. host stopped.

     

    But when I moved, the htaccess wont work

     

    What's wrong?

    I already added the *.wwwz.tk subdomain to public_html

     

    I think everyting is set the same as prev. server, but still not

     

    thanks.

     

    # -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 wwwz.tk

    AuthUserFile /home/rms95/public_html/_vti_pvt/service.pwd

    AuthGroupFile /home/rms95/public_html/_vti_pvt/service.grp

     

     

    RewriteEngine on

     

    RewriteBase /

     

    RewriteRule accounts/ /?p=accounts [QSA,L]

    RewriteRule createacc/ /?do=createaccount [QSA,L]

     

    RewriteCond %{HTTP_HOST} !^www\.wwwz.tk

    RewriteCond %{HTTP_HOST} ^(.+).wwwz.tk

    RewriteRule ^([^/]*)(.*)/(.*)$ http://wwwz.tk/?subdomain=%1&t=$1&c=$2 [P,QSA,L]

     

    #This are all comments, old stuff which didnt work

    #RewriteCond %{HTTP_HOST} !^www\.wwwz.tk

    #RewriteCond %{HTTP_HOST} ^(.+).wwwz.tk

    #RewriteRule ^(.*)% http://wwwz.tk/?subdomain=%1&t=$1 [P,QSA,L]

    #RewriteRule http://(.*).wwwz.tk/(.*)/ /?p=$2 [QSA,L]

×
×
  • Create New...