[Catalyst] How to do .htaccess?

2011-03-07 Thread John M. Dlugosz
 I want to make one path in my app password protected, and a very simple way will be 
fine.  Also, while in development, I want to make the whole think password protected.


I thought I'd just use .htaccess.  But, since this isn't really an appache directory 
(except for static files), where would I put this information?



___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] How to do .htaccess?

2011-03-07 Thread Michele Beltrame
Hello!

  I want to make one path in my app password protected, and a very simple
 way will be fine.  Also, while in development, I want to make the whole
 think password protected.
 
 I thought I'd just use .htaccess.  But, since this isn't really an
 appache directory (except for static files), where would I put this
 information?

You could use:

Catalyst::Authentication::Credential::HTTP

Cheers,
Michele.

-- 
Michele Beltrame
http://www.italpro.net/ - m...@italpro.net
Skype: arthas77 - Twitter: _arthas

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] How to do .htaccess?

2011-03-07 Thread Francisco Obispo
You can safely use Location /xxx based control's (if using apache)

Francisco



On Mar 7, 2011, at 2:22 AM, John M. Dlugosz wrote:

 I want to make one path in my app password protected, and a very simple way 
 will be fine.  Also, while in development, I want to make the whole think 
 password protected.
 
 I thought I'd just use .htaccess.  But, since this isn't really an appache 
 directory (except for static files), where would I put this information?
 
 
 ___
 List: Catalyst@lists.scsys.co.uk
 Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
 Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
 Dev site: http://dev.catalyst.perl.org/

Francisco Obispo 
Hosted@ Programme Manager
email: fobi...@isc.org
Phone: +1 650 423 1374 || INOC-DBA *3557* NOC
Key fingerprint = 532F 84EB 06B4 3806 D5FA  09C6 463E 614E B38D B1BE





___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/