Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache security question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
lroy1978
Apprentice
Apprentice


Joined: 28 Jan 2006
Posts: 189
Location: Lille, France

PostPosted: Sun May 21, 2006 12:09 pm    Post subject: Apache security question Reply with quote

Hi

I am trying to limit access to a particular webpage on my server by placing a .htaccess file the directory of the webpage I am trying to restrict access to

It contains the following :

AuthType Basic
AuthName "Restricted Access"
# (Following line optional)
# AuthBasicProvider file
AuthUserFile /var/www/localhost/passwords/passwords
Require user micropross

It does not seem to do anything, am I missing something?

Thanks,
Lee
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1283
Location: 50N 3E

PostPosted: Sun May 21, 2006 1:42 pm    Post subject: Reply with quote

did you allow overrides for that directory?
http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride
_________________
To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be. (shamelessly stolen from slartibartfasz)
Back to top
View user's profile Send private message
nielchiano
Veteran
Veteran


Joined: 11 Nov 2003
Posts: 1283
Location: 50N 3E

PostPosted: Sun May 21, 2006 1:44 pm    Post subject: Reply with quote

Hmmm. just found this post: https://forums.gentoo.org/viewtopic-t-463907.html
looks to be the same
_________________
To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be. (shamelessly stolen from slartibartfasz)
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10973
Location: the dutch mountains

PostPosted: Sun May 21, 2006 5:19 pm    Post subject: Reply with quote

Moved from Networking & Security to Duplicate Threads.
Moved in favour of https://forums.gentoo.org/viewtopic-t-306691.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum