[web2py] Re: .htaccess in web2py

2010-10-30 Thread Francisco Costa
> You might consider configuring passwords in httpd.conf instead of .htaccess, > if you have control over the whole server. Thank you for the suggestion.. I will look into it > Are you doing this as an alternative to web2py auth? No, I've finished a project and I've put it online, but before it g

Re: [web2py] Re: .htaccess in web2py

2010-10-30 Thread Jonathan Lundell
On Oct 30, 2010, at 9:07 AM, Francisco Costa wrote: > >> How is your server configured? What are you using? > > Ubuntu 10.10 + Apache 2 > and I'm serving the files at /var/www/web2py You might consider configuring passwords in httpd.conf instead of .htaccess, if you have control over the whole

[web2py] Re: .htaccess in web2py

2010-10-30 Thread Francisco Costa
> How is your server configured? What are you using? Ubuntu 10.10 + Apache 2 and I'm serving the files at /var/www/web2py

Re: [web2py] Re: .htaccess in web2py

2010-10-30 Thread Jonathan Lundell
On Oct 30, 2010, at 8:47 AM, Francisco Costa wrote: > > tried both.. none worked out :( How is your server configured? What are you using? > > On Oct 30, 4:09 pm, VP wrote: >> I'd think either in web2py root or web2py/applications/yourapp. >> >> On Oct 30, 9:28 am, Francisco Costa wrote: >>

[web2py] Re: .htaccess in web2py

2010-10-30 Thread Francisco Costa
tried both.. none worked out :( On Oct 30, 4:09 pm, VP wrote: > I'd think either in web2py root or web2py/applications/yourapp. > > On Oct 30, 9:28 am, Francisco Costa wrote: > > > I really would like to protect a website content with a .htaccess > > password file like this > > onehttp://www.el

Re: [web2py] Re: .htaccess in web2py

2010-10-30 Thread Jonathan Lundell
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'

[web2py] Re: .htaccess in web2py

2010-10-30 Thread VP
I'd think either in web2py root or web2py/applications/yourapp. On Oct 30, 9:28 am, Francisco Costa 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'