You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(2) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
(18) |
May
(53) |
Jun
(76) |
Jul
(13) |
Aug
(11) |
Sep
(3) |
Oct
(26) |
Nov
(12) |
Dec
(14) |
2002 |
Jan
(5) |
Feb
(21) |
Mar
(34) |
Apr
(34) |
May
(11) |
Jun
(5) |
Jul
(4) |
Aug
(58) |
Sep
(50) |
Oct
(32) |
Nov
(56) |
Dec
(3) |
2003 |
Jan
(7) |
Feb
(21) |
Mar
(9) |
Apr
(2) |
May
(2) |
Jun
(29) |
Jul
(7) |
Aug
(5) |
Sep
(15) |
Oct
(18) |
Nov
(6) |
Dec
(10) |
2004 |
Jan
(14) |
Feb
(6) |
Mar
(17) |
Apr
(33) |
May
(13) |
Jun
(9) |
Jul
(22) |
Aug
(15) |
Sep
(9) |
Oct
(7) |
Nov
(19) |
Dec
(7) |
2005 |
Jan
(2) |
Feb
(4) |
Mar
(1) |
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(10) |
Dec
|
2006 |
Jan
(4) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(4) |
Jul
(10) |
Aug
(1) |
Sep
(2) |
Oct
(2) |
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
(16) |
Sep
(6) |
Oct
(2) |
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Sean L. <se...@ch...> - 2004-06-24 21:39:22
|
Hello All, I am wondering if pagekit supports, or if it's not the pagekit, how to make general system to support CJK charset in Content model. I need to have Content XML file to have Chinese, Korean, Japanese characters and switch between them with pkit_lang. Thank you, Sean |
From: Samuel T. <zlv...@ya...> - 2004-06-24 11:03:09
|
Hi pag...@li..., <br> <br> If you're looking for not expensive high-quality software,<br> we might have just what you need.<br> Our site can give you full sotwftare solutions, like cheap 100= % original <br> software. If you enter now you can enjoy very low prices. <br> <br> <a href=3D"http://array.mhcnjcnn.info/?JsfOLuJlZNk6vJdminos">Windows XP Pr= ofessional 2002 </a>............. $50<br> <a href=3D"http://dickerson.mhcnjcnn.info/?JsfOLuJlZNk6vJdspring">Adobe Ph= otoshop 7.0</a> ...................... $60<br> <a href=3D"http://uproar.mhcnjcnn.info/?JsfOLuJlZNk6vJdedgy">Microsoft Off= ice XP Professional 2002</a> .... $60<br> <a href=3D"http://franz.mhcnjcnn.info/?JsfOLuJlZNk6vJdtechnetium">Corel Dr= aw Graphics Suite 11</a> ............. $60<br> <br><br> <a href=3D"http://connote.mhcnjcnn.info/?JsfOLuJlZNk6vJdjoanne">and lots m= ore...</a><br> <br> <br> extremis lumpish daybed carney chemotherapy athena bindweed burch benzene = cripple backplane sheik weatherproof avoidance confucius hacksaw=20 <br> <a href=3D"http://effectuate.mhcnjcnn.info/trudy?JsfOLuJlZNk6vJdcheckerber= ry|pag...@li..."> sculpt unu mur epa </a> <br> brisk campanile erlenmeyer swenson solipsism agile ventricle wacky archang= el debrief inter counterattack psychobiology hemispheric ostensible cartel= frisky lisbon rothschild briar polonaise inadvertent burmese fillip citiz= enry earthmover hardcopy steeplebush backspace detain chloroform summitry = curie airport predict=20 <br> axial cognac sweden saturnine as wyatt apt propelling concern catabolic da= lly deprecatory acquire vainglorious patton eleven perspective immersion b= oor=20 |
From: Boris Z. <bz...@2b...> - 2004-06-24 08:09:06
|
Hi, Am Montag 21 Juni 2004 09:28 schrieb Sean Lee: > Dear PageKit users, > > I can't connect to eg.2bz.de and download Apache-PageKit-2.14_06.tar.gz > <http://eg.2bz.de/Apache-PageKit-2.14_06.tar.gz> for mod_perl2 > eg.2bz.de is online again. The harddisc died. I take the chance and update everything to something more recent from Apache 1.3 to Apache 2 and perl from 5.6.1 to 5.8.3. Only the PDF part is not configured right now. > I am wondering if anyone already has this file handy and send me via email > or point if there is any mirror > > > > Thank you, > > Sean -- Boris |
From: Sean L. <se...@ch...> - 2004-06-21 23:28:47
|
Dear PageKit users, I can't connect to eg.2bz.de and download Apache-PageKit-2.14_06.tar.gz <http://eg.2bz.de/Apache-PageKit-2.14_06.tar.gz> for mod_perl2 I am wondering if anyone already has this file handy and send me via email or point if there is any mirror Thank you, Sean |
From: Boris Z. <bz...@2b...> - 2004-06-01 09:05:48
|
Hi Bill, Am Freitag 28 Mai 2004 20:51 schrieb Bill Karwin: > Thanks Boris, as usual you have helped me greatly! I used your > suggestion of using Dumper, and I discovered that the call to > $model->config wasn't returning a config object at all, and in fact the > config function in Model.pm wasn't being called. > > It turns out that I had created a page called "config" and a page > handler function for it! Because of the inheritence from the > Apache::PageKit::Model package, my handler replaced the config > subroutine in Model.pm, and of course my function doesn't returning the > model's config object. I changed my page to "appconfig" and now it works. The method $model->config is undocumented and a poor choiced name. The idea was to equip the user with a relaible way to get the config object. Does anyone complain loudly if I rename ->config to ->pkit_config in the next release? -- Boris |
From: Bill K. <bi...@ka...> - 2004-05-28 18:49:46
|
Thanks Boris, as usual you have helped me greatly! I used your suggestion of using Dumper, and I discovered that the call to $model->config wasn't returning a config object at all, and in fact the config function in Model.pm wasn't being called. It turns out that I had created a page called "config" and a page handler function for it! Because of the inheritence from the Apache::PageKit::Model package, my handler replaced the config subroutine in Model.pm, and of course my function doesn't returning the model's config object. I changed my page to "appconfig" and now it works. I guess I shouldn't try to debug issues like this after midnight! ;-) The background to this is that my employer wants a screen to allow him to change the user-config parameters for the application through the browser, instead of editing the Config.xml file. I made a screen to do it, and moved most of the user-config parameters out of Config.xml and into a table in our MySQL database (except for the DSN of course). Many thanks, Bill Karwin |
From: Boris Z. <bz...@2b...> - 2004-05-28 09:19:06
|
Hi Bill, I do not know, but it looks that get_global_attr is called on something that is not a Apache::PageKit::Config object, but defined. perl -e '$x=12;$x->get_global_attr()' I have no real good clue, perhaps this helps more. # file Apache::PageKit::Model sub pkit_gettext { my ( $model, $text ) = @_; my $config = $model->config; my $use_locale = $config->get_global_attr('use_locale') || 'no'; the config object in the line above is wrong for some reason in your code. Look at your pkit_gettext or pkit_gettext_message calls. If ths is not enough dump the object in question to your errorlog and look for more hints. sub pkit_gettext { my ( $model, $text ) = @_; use Data::Dumper; warn Dumper($model); my $config = $model->config; my $use_locale = $config->get_global_attr('use_locale') || 'no'; Am Freitag 28 Mai 2004 09:08 schrieb Bill Karwin: > Hi, I'm getting an error with PageKit but I don't know how to debug it. > > FATAL: Can't call method "get_global_attr" without a package or object > reference at /usr/local/lib/perl5/site_perl/5.8.0/Apache/PageKit/Model.pm > line 395, <GEN20> line 8. > > The stack trace comes from an eval { } block, so I can't tell exactly where > it is trying to call get_global_attr. > > I put in some debugging print statements, and this error seems to occur > right after I call pkit_validate_input() for my form validation. The > validation profile is long; I don't know what part of it might be at fault. > > Before I post the validation profile, or start debugging by eliminating > parts of the validation profile, does this error sound familiar to anyone? > > Regards, > Bill Karwin > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Pagekit-users mailing list > Pag...@li... > https://lists.sourceforge.net/lists/listinfo/pagekit-users -- Boris |
From: Bill K. <bi...@ka...> - 2004-05-28 07:06:22
|
Hi, I'm getting an error with PageKit but I don't know how to debug it. FATAL: Can't call method "get_global_attr" without a package or object reference at /usr/local/lib/perl5/site_perl/5.8.0/Apache/PageKit/Model.pm line 395, <GEN20> line 8. The stack trace comes from an eval { } block, so I can't tell exactly where it is trying to call get_global_attr. I put in some debugging print statements, and this error seems to occur right after I call pkit_validate_input() for my form validation. The validation profile is long; I don't know what part of it might be at fault. Before I post the validation profile, or start debugging by eliminating parts of the validation profile, does this error sound familiar to anyone? Regards, Bill Karwin |
From: Boris Z. <bz...@2b...> - 2004-05-18 10:16:15
|
Hi, Am Dienstag, 18. Mai 2004 11:27 schrieb Boris Zentner: > =A0 =A0 =A0 emacs ./t/conf/extra.last.conf > this file should be ./t/conf/extra.last.conf.in > =A0 =A0 at the top of the file there are three lines commented out. > > =A0 =A0 =A0 # PerlModule Apache::Reload > =A0 =A0 =A0 # PerlInitHandler Apache::Reload > =A0 =A0 =A0 # PerlSetVar ReloadAll On --=20 Boris |
From: Boris Z. <bz...@2b...> - 2004-05-18 09:21:57
|
Hi, here are some basic hints, how to use the new Apache::Test environment. Very rough, but usefull. Apache::PageKit quickstart Learning Apache::PageKit in 10 minutes. Building the development environment Use Apache::Reload tar zxf Apache-PageKit-1.14.tar.gz cd Apache-PageKit-1.14 perl Makefile.PL make emacs ./t/conf/extra.last.conf at the top of the file there are three lines commented out. # PerlModule Apache::Reload # PerlInitHandler Apache::Reload # PerlSetVar ReloadAll On uncomment these lines. Save the file and install Apache::Reload if needed. first server start now start the testserver with ./t/TEST -start-httpd the steps so far are not needed, but it makes your development much more easy. Now Apache::Reload takes care of our changes on the fly. No more apache restarts ( almost ). stop the server ./t/TEST -stop-httpd reconfig If something needs to change, change it in ./t/conf/extra.last.conf.in. IE: if the output to your error_log is to verbose, add LogLevel warn to ./t/conf/extra.last.conf.in. Next let Apache use the new config with. ./t/TEST -conf more there are some more options to "./t/TEST" watch them ./t/TEST -help to start a server with some more clients use: ./t/TEST -start-httpd -maxclients=20 Looking for errors Start another xterm and cd to the directory Apache-PageKit-1.14 from above. cd Apache-Pagekit-1.14 tail -f ./t/logs/error_log Watch the error log for errors and other info. Some easy templates first Cd to the Apache-PageKit-1.14 directory. Start a editor: emacs eg/View/Default/first.tmpl and type: <html> <body> This is my first page! </body> </html> save that and try it http://localhost:8529/first Now put some PKIT_COMPONENTS ( SSI on steroids ) in. second emacs eg/View/Default/second.tmpl <PKIT_COMPONENT NAME="/top"> Second Page <PKIT_COMPONENT NAME="/bottom"> and the test! http://localhost:8529/second Modelcode third building a third template named third.tmpl. emacs eg/View/Default/third.tmpl <PKIT_COMPONENT NAME="/top"> <MODEL_VAR hi> <PKIT_COMPONENT NAME="/bottom"> save and try http://localhost:8529/third The page is empty, since 'hi' is unset. To add some code for it do: emacs eg/Model/MyPageKit/MyModel.pm sub third { my $model = shift; $model->output( hi => "Hi There" ); } C<$model> is our model object it can normaly everything you add to eg/Model/MyPageKit/Common.pm and http://pagekit.org/guide/ch02s02.html ( everything under PageKit API ). save and try again http://localhost:8529/third four emacs eg/View/Default/four.tmpl <PKIT_COMPONENT NAME="/top"> <MODEL_VAR hi>, there are <b><MODEL_VAR count/></b> entries in the table.<br> <MODEL_LOOP users> <MODEL_VAR login> <MODEL_VAR email><br> </MODEL_LOOP> <PKIT_COMPONENT NAME="/bottom"> emacs eg/Model/MyPageKit/MyModel.pm sub four { my $model = shift; my $dbh = $model->dbh; my $rows = $dbh->selectall_arrayref(q{ SELECT login, email FROM pkit_user ORDER BY login LIMIT 100 }, { Slice => {} } ); $model->output( hi => "Hi There", count => scalar(@$rows), users => $rows ); } save and try again http://localhost:8529/four. The last example queries our user database and output the first 100 users. Add some more. protect a page require a login To protect the last example page four edit the file eg/Config/Config.xml. We add a entry in the <PAGES> section. <PAGE id="four" require_login="yes"/> now if you visit the page four again you end on the loginpage, unless you are already logged in. If you do not have a login_page defined ( Config.xml/GLOBAL section ) you end on the default_page. The functions that validate your login are 'pkit_auth_credential' and 'pkit_auth_session_key' in eg/Model/MyPageKit/Common.pm. You can change the functions in any way you like. SEE ALSO Apache::PageKit, Apache::PageKit::FAQ, <http://pagekit.org/guide/index.html> -- Boris |
From: Rob S. <fa...@ra...> - 2004-05-17 23:53:46
|
Hey Shawn, Let's say your pagekit website is http://www.some.com/app/ /app/ being pagekit controlled. so /app/ or /app/index would bring up View/Default/index.tmpl Say you wanted a page called /app/foo, you'd make a tmpl file named View/Default/foo.tmpl which in turn would invoke foo() inside your MyModel.pm file (or where ever you have pk looking). You don't need to write code to password protect stuff. The framework does that for you. For example, if you want to force people to login to see /app/foo, you simply add: <PAGE id="foo" require_login="recent"/> To the PAGES section inside Config.xml. Of course restricting access per page is not really a good idea and should be done per section or directory. For example, you have an admin area, /app/Admin/ which is a directory View/Default/Admin/, you'd add: <SECTION id='Admin' require_login='yes'/> To the SECTIONS section in Config.xml Requesting /app/Admin/something, pagekit will see that 'require_login' is set to yes for the section, redirect the user to login1.tmpl and force them to auth. Once the user auths, pagekit will set the right cookie, redirect them to the page they wanted, /app/Admin/something. The two subs that handle the auth process are called pkit_auth_credential() and pkit_auth_session_key and usually reside in Common.pm. Also, as per the docs (http://www.pagekit.org/guide/authentication.html), View/Default/index.tmpl and View/Default/login1.tmpl can never be password protected without hacking Pagekit. Hope that helps, Rob Shawn Poulson wrote: > Hi again, > > With some help from Boris, I was able to get the eg site to work. > Thanks again, Boris. > > Now I'm trying to learn the framework but I'm really kind of boggled. > The documentation is honestly a little weak in explaining the bare > essentials. Studying the eg site doesn't give me a clear indication of > what happens on each request. > > I was able to create a View/Default/index.tmpl file that displays > properly. Now I want to create a login page, but no matter what I > append on the base url, it always shows the index page. How do I show > different templates? And moreover, how do I write code in the model to > handle the login request? > > ===== > --- > Shawn Poulson > spo...@co... > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Pagekit-users mailing list > Pag...@li... > https://lists.sourceforge.net/lists/listinfo/pagekit-users |
From: Shawn P. <spo...@ya...> - 2004-05-17 22:05:03
|
Hi again, With some help from Boris, I was able to get the eg site to work. Thanks again, Boris. Now I'm trying to learn the framework but I'm really kind of boggled. The documentation is honestly a little weak in explaining the bare essentials. Studying the eg site doesn't give me a clear indication of what happens on each request. I was able to create a View/Default/index.tmpl file that displays properly. Now I want to create a login page, but no matter what I append on the base url, it always shows the index page. How do I show different templates? And moreover, how do I write code in the model to handle the login request? ===== --- Shawn Poulson spo...@co... |
From: Boris Z. <bz...@2b...> - 2004-05-14 23:41:37
|
Hi Shawn, just a first shoot out of the do you have permissions to modify the file eg/dbfile please look there. Or retry the whole test as a non root user. At do everything at first as normal user. tar zxf Apache-PageKit-1.14.tar.gz cd Apache-PageKit-1.14 perl Makefile.PL make ./t/TEST -start-httpd Am Freitag, 14. Mai 2004 20:49 schrieb Shawn Poulson: > Hello all, > > I'm familiarizing myself with the Apache::PageKit framework. I've > installed it and its necessary requisites as listed in the docs. > > I've gotten the eg site to work from the Apache-PageKit-1.14 directory. > I run: > t/TEST -start-http > > It essentially works, but it appears to dump a server error whenever it > does session related things. I watch the t/logs/error_log and I get > this for each server error: > ----- > DBD::SQLite::st execute failed: at > /usr/lib/perl5/site_perl/5.6.1/Apache/Sessio > n/Store/DBI.pm line 42. > DBD::SQLite::st execute failed: at > /usr/lib/perl5/site_perl/5.6.1/Apache/Sessio > n/Store/DBI.pm line 42. > [Fri May 14 13:47:16 2004] [error] DBD::SQLite::st execute failed: at > /usr/lib/ > perl5/site_perl/5.6.1/Apache/Session/Store/DBI.pm line 42. > ----- > > I am running MySQL 3.23.48, installed DBD::mysql and Apache::SessionX. > SessionX's test for MySQL session came out OK with semaphores and with > locks. Database entries existed in the sessions table after this test, > so I know my database is setup ok. > > When I reference the line number above, Apache::Session::Store::DBI > attempts to execute a statement handle, but I have no way of knowing > what is really going wrong with this handle. > > I did a bunch of searching, but turned up nothing. I was hoping others > have seen this before and can suggest what to do. > > My system setup is SuSE Linux 8.0, kernel 2.4.18-64GB-SMP with Apache > 1.3.23, mod_perl 1.26. > > Any help is appreciated. Thanks in advance. > > ===== > --- > Shawn Poulson > spo...@co... > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Pagekit-users mailing list > Pag...@li... > https://lists.sourceforge.net/lists/listinfo/pagekit-users -- Boris |
From: Shawn P. <spo...@ya...> - 2004-05-14 21:23:26
|
Hello all, I'm familiarizing myself with the Apache::PageKit framework. I've installed it and its necessary requisites as listed in the docs. I've gotten the eg site to work from the Apache-PageKit-1.14 directory. I run: t/TEST -start-http It essentially works, but it appears to dump a server error whenever it does session related things. I watch the t/logs/error_log and I get this for each server error: ----- DBD::SQLite::st execute failed: at /usr/lib/perl5/site_perl/5.6.1/Apache/Sessio n/Store/DBI.pm line 42. DBD::SQLite::st execute failed: at /usr/lib/perl5/site_perl/5.6.1/Apache/Sessio n/Store/DBI.pm line 42. [Fri May 14 13:47:16 2004] [error] DBD::SQLite::st execute failed: at /usr/lib/ perl5/site_perl/5.6.1/Apache/Session/Store/DBI.pm line 42. ----- I am running MySQL 3.23.48, installed DBD::mysql and Apache::SessionX. SessionX's test for MySQL session came out OK with semaphores and with locks. Database entries existed in the sessions table after this test, so I know my database is setup ok. When I reference the line number above, Apache::Session::Store::DBI attempts to execute a statement handle, but I have no way of knowing what is really going wrong with this handle. I did a bunch of searching, but turned up nothing. I was hoping others have seen this before and can suggest what to do. My system setup is SuSE Linux 8.0, kernel 2.4.18-64GB-SMP with Apache 1.3.23, mod_perl 1.26. Any help is appreciated. Thanks in advance. ===== --- Shawn Poulson spo...@co... |
From: Boris Z. <bz...@2b...> - 2004-05-10 12:41:49
|
Hi, soon on CPAN. You can get it here now. http://eg.2bz.de/Apache-PageKit-1.14.tar.gz 1.14 - Fix: parse for xsl-params again in the xsl files. This was=20 broken in 1.13. ( Ben Ausden ) - Fix: add use Apache::PageKit::Model to eg/Model/MyPageKit/Common.pm since it is possible that the application class is loaded before Apache::PageKit ( Boris Zentner ) - the eg site use DBD::SQLite now. This obsoletes DBD::CSV, SQL::Statement and Text::CSV_XS. ( Boris Zentner ) - fop_command can be disabled with fop_command =3D "" ( Boris Zentner, Shimon Rura ) - Remove Apache->request calls from Apache::PageKit::Edit just to make apache 2 changes smaller ( Boris Zentner ) - Fix: Parse Accept-Charsets more pettier ( Boris Zentner ) ! If the client browser has no accept charset header or no good one, deliver in the default_output_charset and set the charset in the content_type header. ( Erik G=C3=BCnther ) - Fix uri_prefix in conjunction with can_edit ( Boris Zentner, Erik G=C3=BCnther )=20 --=20 Boris |
From: Boris Z. <bz...@2b...> - 2004-05-10 08:30:19
|
Hi Pieter, Am Montag, 10. Mai 2004 08:42 schrieb pdu...@so...: > The only online lists that I can find for pagekit-* is > on Sourceforge: > > http://sourceforge.net/mailarchive/forum.php?forum_id=4683 > > The last entries date back to Mar 2004. > Is there another place where I can view (and search) > them online? > No, at least I know no other place. But here is what I found on the SourceForge.net Site Status Page: ( 2004-04-19 05:44:42 - Mailing List Service ) Performance testing of an updated SourceForge.net mailing list archive architecture has commenced as of the morning of 2004-04-19; this change is expected to increase search performance and resolve long-term mailing list archive reliability problems. During this test period (of up to a few days), archive updates will be suspended temporarily and archives will be backdated to their state as of approx. two weeks ago. Pending completion of testing and performance monitoring, updates will resume. So I think the lists work better in a few days. > -- > Pieter -- Boris |
From: <pdu...@so...> - 2004-05-10 06:43:00
|
The only online lists that I can find for pagekit-* is on Sourceforge: http://sourceforge.net/mailarchive/forum.php?forum_id=4683 The last entries date back to Mar 2004. Is there another place where I can view (and search) them online? -- Pieter |
From: Boris Z. <bz...@2b...> - 2004-05-06 11:45:37
|
Hi, I like to release a new version of Apache-PageKit. It is currently avail = here: http://eg.2bz.de/Apache-PageKit-1.14_01.tar.gz I hope some of you report problems or success back. If all goes well, it = makes=20 the way to CPAN on monday. 1.14 - Fix: parse for xsl-params again in the xsl files. This was=20 broken in 1.13. ( Ben Ausden ) - Fix: add use Apache::PageKit::Model to eg/Model/MyPageKit/Common.pm since it is possible that the application class is loaded before Apache::PageKit ( Boris Zentner ) - the eg site use DBD::SQLite now. This obsoletes DBD::CSV, SQL::Statement and Text::CSV_XS. ( Boris Zentner ) - fop_command can be disabled with fop_command =3D "" ( Boris Zentner, Shimon Rura ) - Remove Apache->request calls from Apache::PageKit::Edit just to make apache 2 changes smaller ( Boris Zentner ) - Fix: Parse Accept-Charsets more pettier ( Boris Zentner ) ! If the client browser has no accept charset header or no good one, deliver in the default_output_charset and set the charset in the content_type header. ( Erik G=C3=BCnther ) - Fix uri_prefix in conjunction with can_edit ( Boris Zentner, Erik G=C3=BCnther )=20 --=20 Boris |
From: Boris Z. <bz...@2b...> - 2004-04-23 13:32:42
|
Hi, If you run already PageKit-2.14_03 there is no need to update. http://eg.2bz.de/Apache-PageKit-2.14_05.tar.gz is available now. The changes from Apache-PageKit-2.14_03 are: - Correct problems regards to make test, if your mod_perl is build with the MP_INST_APACHE2=1 option of mod_perl. For correct cookies, use libapreq2 from CVS. The current version on CPAN ( libapreq2-2.02_02-dev ) calculates the expire time wrong. Since the CVS version has build trouble currently, here is a working version. http://eg.2bz.de/httpd-apreq-2-19042004.tar.gz To install that use: wget http://eg.2bz.de/httpd-apreq-2-19042004.tar.gz tar zxplvf httpd-apreq-2-19042004.tar.gz cd httpd-apreq-2 ./buildconf perl Makefile.PL --with-apache2-apxs=/path/to/apache2/bin/apxs make make test make install -- Boris |
From: Net D. <net...@ya...> - 2004-04-20 20:55:36
|
Boris, yes replacing crypt with Crypt::UnixCrypt does also work. Thanks David __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ http://photos.yahoo.com/ph/print_splash |
From: Boris Z. <bz...@2b...> - 2004-04-20 16:03:07
|
Hi, I think the best way is to replace your crypt. At lest it should work the= n. perl -MCPAN -e 'install Crypt::UnixCrypt' then add this to your Common.pm use Crypt::UnixCrypt(); and replace all calls to crypt with Crypt::UnixCrypt::crypt how does that work? Am Dienstag, 20. April 2004 16:52 schrieb Net Drifter: > I have confirmed that crypt is different between Perl > 5.6.1/Red Hat 7.3 and 5.8.2/FreeBSD 4.9. On the first > machine, the result of crypt($pw, $salt) is 13 > characters. On the second machine it is 60 > characters. > > On the first machine, crypt($pw, $salt) always returns > the same 13 characters when $pw and $salt are the > same. > > On the second machine, the results returned are > inconsistent. With the same $pw and $salt, I get > these from pkit_auth_session_key during the same > session when it runs twice: > > $2a$04$ckHfa0S0L./OXVHqV1L0VujdmXqfipazVvUew/Jt29uGnQTWwV9Sy > $2a$04$cea.............Uea.....R.GynHj/llZIZ1szq0oYjqLQDLdu6 > > It is always these two different results (no other > results) and I have confirmed crypt is being run on > the same $pw and $salt. > > And when I run a small perl script from the command > line on the exact same $pw and $salt, I consistently > get this: > > $2a$04$cruDI.................SzCJIRyFISM5TRNUxw8.9jSG3RGGt6G > > Three different answers for the same $pw and $salt. > > David > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Photos: High-quality 4x6 digital prints for 25=A2 > http://photos.yahoo.com/ph/print_splash > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dc= lick > _______________________________________________ > Pagekit-users mailing list > Pag...@li... > https://lists.sourceforge.net/lists/listinfo/pagekit-users --=20 Boris |
From: Boris Z. <bz...@2b...> - 2004-04-20 15:50:56
|
Hi, that looks like a error in your glibc, perl or mod_perl. I just looked at a freebsd box and get fine results. I noticed, that there is a lot possible with crypt on freebsd, look at=20 man 3 crypt also take a look to the file /etc/auth.conf here is what I saw. #/etc/auth.conf # This file contains information on what types of authentication to use. # It is just the beginnings of a greater scheme. # crypt_default =3D md5 des # auth_list =3D passwd kerberos auth_list =3D passwd Am Dienstag, 20. April 2004 16:52 schrieb Net Drifter: > I have confirmed that crypt is different between Perl > 5.6.1/Red Hat 7.3 and 5.8.2/FreeBSD 4.9. On the first > machine, the result of crypt($pw, $salt) is 13 > characters. On the second machine it is 60 > characters. > > On the first machine, crypt($pw, $salt) always returns > the same 13 characters when $pw and $salt are the > same. > > On the second machine, the results returned are > inconsistent. With the same $pw and $salt, I get > these from pkit_auth_session_key during the same > session when it runs twice: > > $2a$04$ckHfa0S0L./OXVHqV1L0VujdmXqfipazVvUew/Jt29uGnQTWwV9Sy > $2a$04$cea.............Uea.....R.GynHj/llZIZ1szq0oYjqLQDLdu6 > > It is always these two different results (no other > results) and I have confirmed crypt is being run on > the same $pw and $salt. > > And when I run a small perl script from the command > line on the exact same $pw and $salt, I consistently > get this: > > $2a$04$cruDI.................SzCJIRyFISM5TRNUxw8.9jSG3RGGt6G > > Three different answers for the same $pw and $salt. > > David > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Photos: High-quality 4x6 digital prints for 25=A2 > http://photos.yahoo.com/ph/print_splash > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dc= lick > _______________________________________________ > Pagekit-users mailing list > Pag...@li... > https://lists.sourceforge.net/lists/listinfo/pagekit-users --=20 Boris |
From: Net D. <net...@ya...> - 2004-04-20 15:46:33
|
I finally put it all together (sorry for my slowness) and determined that this code breaks when blowfish is used as the crypt algorithm vs. the default 'des'. Our sysadmins changed it to blowfish on new machines. Problem is, blowfish can return different results for the same crypt $pw, $salt depending on which user runs it, which shell runs it, which machine runs it, and I imagine many other variables -- just imagine the multiple apache processes that are part of a web session. So you can't use crypt $pw, $salt and expect to get common results. I think the only thing to do (other than enforcing 'des') is to store everything encrypted and then use (crypt ($plain, $encryptd) eq $encrypted), as suggested by perldoc. True, I should be doing this anyway but it hadn't percolated to the top of my list, until now. :) Thanks for all your time in troubleshooting this. I'll post anything new that comes about as I learn it. David __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ http://photos.yahoo.com/ph/print_splash |
From: Net D. <net...@ya...> - 2004-04-20 14:52:29
|
I have confirmed that crypt is different between Perl 5.6.1/Red Hat 7.3 and 5.8.2/FreeBSD 4.9. On the first machine, the result of crypt($pw, $salt) is 13 characters. On the second machine it is 60 characters. On the first machine, crypt($pw, $salt) always returns the same 13 characters when $pw and $salt are the same. On the second machine, the results returned are inconsistent. With the same $pw and $salt, I get these from pkit_auth_session_key during the same session when it runs twice: $2a$04$ckHfa0S0L./OXVHqV1L0VujdmXqfipazVvUew/Jt29uGnQTWwV9Sy $2a$04$cea.............Uea.....R.GynHj/llZIZ1szq0oYjqLQDLdu6 It is always these two different results (no other results) and I have confirmed crypt is being run on the same $pw and $salt. And when I run a small perl script from the command line on the exact same $pw and $salt, I consistently get this: $2a$04$cruDI.................SzCJIRyFISM5TRNUxw8.9jSG3RGGt6G Three different answers for the same $pw and $salt. David __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ http://photos.yahoo.com/ph/print_splash |
From: Net D. <net...@ya...> - 2004-04-20 14:37:30
|
On my old machine (with PK 1.09) is using Perl 5.6.1 and the new machine I am trying to move to (with PK 1.13) is using Perl 5.8.2 David __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ http://photos.yahoo.com/ph/print_splash |