apache htaccess problem

apache htaccess problem

Post by cb » Thu, 17 Dec 1998 04:00:00



Hi all,

I have an apache_1.3.3 on my linux RH5.1. It work fine. I have some
restricted directories in the main serveurs by an .htaccess system. It work
fine too. But in virtual hosts, the .htaccess dont restrict anythings !!!

If someone have any idears ;-)

My config

access.conf:

    AllowOverride AuthConfig

    order allow,deny
    allow from all
    </Directory>


 
 
 

apache htaccess problem

Post by Marc Slemk » Thu, 17 Dec 1998 04:00:00



Quote:>Hi all,
>I have an apache_1.3.3 on my linux RH5.1. It work fine. I have some
>restricted directories in the main serveurs by an .htaccess system. It work
>fine too. But in virtual hosts, the .htaccess dont restrict anythings !!!
>If someone have any idears ;-)
>My config
>access.conf:
>    AllowOverride AuthConfig
>    order allow,deny
>    allow from all
>    </Directory>

You are missing the most important part of that: the start of the
Directory container.  That says what directory it applies to.
If you look, you will probably find that you don't have it applying
to the virtual host directory.

 
 
 

1. Help: Apache htaccess problems

OS: Solaris 2.7
Apache version: 1.3.6

I have a directory setup with an .htaccess file, pointing to a password file
like so:

AuthUserFile /path/to/.htpasswd
AuthGroupFile /dev/null
AuthName MyLogin
AuthType Basic

<Limit GET>
require user me
</Limit>

And in .htpasswd I have the htpasswd generated user/password pair for "me".
Now when I attempt to access the directory where this .htaccess resides, it
prompts me for the username/password TWICE.  I actually have to enter the
username and password successfuly TWO times, and then I eventually get
access.  If I don't enter it correctly twice, the login fails.

Does anyone have an idea as to why it's prompting me to enter this two
times?

Thanks!

--
Keith McDuffee

Remove Anti-Spam(tm) to reply

2. Diskless workstations and a malloc question.

3. Apache .htaccess problem (dbmmanage not working)

4. Permissions and SuSE Linux 6.1

5. Apache - .htaccess problems

6. AMD vs. INTEL - What's the difference? Should I consider AMD?

7. Apache .htaccess problem

8. A color question.

9. Apache htaccess problem...

10. Apache .htaccess problems

11. Apache .htaccess problem

12. Apache .htaccess problems

13. Apache .htaccess problem