[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache2 - restrict download with password



Csanyi Pal wrote:
Any advices will be appreciated!

Add a section like this to your apache config file:

       <Location /path/to/virtual/location/>
               AuthType Basic
               AuthUserFile /path/to/htpasswd
               AuthName "Who are you?"
               Require valid-user
       </Location>


Regards


--

Martin A. Brooks |  http://www.antibodymx.net/ | Anti-spam & anti-virus
   Consultant    |  martin@antibodymx.net      | filtering. Inoculate
 antibodymx.net  |  m: +4745888254             | your mail system.



Reply to: