Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : password protect a directory in ampps



Normal Mode | Print  

 password protect a directory in ampps, What is the actual root? (9 Replies, Read 3292 times)
sluiting
Group: Member
Post Group: Working Member
Posts: 100
Status:
Hi,

I've been trying to password protect a directory with .htaccess and I get a 500 error when trying. I am simply testing. This is what I have in the .htaccess file:

AuthName "Restricted Area"
AuthType Basic
AuthUserFile /www/mydomain.com/pass/.htpasswd
AuthGroupFile /dev/null
require valid-user

I think the file path may be wrong?

The .htpasswd in the pass directory has this in it:
sluiting:KuVt0zKHWe3UE

Thanks!


IP: --   


Threads
 sluiting   password protect a directory in ampps, What is the actual root? (9 Replies, Read 3292 times)
    |--  Brijesh   Hi, Can you...   on December 5, 2013, 11:26 am
    |--  sluiting   Do you mean...   on December 5, 2013, 1:26 pm
    |--  Brijesh   Hi, Please try...   on December 5, 2013, 2:02 pm
    |--  sluiting   didn't work so...   on December 5, 2013, 2:14 pm
    |--  sluiting   This is in...   on December 5, 2013, 2:16 pm
    |--  sluiting   Also, I have...   on December 5, 2013, 2:18 pm
    |--  Brijesh   Hi, Sorry I...   on December 5, 2013, 4:38 pm
    |--  DeeJaVu   i dont have...   on December 9, 2013, 9:32 pm
    |--  sluiting   Thanks Brijesh! The...   on December 9, 2013, 10:19 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is September 23, 2024, 6:09 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.024