On Oct 30, 2010, at 8:09 AM, VP wrote:
> 
> I'd think either in web2py root or web2py/applications/yourapp.

This is an interesting question. web2py and its built-in server don't look at 
.htaccess. Where *does* Apache look when pages are being served dynamically, as 
with wsgi? Presumably you can't put one in web2py/applications/yourapp, since 
Apache doesn't really know about that file structure, and even the web2py root 
needn't be known by Apache, since that's (presumably) a wsgi configuration item.

In a shared-host environment, presumably your html root (html_public or 
whatever) would work, but is there more to it than that? Something to mention 
on the deployment chapter, perhaps.


> 
> 
> 
> On Oct 30, 9:28 am, Francisco Costa <m...@franciscocosta.com> wrote:
>> I really would like to protect a website content with a .htaccess
>> password file like this 
>> onehttp://www.elated.com/articles/password-protecting-your-pages-with-ht...
>> 
>> I just don't know where to put the file at...
>> Any help?


Reply via email to