how to fix our .htaccess file

Write your "How To" regarding anything you are comfortable with and you feel it will help the forum members.

NOTE :: All threads started here will appear only after the approval from Administrator
Post Reply
thecobra
Posts: 196
Joined: Tue Mar 11, 2008 11:30 am

how to fix our .htaccess file

Post by thecobra »

first open your .htaccess file in cpanel

next copy this
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>
AuthType Basic
AuthName yourname.thesmokylounge.com
AuthUserFile /home/yourname/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/yourname/public_html/_vti_pvt/service.grp
RewriteRule http://yourname.thesmokylounge.com/index.html [R=301,L]
next replace the yourname with yourname

save the file and that it
it should work now your website


SHAdmin
Posts: 2089
Joined: Sat Dec 18, 2004 11:28 am
Contact:

Post by SHAdmin »

20 points have been credited into your account for sharing the 'How To'.
Gossioii4
Posts: 3
Joined: Fri Mar 06, 2009 8:29 am

This is a great article

Post by Gossioii4 »

This is a great article. I’m new to blogging but still learning. Thanks for the great resource.
Post Reply