scotttyz Posted March 2, 2004 Share Posted March 2, 2004 I need to MANUALLY configure .htaccess files to protect some directories. I have some "add user forms" that update this via PHP so the cPanel stuff will not work for me. I may be missing something stupid, is there anyone that can help?? >AuthUserFile "/home/******/rep_users/REP.user" AuthGroupFile "/dev/null" AuthName "All About Play" AuthType Basic <Limit GET POST> require valid-user </Limit> the files seems to be in the right place. And I get challanged by the webbrowser for authentication but it will not acceot any of my old dot ht password file. Quote Link to comment Share on other sites More sharing options...
scotttyz Posted March 2, 2004 Author Share Posted March 2, 2004 I think the late night web gods are smillling on me. No idea why, but it is working Quote Link to comment Share on other sites More sharing options...
TCH-Don Posted March 2, 2004 Share Posted March 2, 2004 Yea! alway good when you can help your self. Or it just starts working, did you hit the monitor? I tried to see what cpanel did to protect and it looked very simailar AuthType Basic AuthName "foldername" AuthUserFile "/home/cpanelname/.htpasswds/foldername/passwd" require valid-user Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.