Results 1 to 3 of 3
  1. #1

    Not Requiring Login for Certain IPs

    How can I make it so that most clients are required to enter a password set in .htaccess to access a page, but for certain ips such as the ones on the LAN can get straight in without any passwords?

    e.g.

    User on LAN
    Visit Site > Page Loads Right Away

    User on Internet
    Visit Site > Enters Login Details > Page Loads

    Thanks

  2. #2
    Something like this?

    AuthName "Htaccess"
    AuthUserFile /var/www/test/.htpasswd
    AuthType Basic
    Satisfy Any
    <Limit GET POST>
    Order Deny,Allow
    Deny from all
    Allow from 111.111.111.111
    Require valid-user
    </Limit>
    Accelerated Hosting - From Constant Internet
    Automatically serving your website from the nearest server
    Get hosted on our global network! America / Europe / Asia

  3. #3
    Thank You.

Similar Threads

  1. Why WHM >> Networking Setup >> Nameserver IPs is not showing the IPs
    By ninety9 in forum Hosting Security and Technology
    Replies: 4
    Last Post: 08-18-2010, 03:46 AM
  2. Replies: 0
    Last Post: 07-19-2008, 10:37 PM
  3. Replies: 5
    Last Post: 01-25-2008, 12:52 PM
  4. Can Adsense work for sites requiring login?
    By JBreits in forum Web Design and Content
    Replies: 3
    Last Post: 12-17-2006, 01:14 AM
  5. Webpage login form intigration with cpanel login
    By mhs in forum Programming Discussion
    Replies: 2
    Last Post: 08-05-2003, 12:13 AM

Posting Permissions

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