View Full Version : New Site - .htaccess?
Boonzeet
09-01-2008, 12:48 PM
http://thepixellator.com/
My New site =]
I've been dying to buy one so I need a bit of help.
I need to see what .htaccess files are neccessary - I need mainly the one for direct linking stopping.
Independent
09-01-2008, 06:40 PM
You can usually control that within your cPanel (if you're using this control panel)
Edit the .htaccess and replace it with
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 thepixellator.com
AuthUserFile /home1/yourcpanelusername/public_html/_vti_pvt/service.pwd
AuthGroupFile /home1/yourcpanelusername/public_html/_vti_pvt/service.grp
RewriteCond %{HTTP_REFERER} !^http://thepixellator.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://thepixellator.com/$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thepixellator.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.thepixellator.com/$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.