DeveloperSide.NET Forums
December 15, 2019, 12:13:06 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: .htaccess not working on apache 2.054  (Read 8197 times)
0 Members and 1 Guest are viewing this topic.
x1ng
Member
*
Posts: 1


View Profile
« on: August 31, 2005, 05:17:34 PM »

i am trying to protect my private folder with .htaccess
here is what i did
root@x1ng:~#htpasswd -cm htpasswd x1ng
New password:
Re-type new password:
Adding password for user x1ng

root@x1ng:~#pwd
/root

root@x1ng:~#pico /usr/local/apache2/htdocs/private/.htaccess

AuthUserFile /root/htpasswd
AuthName "Enter Password"
AuthType Basic
require user x1ng


but when i am trying to open the private folder its open without any passwdord.
by the way i have mod_access.so mod_auth.so loaded in the httpd.conf
Logged
Jorge
Customer, Basic Support
Guru
*****
Posts: 544

jorge_schrauwen@msn.com
View Profile WWW
« Reply #1 on: August 31, 2005, 06:12:08 PM »

if i remember the configuraton frol the DevSite package correcly you need to allow use of htaccess files.

read this:
http://forums.devside.net/viewtopic.php?t=581
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!