Jump to content

Old Htaccess Wont Work


Recommended Posts

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]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...