I have a bunch of avs sites out there and none of my members areas are protected, .
I know its .htaccess but I dont know where to get it or what im supposed to do with it. how to install and configure it, etc
I have a bunch of avs sites out there and none of my members areas are protected, .
I know its .htaccess but I dont know where to get it or what im supposed to do with it. how to install and configure it, etc
Marc,
This is from UGAS members area. Basically you are putting a file named .htaccess in the members area folder. The tricky part is to get it to save it as .htaccess and i BELIEVE to do that when you save the file you save as ".htaccess". I BELIEVE the quotes allow it to just have a .name
Here is from UGAS -
To use Rewrite rules to protect your domain, your domain must be hosted on a webserver running the Apache webserver software, with the mod_rewrite module enabled, and have permission to use .htaccess files to modify your domain's configuration.
The Rewrite rules listed below, prevent visitors from using a bookmark to return to your "Content" page, and prevent other websites from "Hot linking" your files. If a visitor does use a bookmark to access your "Content" directory, they will be redirected to a URL of your choice.
Begin by using notepad, or any other text editor, to create a text file which contains the following Rewrite rules. Replace the word DOMAIN with your domain name.
AuthType Basic
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://www.DOMAIN.com [NC]
RewriteCond %{HTTP_REFERER} !^http://DOMAIN.com [NC]
RewriteCond %{HTTP_REFERER} !^http://.+\.avsofchoice\.com/* [NC]
RewriteCond %{HTTP_REFERER} !^http://.+\.ugas\.com/* [NC]
RewriteRule /* http://www.DOMAIN.com/forbidden.html [R,L]
The last line of the rules is the URL where visitors will be redirected to.
Save the file as htaccess.txt and upload it to the directory that you wish to protect. Once your htaccess.txt file has been uploaded, rename it to .htaccess using your FTP application. If the webserver has been configured properly, these rules will take effect immediately.
Check for the following if the above steps do not work:
Verify if you have mod_rewrite available for your Apache webserver. You can do this by running the command "/usr/local/apache/bin/httpd -l". If mod_rewrite is available, you will see mod_rewrite.c listed within the Compiled-in modules.
View your httpd.conf file and check for the "AccessFileName" directive, it should read:
AccessFileName .htaccess
Make sure that you have the following within your "Directory" directive in your
httpd.conf file:
Options FollowSymLinks
AllowOverride All
Look inside your error_log for any other clues.
http://www.htaccesstools.com/
This is a good site, but doesn't really go into the referrer thing that you need on AVS protection, but they have a good forum.
This is one from Mancheck...
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://.*mancheck.com/.* [NC]
RewriteRule .* /bad_referer.html
If you ask me its a waist of time to protect AVS sites that way. Its not like these are “really” members sites, you should want people to look at your AVS sites, talk about them, share the URL’s, ECT. All I do is sometimes is change the name of the “protected” URL page from site to site, but I would spend my time making more sites rather than messing with all this. In short who really cares?
.htaccess is the only way
but that is easily spoofed
Max,Originally Posted by maxpower
Do you put $100's of dollars in content in them and huge video files or just 20 or 30 pics?
It makes sense to protect AVS members areas when your goal is to sell an AVS membership.
Remember there are two types of AVS sites..... The leechy kind and the I wanna sell kind...
So true....Originally Posted by jIgG
:yeah:Originally Posted by abostonboy
fuck, our best premium site had better content than most paysites.
Originally Posted by basschick
Sorry Bass I have too The key work in that statement was “Had” if in 2006 you want to pay thousands of dollars for content and use that all for one AVS site, your a moron. The whole idea is so offensive to me, that I do not even know where to start listing all of the problems I have with that so I will just drop it.
wasteOriginally Posted by maxpower
um...I do.Originally Posted by maxpower
you'reOriginally Posted by maxpower
awesome thanks abostonboy
Your welcome Marc,Originally Posted by Marc
I knew those were the ones you are promoting. If you need help I can do the htaccess code. There's more you may want to add. Hit me up on ICQ.
etc......Originally Posted by maxpower
Max,
Someone comes in and asks a specific question. Not a question on AVS theory. Once again you show your rudeness by 1. NOT knowing how to help him. 2. Hijacking the thread.
I refuse to argue with you as you don't seem to learn.
But I will try and make sure I use correct grammar and correct yours.
It took me days to figure out what demotions were. And I still don't know what you did the 4th of july. Something with ATP?
And btw allot is spelled wrong.
Bookmarks