Re: template toolkit compile test problems

2001-04-24 Thread Simon_Wilcox
Hi, Are you using Perl 5.6.x ? If not there are some known problems with the installation of certain plugins. See http://www.tt2.org/download.html for more details. IIRC, the tutorial has an example of a TT2 enabled httpd.conf, or at least the

Re: [RFC] mod_perl Digest path...

2001-01-30 Thread Simon_Wilcox
but unfortunately, there is no easy way to derive a decent plain text version from an XML base... Hmmm. converting one text format to another. Sounds like a job for perl ;-) Seriously - it should be possible to create a XSLT stylesheet that will output plain-text,

Re: [RFC] mod_perl Digest path...

2001-01-30 Thread Simon_Wilcox
Sadly thats not the case. XSLT is not well suited to the task of outputting text documents. It has no facilities for doing things like page widths, indenting, bullet points, etc, for plain text. I have tried this, with the source of the digests being in XHTML, but its harder than it first

Re: Bunch of need AuthName in error.log

2000-11-20 Thread Simon_Wilcox
Where's this AuthName coming from? Try [EMAIL PROTECTED]">http://forum.swarthmore.edu/epigone/modperl/crerdquenddil/[EMAIL PROTECTED] HTH, Simon. __ This email contains proprietary information some or

Re: trying to isolate VirtualHosts running identical .pm's

2000-11-17 Thread Simon_Wilcox
I'm trying to configure a single box to host completely separate instances of development and test versions of the same code base (currently 49 modules). Right now I have 2 virtual hosts configured on the same IP and servername, but use different ports, i.e., 80 and 82. The only way I

Re: [RFC] Apache::ProxyRewrite

2000-11-14 Thread Simon_Wilcox
I will soon need something similar to this myself. In my case, it will be necessary to authenticate on a user by user basis. It would be good to extend this module to cope with this eventuality, with pluggable backends to retrieve the passwords (I use LDAP but an

Re: Apache::Registry() and strict

2000-11-07 Thread Simon_Wilcox
Are you running with httpd -X ? What you describe sounds like it "stops working" when it hits a child for the second time. As advised, all this is described in the guide. You might want to start here:

Re: Apache::Registry() and strict

2000-11-07 Thread Simon_Wilcox
Then it is definitely variable persistence ! If you really can't track down the bug, you might try posting your code to the list. Perhaps someone will spot something you've missed ? Simon. From Ron Rademaker [EMAIL PROTECTED] Date 7

Re: database access

2000-11-06 Thread Simon_Wilcox
Are you trying to establish a persistent connection using Apache::DBI ? IIRC Oracle connections don't persist across forks so you should use the method described in the Apache::DBI manpage to establish one connection per child: Apache::DBI-connect_on_init($data_source,

Re: Session data disappearing

2000-10-31 Thread Simon_Wilcox
Hi Chris, welcome on board ! Are you changing data structures e.g. a element in a hash of hashes ? Apache::Session has documented behaviour where it only writes back changes if the top level variables have changed. If you are changing something deeper it will not be

Re: Session data disappearing

2000-10-31 Thread Simon_Wilcox
That should work as far as I know, it sounds like it is not being tied correctly to your store. Can you post your code to the list ? SW From cbell [EMAIL PROTECTED] Date 31 October 2000

ApacheCon 2000

2000-10-26 Thread Simon_Wilcox
As a relative newbie to the whole Apache/mod_perl world (just 7 months !) I wasn't sure what to expect from the conference. I have to report that it was fantastic. The enthusiasm of everyone involved and their openness was just amazing to someone used to closed-source

Re: Remembering Authentication

2000-10-17 Thread Simon_Wilcox
AuthCookie won't help you here, it still sends a cookie back to the client. Whatever you do, you will need to modify the response to the client to contain a session id somewhere where you can get it back. From what you've said, you will need to modify the url in some way. It doesn't

Re: Remembering Authentication

2000-10-17 Thread Simon_Wilcox
Ian, Using cookies is just one way of overcoming the stateless nature of http. The other ways that I know of are to modify the url in some way or to put a hidden field in a form. The latter only works if you're processing forms of course so for general viewing,

[JOB] Short-term/repeat development opportunities

2000-10-04 Thread Simon_Wilcox
I'm looking for individuals/companies to undertake short duration tightly scoped development projects in mod_perl, apache, MySQL LDAP. Williams Lea Group is building it's intranet using these technologies and we need a variety of small applications to support various business

Re: tracking down why a module was loaded?;

2000-09-27 Thread Simon_Wilcox
"One or two mod_perlers could do the work of a java shop of ten in half the time." Can we prove this ? Does anyone have any real evidence to support this claim. I hope so because I need to defend my use of mod_perl in developing the intranet site for my company ;-)

Apache::SSI Date formats

2000-08-28 Thread Simon_Wilcox
Apache 1.3.12, mod_perl 1.24, Apache::SSI 2.13, Date::Format 2.08 I've had problems with date formats in Apache::SSI. The behaviour of mod_include is to apply the !--#config timefmt='%d-%m-%Y'-- configuration directive to all date formats. Apache::SSI does not seem to

Re: SSI and PerlHandler

2000-08-16 Thread Simon_Wilcox
You might use Apache::Filter and chain your output into Apache::SSI. Works for me but ymmv :-) Simon Wilcox Williams Lea Group. From "Jim Sproull" [EMAIL PROTECTED] Date 14:34:15 16 August 2000 To: [EMAIL PROTECTED] cc:(bcc: Simon

Errors from Apache.pm

2000-08-16 Thread Simon_Wilcox
All, I am seeing the following errors in my apache error log. These have appeared since moving to a Linux/mod_perl1.24 combination (from NT/1.23) so I don't know if they come from 1.24 or from the -w switch being handled better under unix. Anyone know what these

Re: Authentication/Authorization

2000-08-10 Thread Simon_Wilcox
Eli, Have you set up your own authentication type or are you trying to overload "basic" ? If the former you might need to check your .htaccess config. If the latter, it looks like your code is not setting something correctly. For some reason the server is

Re: logging out

2000-08-04 Thread Simon_Wilcox
I used Net::LDAP, a pure Perl implementation, against a Novell eDirectory LDAP server. You can find it at CPAN or at http://sourceforge.net/project/?group_id=5050 I coded the authen_cred method to authenicate against LDAP and then store the username in the session hash.

Re: logging out

2000-08-03 Thread Simon_Wilcox
Angel, I recommend Apache::AuthCookie. This has worked really well for me, and allows me to use an HTML form which is much nicer for my users than the default dialog box. FWIW - I sub-classed AuthCookie to authenticate against an LDAP directory (using Net::LDAP)

Re: [OT] The $64K question/server hardware

2000-08-02 Thread Simon_Wilcox
Can we also include OS ? I'm particularly interested in performance figures of NT against *nix to help my case to ditch NT in a project which has yet to go live. Simon Wilcox Intranet Development Manager Williams Lea Group From Ajit Deshpande [EMAIL

Re: Feature sets [was Re: Templating System]

2000-07-28 Thread Simon_Wilcox
Yes please ! I've been following these threads with avid interest as I am just starting to look at this technology. I'm currently using SSI to call mod_perl scripts to handle the dynamic parts of the pages but this is getting very unwieldy when I start doing form

Re: State Maintenance.

2000-07-20 Thread Simon_Wilcox
I've used Apache::AuthCookie and coupled it to Apache::Session::MySQL Once I validate a new user, I create a new session, store the username and return the session key for AuthCookie to use. When authorising, I use the key to recover the session and extract the