Re: [OT] web hosting server files
On Wed, 12 Sep 2012 23:03:13 +0800, lina wrote:
> On Tuesday 11,September,2012 11:37 PM, Denis Witt wrote:
>> On Tue, 11 Sep 2012 23:27:08 +0800
>> lina <lina.lastname@gmail.com> wrote:
>>
>>> I am not clear how to password protect my file/folder.
>>
>> Hi Lina,
>>
>> assuming the server is running Apache follow this howto:
>> http://www.elated.com/articles/password-protecting-your-pages-with-htaccess/
>>
>> The Apache config has to allow AuthConfig (AllowOverride AuthConfig)
>> for the directory you want to protect, but it's very unusual to
>> disallow this.
>
> Thanks for the link, I followed it and built the .htpasswd .htaccess
>
> Ha ... not works as I expected. is it due to
>
> # AllowOverride controls what directives may be placed in .htaccess
> files. # It can be "All", "None", or any combination of the keywords: #
> Options FileInfo AuthConfig Limit #
> AllowOverride None
>
> in /etc/httpd/conf/httpd.conf ?
Most likely... More reading:
http://httpd.apache.org/docs/2.2/howto/auth.html
Greetings,
--
Camaleón
Reply to: