AuthenNTLM and IE not working

2007-01-04 Thread Jim Medell
Current Setup: Ubuntu Dapper w/Apache 2 & perl and latest AuthenNTLM. This server is connected to an Active Directory Domain at work and has a FQDN that is x4 (machine.something.domain.com ). Issue: Internet Explorer (6 &7) will not authenticate. Note: FF & Opera will (thus I know that Authen

AuthenNTLM and IE not working

2007-01-04 Thread Jim Medell
Current Setup: Ubuntu Dapper w/Apache 2 & perl and latest AuthenNTLM. This server is connected to an Active Directory Domain at work and has a FQDN that is x4 (machine.something.domain.com ). Issue: Internet Explorer (6 &7) will not authenticate. Note: FF & Opera will (thus I know that Authen

Re: using Apache::DBI for regular perl scripts?

2007-01-04 Thread Lev Lvovsky
On Jan 4, 2007, at 4:36 PM, Perrin Harkins wrote: On Thu, 2007-01-04 at 16:28 -0800, Lev Lvovsky wrote: Is there anything that would keep me from instituting the connection maintenance of Apache::DBI into a daemonized perl script? Don't do that. Use DBI->connect_cached instead. didn't eve

Re: using Apache::DBI for regular perl scripts?

2007-01-04 Thread Perrin Harkins
On Thu, 2007-01-04 at 16:28 -0800, Lev Lvovsky wrote: > Is there anything that would keep me from instituting the connection > maintenance of Apache::DBI into a daemonized perl script? Don't do that. Use DBI->connect_cached instead. - Perrin

using Apache::DBI for regular perl scripts?

2007-01-04 Thread Lev Lvovsky
Hello, Is there anything that would keep me from instituting the connection maintenance of Apache::DBI into a daemonized perl script? Does it have any need to be running from within mod_perl specifically? If not, is it just as easy as doing a 'use Apache::DBI' before 'use DBI'? thanks!

Re: Problem using PerlSection and global object in conf

2007-01-04 Thread Perrin Harkins
On Thu, 2007-01-04 at 17:13 -0500, Sean P Quinlan wrote: > And here is the relevant portions of my configuration file (located in > conf.d/): > > $Apache2::PerlSections::Save = 1; > use CAS::Apache::Auth; > > # The default CAS client for the admin location > $CAS_ad

Re: Problem using PerlSection and global object in conf

2007-01-04 Thread Jonathan Vanasco
On Jan 4, 2007, at 5:13 PM, Sean P Quinlan wrote: The way the new version is designed, a 'client' object will cache the user objects (relatively small, name, email, phone etc) for users previously authenticated, using a session token as a key. Reading the document above, it seemed I would

Re: disabling an inherited authentication configuration

2007-01-04 Thread Jonathan Vanasco
On Jan 4, 2007, at 1:55 PM, Mark S. Heiges wrote: I have a dozen-ish virtual hosts that "Include" a common configuration file which, among other things, specifies authentication for the sites: your best off asking your question again on a mod_auth_ldap or general Apache httpd list -- thi

Problem using PerlSection and global object in conf

2007-01-04 Thread Sean P Quinlan
I have an application I am in the process of upgrading to Apache/mod_perl 2. While reading the docs, I came across this section: http://perl.apache.org/docs/2.0/user/coding/coding.html#Method_Handlers Which I was really excited to try! My application handles user authentication and authorization,

disabling an inherited authentication configuration

2007-01-04 Thread Mark S. Heiges
I have a dozen-ish virtual hosts that "Include" a common configuration file which, among other things, specifies authentication for the sites: AuthName "File Auth" AuthType Basic AuthUserFile /etc/httpd/conf/passwords AuthAuthoritative off Require user joe In one

Re: Caching Filehandles (seen some light!!)

2007-01-04 Thread Jonathan Vanasco
On Jan 4, 2007, at 11:44 AM, Perrin Harkins wrote: There's probably not much benefit from caching filehandles if you still have to read the files anyway. The best thing to do would be to port to a more mature templating system. Short of that, caching the templates in memory (just in a ha

Re: Caching Filehandles (seen some light!!)

2007-01-04 Thread Perrin Harkins
Anthony Gardner wrote: Just realised, I could use Apache::Cache. Don't use that. The shared memory implementation is really slow. If you need a cache, use Cache::FastMmap. A cache of this kind is not what you need for this though. You can't stuff filehandles into it. There's probably n

Re: Bug Report

2007-01-04 Thread Robert Landrum
Snook, Adrian (London) wrote: 3. This is the core dump trace: (if you get a core dump): Core was generated by `/home -k start'. Program terminated with signal 11, Segmentation fault. #0 0x002f201e in free () from /lib/tls/libc.so.6 (gdb) bt full #0 0x002f201e in free () from /lib/tls/libc.so

Caching Filehandles (seen some light!!)

2007-01-04 Thread Anthony Gardner
Just realised, I could use Apache::Cache. Is there an MP2 version? Couldn't find one. Send instant messages to your online friends http://uk.messenger.yahoo.com

Caching Filehandles

2007-01-04 Thread Anthony Gardner
Happy New Year mod_perl(ers) (just buttering you up b4 I ask my question ;) ) Am working my way through a lot of existing code that was run as vanilla CGI and which we are porting to MP2(ish). anyway, they have their own html templates which are opened and closed for every request. Doh!! Befor