Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Thread: How do you protect a members area thats on an avs?

  1. #1
    Marc
    Guest

    How do you protect a members area thats on an avs?

    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


  2. #2
    abostonboy
    Guest
    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.


  3. #3
    abostonboy
    Guest
    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.


  4. #4
    abostonboy
    Guest
    This is one from Mancheck...

    RewriteEngine on

    RewriteCond %{HTTP_REFERER} !^http://.*mancheck.com/.* [NC]
    RewriteRule .* /bad_referer.html


  5. #5
    maxpower
    Guest
    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?


  6. #6
    I am straight, but my ass is gay jIgG's Avatar
    Join Date
    Oct 2003
    Posts
    2,081
    .htaccess is the only way
    but that is easily spoofed


  7. #7
    abostonboy
    Guest
    Quote Originally Posted by maxpower
    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?
    Max,

    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...


  8. #8
    abostonboy
    Guest
    Quote Originally Posted by jIgG
    .htaccess is the only way
    but that is easily spoofed
    So true....


  9. #9
    chick with a bass basschick's Avatar
    Join Date
    Nov 2003
    Posts
    7,922
    Quote Originally Posted by abostonboy
    Max,

    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...
    :yeah:

    fuck, our best premium site had better content than most paysites.


  10. #10
    maxpower
    Guest
    Quote Originally Posted by basschick
    :yeah:

    fuck, our best premium site had better content than most paysites.

    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.


  11. #11
    Marc
    Guest
    Quote Originally Posted by maxpower
    its a waist of time
    waste



    Quote Originally Posted by maxpower
    In short who really cares?
    um...I do.



    Quote Originally Posted by maxpower
    your a moron.
    you're


  12. #12
    Marc
    Guest
    awesome thanks abostonboy


  13. #13
    abostonboy
    Guest
    Quote Originally Posted by Marc
    awesome thanks abostonboy
    Your welcome 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.


  14. #14
    abostonboy
    Guest
    Quote Originally Posted by maxpower
    URL’s, ECT.
    etc......


  15. #15
    abostonboy
    Guest
    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •