apache and htaccess

Posted on 2014-08-02
Last Modified: 2014-08-02
I have the following .htaccess file in my webroot directory in apache httdocs:

AuthName "TickTockIT Int Protected"
AuthType Basic
AuthUserFile C:/xampp/apache/bin/passwordfile
require valid-user
Order Deny,Allow
Deny from all
Allow from 192.168.0
Satisfy Any


I am still being asked for a password when I access from my local network
Can someone explain why please
Question by:doctorbill
    LVL 58

    Assisted Solution

    Are you using localhost? Which comes over IPv6
    Replace your allow line with

     Allow from ::1

    Author Comment

    How do I tell if I am using IPv4 or IPv6
    LVL 58

    Accepted Solution

    There's nothing to check it is using IPv6
    Windows uses IPv6 by default when available.

    Author Closing Comment

    Thanks - solved

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Part of the Global Positioning System A geocode ( is the major subset of a GPS coordinate (, the other parts being the altitude and t…
    These days socially coordinated efforts have turned into a critical requirement for enterprises.
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now