RE: XML::LibXSLT / Apache / MOD_Perl Segfaults
Have you compiled apache with noexpat in the apache? -- Clayton Cottingham Air Games Wireless Inc. Suite 204, 309 W. Cordova St. Vancouver BC V6B 1E5 Canada Tel: +1.604.408.2228 Cel: +1.604.720.3510 Fax: +1.604.408.2649 Email: [EMAIL PROTECTED] Web: www.airg.com -Original Message- From: D. Hageman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 2:56 PM To: Matt Sergeant Cc: D. Hageman; [EMAIL PROTECTED] Subject: Re: XML::LibXSLT / Apache / MOD_Perl Segfaults I should note then that it will also segfault if I don't attempt to preload it and just 'use' it in a module. The only difference is that the backtrace is significantly longer. :-) On Tue, 30 Apr 2002, Matt Sergeant wrote: D. Hageman wrote: I am having some issues utilizing XML::LibXSLT into a mod_perl application I am working on. The problem displays itself as a segfault on server startup. The setup I have is a standard RedHat 7.2 box with the following updated packages: apache 1.3.23 mod_perl 1.26 libxml2 2.4.21 libxslt 1.0.17 perl 5.6.1 The CPAN modules are all the latest as of today. The test is just a simple perl section with: Perl use XML::LibXSLT; /Perl It's probably something to do with the BOOT section in LibXSLT. Just don't load it that way - you're not winning much by trying to make it shared anyway (because it's mostly XS/C code, rather than perl code). Matt. -- //\\ || D. Hageman[EMAIL PROTECTED] || \\//
Re: performance testing - emulating real world use
Bryan Henry wrote: Anyone know of good guides or general info on performance testing and emulating real use of an application. I would like to understand how to identify potential bottlenecks before I deploy web apps. thank you, ~ b r y a n try httpd.apache.org/test/ and perl framework there in as well look on freshmeat for siege it does testing too
Re: here is a good modperl question on perlmonk
wow crazy!! just got my email and saw this thread! did anyone post on their site? again that node: http://perlmonks.org/?node_id=146303 Wim Kerkhoff wrote: I'm jumping into this thread quite lately, but here are my $.03 CDN. Mark Fowler wrote: On Tue, 5 Mar 2002, Medi Montaseri wrote: Stuart Frew wrote: Ideally you would have linux( or what ever) on every developers machine but sometimes you don't get the choice. Oh the choice is easyjust come in on a weekend and install linux on your box. Don't tell IT. That's all. I think the don't get a choice is more to do with that you require access to some application that requires MS windows to run. This is typically Exchange, Word, and most importantly iexplore for testing the website you are developing. There are solutions to this: a) Terminal Server. Get one Windows box running terminal server (the server version of w2k ships with it by default iirc) and install rdesktop[1] on your desktop Linux machines. This means you can all remotely open up a window to a Windows desktop on your linux box. It's reasonably fast but you will be limited to 256 colours and animations will be slow. An alternative to this, is to use VNC or TightVNC to connect to a spare Windows computer somewhere. I do this quite often to connect from my Linux system at work to a spare Windows system at home, across the VPN. I'm sure there are people who set up a local spare box, that developers can share if they need IE to test a webpage or convert an Office document or whatever b) VMWare (and similar) that allows you to run an emulated Windows computer on your real computer. I tried the trial version of this but I found it was taking up too much resources on my desktop. OTOH, I never had any problem with it and it worked flawlessly, and my desktop machine is quite slow by modern standards. I've been using VMWare for years with great success. Anything with a =400 Mhz processor and 256MB should be fine; all computers from the last 3 years have these specs, and RAM is cheap. By the way, if you originally tried Vmware2, try Vmware 3 as I found it a lot faster. Also make sure your system is tweaked: HD is in DMA mode, recompiled kernel, etc, etc. These days, I run an average of 3 VMWare sessions at any given time: 2 linux, and one Win32. I toggle between Win98 and WinXP, but do run all 4 images simulaneously (plus my normal apps) on occasion. ATA100 or SCSI does help though. c) VMWare the other way round - run it on Windows and have emulated linux boxen. The advantage of this is that you'll be able to quickly switch between a range of development environments, roll back changes etc. etc. I've never personally tried this solution... I've done this in the past, and we have developers that use this method as well. d) WINE on Linux. I've not had much success with this, but if it's a particular application you might have success. Doesn't work all so super hot for iexplore, winword, excel, and so forth. It works fine for quicktime, windows media player, starcraft, winamp, winzip, notepad, minesweeper, and a lot of other things; see winehq.com for an application database. I have some (trippy) screenshots of VNC, VMWare, VNC+VMWare, and Wine in action over at: http://www.nyetwork.org/wim/screenshots/
here is a good modperl question on perlmonk
thought someone might like to have a gander at this: http://perlmonksorg/?node_id=146303 look forward to seeing your replies!!
problems with $r-status('OK')
hello: im using Apache/1312 and mod_perl/124 every time i use the $r-status('OK'); it gives me this error Argument OK isn't numeric in subroutine entry has anyone come accross this before? thanks
Re: problems with $r-status('OK')
Hans Juergen von Lengerke wrote: clayton cottingham [EMAIL PROTECTED] on Mar 4, 2002: every time i use the $r-status('OK'); OK in this context is not a string, but a constant that is defined in Apache::Constants. Modify your code like this: use Apache::Constants qw(:common); ... $r-status(OK); # No quotes, it's a constant HTH, Hans hmm, ok did that before but i needed a restart ! sheesh!! thanks for the quick reply!
Re: another article on perl.com
Stas Bekman wrote: Keith G. Murphy wrote: Stas Bekman wrote: If you know of other prospective magazines looking for articles please let me know. Well, on the web side of things, there's this: http://www-106.ibm.com/developerworks/ They have a fair number of decent articles, including one on CGI.pm (under the Linux topic, for some reason). So mod_perl should at least get equal time. Article submission is here: http://www-105.ibm.com/developerworks/newcontent.nsf/myidea Great, thanks Keith. For those who plan to send me prospective zines, I already have: Dr.Dobb's Journal, New Architect (prev. Web Techniques), CNet, LinuxMagazine, SysAdmin, the perl review. Those who publish the articles already are: perl.com, apacheweek.com, apachetoday.com. what about slashdot and perlmonks? -- _ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: [OT] New mod_perl logo (revisited)
Jonathan M. Hollin wrote: I apologise in advance to those of you who receive multiple copies of this email due to my cross-posting. Due to the instability of its previous host, I have moved the mod_perl logo entries to my new Linux box (my apologies to those who were unable to review the images previously due to the inordinate down-time). The images are now available at http://beverley2.digital-word.com/mod_perl/ Also, I have now added html pages to each directory with the images displayed inline - thanks to Stas Bekman (stas[at]stason.org) who contributed his ls2html Perl script for that purpose. I am still soliciting entries for the new logo (send to mod_perl[at]digital-word.com)... so please keep those images coming. Jonathan M. Hollin - WYPUG Co-ordinator West Yorkshire Perl User Group http://wypug.pm.org/ personally id have to say i like this one the best louise_bramald_1.jpg id love to see it with the camel a bit bigger
mod perl cookbook, the kudos continue...
just got my copy on friday, havent been doing much but learning the errors of my ways!! thanks for all the hard work guys this will be a book that will be useful for me for quite a while
Re: Apache::DBI
Stathy G. Touloumis wrote: I'm not sure what you mean, really, but perhaps you mean dbi_connect_method? Did you mean specifying this argument like so ? DBI-connect( $driver, $u, $p, { dbi_connect_method= 'connect' } ); I will see if this is what I am looking for. Thanks for the reference : ) this is how i usually do it in startup.pl: #dont declare DBI use Apache::DBI; # Initialize the database connections for each child Apache::DBI-connect_on_init (DBI:mysql:database=Ezines;host=localhost, root,database, { PrintError = 1, # warn() on errors RaiseError = 0, # don't die on error AutoCommit = 1, # commit executes immediately } ); $Apache::DBI::DEBUG = 1; then in my code i just use DBI as i normally would: my $dbh = DBI-connect( 'dbi:mysql(RaiseError=1,Taint=1):dbname=database;host=localhost', 'username', 'password', ); my $count = $dbh-selectrow_array( q{ SELECT count(*) FROM Ezines }, {}, ); $dbh-disconnect; if you tail the log file you should see Apache::DBI::DEBUG messages
Re: mod_perl Developer's Cookbook
FYI canadians based in vancouver can get this at http://www.granvillebooks.com/ ive had way better experience ordering from them than ordering from chapters they tell me itll take two weeks though as its a brand new item if you are in this area please check em out they have a great selection, and their comp book are pretty much always 20% off! Jay Lawrence wrote: For the Canadians out there you can get it at Chapters.Indigo.CA too Search for Geoffrey Young as mod_perl does not come up through their search engine. Jay - Original Message - From: ___cliff rayman___ [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 31, 2002 12:29 PM Subject: Re: mod_perl Developer's Cookbook ordered my today through the website (puts a little extra money in the hands of mod_perlers: http://www.modperlcookbook.org/ cliff Matt Sergeant wrote: My copy just arrived! I'll try and get through most of it as fast as I can and post a review. Congrats Geoff, Paul and Randy. Looks great at first glance. -- !-- Matt -- :-Get a smart net/:- -- ___cliff [EMAIL PROTECTED]http://www.genwax.com/
Re: can not set param
Rasoul Hajikhani wrote: Folks, The apache::Request docs indicate that param can be used to set the query string. However, it fails when I do something like this: my $r = Apache::Request-new(shift); ... my $host= $r-hostname; my $uri = $r-uri; my $params = $r-parsed_uri-query; # does not seem to work!? my $scheme = $r-parsed_uri-scheme || 'https'; $r-param('previous_uri' = $scheme://$host$uri); $r-param('q_string' = $params) if ($params); $r-header_out(Location = http://$host/login;); $r-status(REDIRECT); $r-send_http_header; return OK; Can someone tell me why this is failing? I can not get previous_uri or q_string in my login module. Also, $r-parsed_uri-scheme does not return anything back. Thanks in advance. -r why not use $r-args ?? my %args = $r-args; then just have to call your queries like $args{Members_id_ext}
Re: Apache::AuthCookie login faliure reason
Bill Moseley wrote: At 04:09 PM 11/23/2001 +1100, simran wrote: Hi All, I am having some trouble getting Apache::AuthCookie (version 3 which i believe is the latest version) to do what want: What i want is: * To be able to give the user a reson if login fails - eg reason: * No such username * Your password was incorrect Has anyone else come across the same requirement/issue, and how have you solved it? Apache::AuthCookieURL does that. IIRC, it sets a cookie with the failure reason that's returned from authen_cred call. in the code line 154 is this: $r-subprocess_env('AuthCookieReason', 'bad_cookie'); and on 157 this: $r-subprocess_env('AuthCookieReason', 'no_cookie'); im not sure why your having problems on setting this the examples in the cpan tarball on the login.pl page are like this #!/usr/bin/perl use strict; my $r = Apache-request; $r-status(200); my $uri = $r-prev-uri; my $reason = $r-prev-subprocess_env(AuthCookieReason); then in his html code it says: PFailure reason: '$reason'. Please enter your login and password to authenticate./P which shows up if its a 'bad cookie' or 'no cookie' basically the authentication failed one thing to mention in the prev not prev subprocess is that you set it as subprocess_env and then call it with prev later
Re: how to install the XML::LibXSLT along with libxslt?
here is a list of install procedures ive used for getting these all going http://drfrog.fdns.net/x3d/howto.html
Re: Problem using mod_perl-1.26 with perl 5.6.1 and XML::Parser
Matthew H. Gerlach wrote: Just to follow up. I took your advice on building building modperl. My actual command was as follows: perl Makefile.PL \ EVERYTHING=1 \ USE_APACI=1 \ APACHE_PREFIX=/lsurf/wohg \ APACHE_SRC=../$APACHE/src \ DO_HTTP=1 \ APACI_ARGS=--enable-rule=expat --enable-module=so --enable-shared=info \ --enable-shared=proxy --enable-shared=rewrite I first tried this with perl 5.005_3 with no problems. I then upgraded to perl 5.6.1, reinstalled the XML::Parser 2.30, and rebuild modperl/apache. The nasty bug showed back up. At this point it still looks like I'm SOL using XML::Parser with perl 5.6.1 under modper. I did download and install XML::LibXML and started playing with it. I'm actually using XML::Parser via XML::Simple to put short XML messages into handy 'data structures'. Maybe I should make an XML::LibXML::Simple :) i would say that XML::LibXML is the most stable modules ive used everything else perl has failed for the X3D parsing tool i made: http://drfrog.fdns.net/perl/parsex3d.pl this will have a much nicer home at web3d.org at some point soon they found a bug in it on freebsd timezone related iirc
testing modules under apache
hiya recently here at work ive been asked to start providing test scripts for my projects perl modules ive found that its kinda hard to figure out which way to testcertain paradigms i was wondering what sort of help/tips/tricks anyone out there in modperl land could help me with here is the root of my problem i have one modules for my project called *::Global now this module contains any subs that can be reused by the rest of my project as well as some constants and routines for calling in support tables relted to categories etc i did a use case test script on my *::ViewMember and it reches out for *::Global's constant called *::Global::MEMBER_COLUMNS now i usually load *::Global into the Apache startup.pl so it is instanced under Apache but of course in testing under the test harness this will fail! =-=-=--= ive noticed a couple of things that might help one is Apache::FakeRequest as well there is the way Apache::AuthCookie tests: by starting up an httpd server inside of its test directory id rather not do that as it could get messy fast so if anyone could give me any tips at all ifd be most appreciative thanks!
Re: Apache::AuthCookie
Rob Bloodgood wrote: Does anyone know where I can find documentation to install and configure Apache::AuthCookie? The docs that come with it are thin and do not provide much information. you're kidding, right? [geoff@jib Apache-AuthCookie-2.011]$ perldoc AuthCookie.pm | wc -l 462 Verbiage and ASCII art do not good documentation make. I'm *not* a newbie, but it took me almost a day to install a RUDIMENTARY AuthCookie setup... because the docs were so thin. And unclear. My $.02. L8r, Rob #!/usr/bin/perl -w use Disclaimer qw/:standard/; my $0.02: i thought it was pretty straight forward tip#1: if your looked/used the ./t/ examples/test directory you should have been up and running in a matter of minutes tip#2: perlmonks.org usually has great examples/forums/answers
Re: Authentication
Ray and Lara Recendez wrote: I am new with Perl and particularly mod_perl. I am trying to setup web authentication with the expiration period based on inactivity. Is there an easy to use already written module with documentation? If so, could someone please point me in the right direction. Thanks, Ray id suggest looking at the Apache::Auth* modules i use the Apache::AuthCookie but some of the other ones might be handier for you
Re: mailing html page through email
naveed wrote: dear team, I want to send a html page through (or the html content) through my email how can i do it. thanx in advance regrards naveed i use Mail::Sender and you can add in ctype='text/html', to produce html check out the perldoc for more
Re: Virtual Host?
Purcell, Scott wrote: Hello, I have Apache w/modperl running on my NT box. The box has Samba on it, and I can see my Unix volumes from my SGI box. There is a volume there /DISK7 and I would like to be able to use that as a kind of Virtual host through the Apache Web server. /DISK7 has a bunch of .mov files that instead of copying to the htdocs directory, I would like to be able to href link to them and have them displayed. So my question is, where in the config (or how do I) configure the httpd.conf to allow me to use /DISK7 as part of the doc root? Thanks, Scott Purcell i think you may have to mount it mount -t smb -o username=user,password=pass //ntserver//disk7 /mnt/smbshare then just add /mnt/smbshare to doc root!
a bug [?] with mod_perl Perl directive
hey all i was beating my hed against this i thought i should post all these modules load up and work fine if i use the old location directive way but thats tedious! i thought hey use the perl directive! fine it works great but i couldn't fiqure out why all the modules would load but not the viewmembers one finally i figured out if i changed view to viewzine it worked great it could go past and get viewmember!! what could be causing this? my guess is there is some sort of wierd regex prob or i am just missing something Perl #array has #filename,directory,Module my @modules=( ['login','','Login'], ['editzine','level1/','EditZine'], ['search','level2/','Search'], ['cats','level2/','Category'], ['viewzine','level2/','ViewZine'], ['register','','Register'], ['viewmember','level2/','ViewMember'] ); #go through em foreach (@modules){ #make the location my $dir = $_-[1] ne '' ? $EZS::Global::dir.$_-[1]:'/'; #set location to module $Location{$dir.$_-[0]}={ SetHandler ='perl-script', PerlHandler ='EZS::'.$_-[2] }; } /Perl
Re: AuthCookie access denied messages
David Young wrote: Before I tackle this myself, has anyone added functionality to AuthCookie so that it will report *why* a user is being asked to login? Currently, if a user enters in a wrong username or password, they just get redirected back to the login form with no explanation. Thanks, --David you can set these in yourself by overwriting the AuthCookie Response method you should catch these in your own subs and send back messages for instance in my Auth.pm authen_ses_key sub if ($checks ne 1 ||$id eq '') { $r-subprocess_env('AuthCookieReason2', 'does not check or you have no id'); return ''; } else { return $creds[0]; } then in login.cgi my $error=$r-prev-subprocess_env('AuthCookieReason2') || $r-prev-subprocess_env('AuthCookieReason'); i then just put this erro in as a template param which handles my error or else give default 'no cookie one' hope that helps also you might wanna try setting PerlSetVar AuthCookieDebug 3 for longer messages in logs till you get then hang of it
using HTML::Pager under modperl
hello: im trying to do away with as much of the CGI.pm as possible one of the modules im using is HTML::Pager which utilizes this i was wondering if there is anyway to propagate those variables from the request object or maybe someone has another workaround?
Re: using XML::Parser with apache/modperl ???
one thing you might need to do is compile apache without its expat build in as per Matt S.'s suggestion on axkit.org http://axkit.org/faq.xml look for 'I install AxKit and Apache segfaults when it starts' Christian Wattinger wrote: hi question: is it possibly (should certainly be) to use the perl XML::Parser module with apache/modperl?? - - i ran into some problems trying this, here is what happened: i installed expat and the XML::Parser onto my macosx/darwin machine (perl 5.6.0, apache 1.3.19). when i run a CGI (it makes use of XML::Parser which uses EXPAT, a XMLparser C-library ) under my apache/mod_perl server it generates an error saying: dyld: /usr/sbin/httpd multiple definitions of symbol _XML_DefaultCurrent /usr/sbin/httpd definition of _XML_DefaultCurrent /Library/Perl/darwin/auto/XML/Parser/Expat/Expat.bundle definition of _XML_DefaultCurrent - apache vs. expat conflict as it seems the CGI script runs fine in the tcsh-shell on first try i only removed the /Library/Perl/darwin/auto/XML/Parser/Expat/Expat.bundle but of course this makes it worse saying: --- [Tue Jul 3 15:27:30 2001] [error] PerlRun: `Can't locate loadable object for module XML::Parser::Expat in @INC (@INC contains: /System/Library/Perl/darwin /System/Library/Perl /Library/Perl/darwin /Library/Perl /Library/Perl /Network/Library/Perl/darwin /Network/Library/Perl /Network/Library/Perl /usr/ /usr/lib/perl) at /Library/Perl/darwin/XML/Parser.pm line 15 Compilation failed in require at /Library/Perl/darwin/XML/Parser.pm line 15 during global destruction. BEGIN failed--compilation aborted at /Library/Perl/darwin/XML/Parser.pm line 19 during global destruction. Compilation failed in require at /Library/Perl/Create_Sentence.pm line 4 during global destruction. BEGIN failed--compilation aborted at /Library/Perl/Create_Sentence.pm line 4 during global destruction. Compilation failed in require at /Library/Perl/Speak.pm line 5 during global destruction. [Tue Jul 3 15:27:30 2001] [error] Can't locate object method uri via package Apache::PerlRun at /System/Library/Perl/darwin/Apache/PerlRun.pm line 212 during global destruction. -- obviously i cant remove /usr/sbin/httpd ...well its the apache server... any ideas? cheers christian
advice on Apache::DBI Apache::Session and Apache::AuthCookieDBI intergration
Hi all, ive just been researching these a bit and I'm wondering if anyone has good advice/links on how to link these three Modules together ? heres what im caught on : 1.is it best to load Apache::DBI at start up of apache and can i load more than one connection type? 2.is it best to login and then set session or set session and then log in 3. what about 'last session' type storage 4. if Apache::DBI is on at startup how can i load a specific connection type for Sessions? i think that's all the really big questions i have system info mandrake 7.2 with Apache1.3.12, modperl 1., postgres 7.1 700Mhz 312 mb ram
Re: Apache::AuthCookie- help on make test
Time Co-Ordinate Fri, 18 May 2001 03:35:03 -0700, The Organism labeled Will Waggoner said: Hi Emma, I've gotten this error every time I've run the test for this version of AuthCookie -- but upon installation it works fine. i can confirm this
Re: Preventing duplicate signups
Rob Bloodgood wrote: So, like many of you, I've got a signup system in place for bringing on new customers. My signup script is reasonably straightforward. I use CGI::Validate to make my parameters pass muster (along with a little judicious JavaScript on the signup form), Apache::Session::Oracle to maintain state between the multiple pages of the signup, CGI::FastTemplate to print a pretty success page, and DBI to create the account records at successful creation. At one time it was straight CGI but I've since updated it for mod_perl. Anyway, my only problem is that I can't seem to prevent duplicate signups, e.g. reloading the last page to create multiple accounts. This is my dupe detection code: if (my (%post) = cookie('Signup')) { local $^W = 0; my $match = 0; foreach (qw/ email url password / ) { $match++ if param($_) and $post{$_} eq param($_) } if ($match == 3) { # I tried this first, but some browsers are stupid. # print header(-status='204 No Content'); print header(-status='304 Not Modified'); exit; } } Naturally, I set the corresponding cookie in the Header of the Thank you for signing up template output. But it doesn't work. I still get duplicate accounts, and I'm at a loss as to how to attack this problem. (this is the 3rd or 4th approach I've tried). Suggestions? TIA! L8r, Rob #!/usr/bin/perl -w use Disclaimer qw/:standard/; i might suggest making your database use stronger indexing to prevent duplicate data in the database that way the db would throw an error that could be caught we use first name last name and email address to create a combined index that seems to do fine
Re: perl-based authentication
hello is this not something like what Apache::AuthCookie or some other Auth scheme does? or am i just missing the boat? you could use something like AuthCookie in a dummy situation get $r-uri grab the .htaccess from that location and parse? Time Co-Ordinate Thu, 10 May 2001 23:16:29 -0600, The Organism labeled Mark Holt said: Not really, the current Apache doesn't let you decide on the fly whether to challenge the client with basic auth or not unless you use .htaccess. If I wrote my own PerlAuthHandler, could it then choose whether to pass through to the standard AuthHandler? .htaccess is not used only for auth!!! it's used for adding per-directory extra configuration (usually to override the defaults). Yes I was envisioning something along these lines in the config file: Perl #code to determine paid status if ($paid) { $AllowOverride = AuthConfig } /Perl Or something like that. Not being a mod_perl guru I don't know the syntax, but I wondered if a construct like this would work on a per-hit basis, or if not, if someone knew a better one. So your second question has nothing to do with the first one :) You're right. one dealing with feasibility of checking for .htaccess files based on perl code, and one with scalability--not checking for .htaccess files when not necessary. You can specify the Auth data in your httpd.conf and avoid creating .htaccess, saving processing time, but making it harder to maintain (requires server restart for each modification, whereas .htaccess allows to do 'hot' modifications without restarting the server. That is not feasible, because if we can't even afford to put a VirtualHost tag in for every user, how much less could we afford auth data and server restarts? But you may be on the right track. Can we use perl code in the global config file to control auth? I just want a way to activate the standard auth handler per-hit. It has to be possible in mod_perl. Someone out there has to be wizard enough to know how. Hopefully that person will be reading this soon. Thanks, Mark
Re: Fast DB access
please be advised i also posted this benchmark to [EMAIL PROTECTED] some interesting thoughts etc on this there too thread is: [SQL] any proper benchmark scripts? if anyone is on the mysql lists please post to there
Re: Fast DB access
Matthew Kennedy wrote: On 17 Apr 2001 18:24:43 -0700, clayton wrote: i wanted a good benchmark for postgres and mysql {i hope to transpose the sql properly!} This is a good comparison of MySQL and PostgreSQL 7.0: "Open Source Databases: As The Tables Turn" -- http://www.phpbuilder.com/columns/tim20001112.php3 very nice not all the info i was looking for but some solid answers
Re: (OT) Re: Fast DB access
Matthew Kennedy wrote: This might help too: http://www.angelfire.com/nv/aldev/pgsql/GreatBridge.html Of course benchmarks are so debatable anyway.. Matt i saw those they are pretty good but greatbridge is tied into postgres somehow im looking for impartial benchmarks nonetheless i think the other article said they used mysql 3.23.26a and a pre postgresql 7.1
Re: Fast DB access
[drfrog]$ perl fast_db.pl postgres 16 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU) @ 400.00/s (n=20) mysql 3 wallclock secs ( 0.07 usr + 0.00 sys = 0.07 CPU) @ 285.71/s (n=20) postgres 17 wallclock secs ( 0.06 usr + 0.00 sys = 0.06 CPU) @ 333.33/s (n=20) mysql 3 wallclock secs ( 0.01 usr + 0.01 sys = 0.02 CPU) @ 1000.00/s (n=20) correct me if im wrong but if fast_db.pl is working right first set is insert second set is select find attached the modified ver of fast_db.pl i sued to conduct this test comp stats running stock rpms from mandrake 7.2 for both postgresql and mysql 3.23.23-beta of mysql and 7.02 of postgresql [drfrog@nomad desktop]$ uname -a Linux nomad.localdomain 2.2.18 #2 Tue Apr 17 22:55:04 PDT 2001 i686 unknown [drfrog]$ cat /proc/meminfo total:used:free: shared: buffers: cached: Mem: 257511424 170409984 87101440 24219648 96067584 44507136 Swap: 2549432320 254943232 MemTotal:251476 kB MemFree: 85060 kB MemShared:23652 kB Buffers: 93816 kB Cached: 43464 kB SwapTotal: 248968 kB SwapFree:248968 kB [drfrog]$ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 3 model name : AMD Duron(tm) Processor stepping: 1 cpu MHz : 697.535 cache size : 64 KB fdiv_bug: no hlt_bug : no sep_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 psn mmxext mmx fxsr 3dnowext 3dnow bogomips: 1392.64 i will recomp both the newest postgresql and mysql not using any optimizing techs at all i'll post the config scripts i use On Tue, 17 Apr 2001 18:24:43 -0700, clayton said: Matt Sergeant wrote: On Tue, 17 Apr 2001, Differentiated Software Solutions Pvt. Ltd., wrote: H/W : Celeron 433 with 64 MB RAM, IDE HDD using RH 6.1, perl 5.005, Postgres 6.5.3 This is a very very old version of postgresql. Try it again with 7.1 for more respectable results. im very glad to see this thread i wanted a good benchmark for postgres and mysql {i hope to transpose the sql properly!} i do have 7.1 installed and it is very sweet ill report back when i rerun under postgresql at the very least -- back in the day we didn't have no old school -dr. frog http://www.hyperbomb.com it sells itself fast_db.pl
Re: security!
Vladimir Ivaschenko wrote: Take a look at http://www.freevsd.org. I haven't used it personally, but it looks like something that you need.. This system is a based on making a chroot environment for each user with his own apache and everything. i can vouch for this approach to development weve been using it in house for 3 months its so nice multiple developers on one box!!
Re: Debugging mod_perl with gdb
Vivek Khera wrote: "TB" == Tim Bunce [EMAIL PROTECTED] writes: TB I recall someone once created a whole bunch of gdb macros for debugging TB perl. I've CC'd this to p5p in the hope that someone remembers. In the mod_perl source tree (at least in CVS) there's a nice .gdbinit file that may be of use. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D.Khera Communications, Inc. Internet: [EMAIL PROTECTED] Rockville, MD +1-240-453-8497 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/ has anyone had much exp with using Apache::DB? ive had it running once but then it borked out i havent got it running since or had time to play with it again thought i should drop the idea that this might be useful for debugging
Re: Looking for a new distro
heya all: im really waiting for the next bunch of releases here, im hoping that they all start doing a lil more QA before release!! ive tried a lot of different dists and nothing has me going "oh yeah!!" mandrake 7.2 is my current "lesser of Nth evils" last summer i went to town downloading everything from debian to suse and back to slack and redhat at the time i started using mandrake its mod_perl was sett up nice its not bad on 7.2 but it splits up so there is an httpd and an httpd-perl i dont like having to configure both so i un-rpmd then and rolled my own, DSO style install in less than thirty mins drop my config in and zoom!! again some of this has to do with how a dist sets up apache i like it all in /home/ww but most put the conf 's under /etc etc etc. some of these compatiblility file management issues drive me nuts!! and i usually uninstall and recomp my own well that my take on it anyhow -- back in the day we didn't have no old school -dr. frog
Re: Email (mod_perl) Apache module?
martin langhoff wrote: brian moseley wrote: (speaking as the author of a proprietary mod_perl webmail...) DO IT!! my fear is that writing it as a mod_perl app, it'd be terribly niche, and we wouldn't get it rolling. I'd rather write a bunch of modules, that can be called from a CGI or a templating system. Then those modules can be reused on other apps. Plus, we should be writing that is pure-CGI compatible -- y'know, we won't be needing any actual mod_perl hooks, and CGI-compat means is more usable under other configs, and keeps you honest. martin i might suggest looking at my fave email module Mail::Sender http://search.cpan.org/doc/JENDA/Mail-Sender-0.7.04/Sender.pm for more info if this could be modperl comptible i think this would be a good thing btw: i have used this with HTML::Template before!
Re: [OT]: Open Source ... was Re: Advocacy idea ...
"Homsher, Dave V." wrote: Just don't post your code to the list itself. It's rude to bloat the mails on the list. Provide a hyperlink to your annotated code. True, but what happens after you get your answer? You take the code down and move on. It would be nice to have a place to post the code where it can be organized and filed away with comments for future reference. Also the idea would be more "code review" than "I have a problem". From my perspective, I would like to see how others are solving problems and how successful they were through a given solution. Maybe even have a moderating system so that good code/comments float to the top ??? There are all kinds of bits and pieces of floating around the net and in print: CPAN, O'Reilly books, Mailing list, etc. I can read perldocs to see how a module is used, I can check out O'Reilly books for theory and simple examples, and I can ask a mailing list for help when I get stuck, but sometimes you don't know what module will help, you've read the O'Reilly books and the examples are too simple/don't apply, and you aren't even sure what question to ask the mailing list, what do you do? I bludgeon together some code and hope that is good enough. I don't really have anyone to review it and say "This is stupid". I realize that you will probably have people do the cut and paste thing, but if it's good code, is that really a problem - especially if there are comments, etc. and an explanation of how the code works/is supposed to work from the author??? I see this as both a code resource and a review forum ... Thoughts??? Dave Homsher Webmaster, MACtac IT freshmeat had an announcement of an app that might help, well at least it says it trys! http://freshmeat.net/projects/blackarts/ dunno if this is the right solution but if iread you right your looking towards something like it! a snippet of what it does Blackarts is a tool for creating web based documentation repositories from interesting information that shows up in email. It was designed to solve the problem whereby a company or association gathers important documentation in email conversations that never gets recorded in a way that is easily accessible later. Blackarts creates mail gateways to multiple document repositories that have tables of contents, sections and section crosslinking.
Re: debuggers
Perrin Harkins wrote: On Thu, 7 Dec 2000, martin langhoff wrote: I've always considered mod_perl to be completely debugger-unfriendly. That's why I write modules that I can test from a standard script, and then call those modules from Embperl pages or Registry scripts. Apache::Debug works. It's almost exactly the same as debugging a standard script. i got it running once on our dev box and then no go ever since then but yes it is sweet! I wonder how do those hardcore guys that develop using handlers debug. Mhhh. They must write 'perlfect' code, I guess, and/or understand those cryptic debuggers ... Do not be afraid of the command line... The Perl debugging shell is really not so hard if you give it a chance. I've taught a number of people here how to use it. I'm always amazed that more people don't use tools like the debugger and the profiler. They're life savers. - Perrin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Followup: mime-type headers
heya i used to get this sort of errors when posting vrml to ie with perl the problem i was finding is that it would post directly ie would build a wierd html page with an embed tag in it very bizarre of course this blocked certain script node calls from vrml too!! grr. i never found a solution to this next time you do a $q-header('mime/type') check the source, i bet you get something like this H T M L B O D Y E M B E D S R C = " S R C . E X T " / B O D Y / H T M L instead of your file i noticed when i was trying to debug my vrml file and it would show me the vrml text source! just the above spaced html code which i dont think it should do right? it should just load the file? and display using the proper plug in, not make a html wrapper page for it!! at least netscape never does this - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: sending receiving cookies through the light front end
http://www.cookiecentral.com/faq/#4.7 is a good link the rest is informative as well but this particular section is on limitations including the point vivek made about cross domain cookies , which is not possible - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANNOUNCE] HTTP::GHTTP
man that is one crazy module! in under ten minutes i had the thing running! kudos again to you matt! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANNOUNCE] HTTP::GHTTP
haha i just got a patch for sablotron its parser wasnt working on the x3d xml stuff remember? i havent been able to get it to work but he just resent the patch cuz it had some extra line feeds in it or something! he also stated that the next release should make it so sablotron will use the real expat libs! instead of the ones off of their site! if you want it ill send i like axkit but our company is not about to be migrating to it right now, our graphic designers seems to like the html::template stuff more i think its because the xml is a lil heady for the designers! and us programmers would have to massage all their work into place if we moved to an xml based deliver syustem the other thing is how different parsers and engines can parse the xml files differently or incorrectly expat sax or w.h.y all seem to work differently once the xml movement settles down into a stable realm of cross conformance and compatibility i think xml will take off like gang busters! sort of how java was slow in the begining and then it exploded what i dont really want to see is what happened to the vrml/web3d movement where non conformance to the standard actually set back the movement no company could afford to make a browser lots went bankrupt and those that did release we non conforming non compliant no one was 'watchdogging' these issues and what happened is designers/programmers would have to take into account all these design issues for each plugin!! and at that time there were more vrml plugins than web browsers!! very frustrating in this case the open source movement has been saving vrml with freewrl and openvrml allright back to the grind On Wed, 22 Nov 2000 18:37:22 + (GMT), Matt Sergeant said: On Wed, 22 Nov 2000, clayton cottingham wrote: man that is one crazy module! in under ten minutes i had the thing running! kudos again to you matt! I'd be happy if it wasn't turning out to be more popular than AxKit! *sigh* :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: database access
Les Mikesell wrote: Perrin Harkins wrote: On Fri, 10 Nov 2000, Tim Sweetman wrote: Would you be interested in adding support for resetting some of these to Apache::DBI? It's pretty easy to do, using PerlCleanupHandler like the auto-rollback does. It would be database-specific though, so you'd have to find a way for people to explicitly request cleanups. I suspect automating via DBI would be a major pain, because you'd have to be able to identify the "dangerous" changes in state. Probably requiring SQL to be parsed. :( The current rollback cleanup doesn't parse SQL. It knows that a rollback won't do damage if there are no transactions to be cleaned up, so it's safe to do every time. If there are other things that work this way, you could add them. Probably wouldn't work for things like MySQL table locks though. People will have to do that themselves. If the backend supports rollback, couldn't you just try that instead of the ping method to see if you are still connected and get the cleanup as a side effect? In principle, you could probably have a -do_not_reuse method which could be called before someone does something dangerous. As long as they remember. But that would also mean no more persistent connection. Maybe that would work if you don't do it very often. It would be very useful to be able to specify at connect time that you don't want a particular connection to be persistent. If you have a lot of small databases or some with different user/password permissions you accumulate too many backend servers - but if you also have one or more connections used all the time you don't want to give up Apache::DBI. I'm not sure it is worth caching MySQL connections on the same host, either since it is so fast to start up. Has anyone timed the difference? Les Mikesell [EMAIL PROTECTED] as far as i can tell the problem here is in the design of the particular db your connecting to no one database is going to be architected in the same way so providing an abstracted layer to handle this will be a very tough call it would be great to see a DBI::persist or APache::DBI::persist but it would be hard to implement down the line to the DBD::*** as each one of those drivers would have to be able to handle the persistence call in their own way in some cases this would be an easily handled affair and in others a real horror show of coding correct?
Re: Fast DB access
Matthew Byng-Maddick wrote: On Fri, 10 Nov 2000, Les Mikesell wrote: [ReiserFS] production just to avoid the possibility of a slow fsck after a crash, but it is enormously faster at creating and deleting files too because everything is indexed so it would be an ideal stash for fast changing session data. If you don't trust it for the whole system you can just use it on one partition for the session database. Several Linux distributions include it now. As I recall, it has a problem if you manage to have a hash collision in your naming, IIRC it was something to do with the way in which it extends the hash it uses for dents. This is, of course, FUD. :) I've also heard bad things about his attitude... FreeBSD 4's softupdates make ufs rather wonderful too. These basically make UFS's write() calls asynchronous, and hence much faster. They also keep dependencies, and can be very good for spools MBM -- It is wrong always, everywhere and for everyone to believe anything upon insufficient evidence-- W. K. Clifford i was told by tom lane , a developer of postgres {possible head one afaik} said around last year that it ran the best on freebsd /scsi he didnt like using linux at the time because of ext2 paging probs but now id sure like to know about linux and reiserfs since ive been running mandrake 7.2 on reiserfs, and postgres 7.01 seems to run very fine
Re: database access
Greg Cope wrote: Jason Liu wrote: Is Apache::DBI absolutely necessary if you want to establish persistent database connection per child? No you can write your own (its open source remember ;-) but why bother - standing on the shoulders of giants etc Greg Thanks, Jason -Original Message- From: David Hodgkinson [mailto:[EMAIL PROTECTED]] Sent: Monday, November 06, 2000 5:10 AM To: Jason Liu Cc: [EMAIL PROTECTED] Subject: Re: database access "Jason Liu" [EMAIL PROTECTED] writes: In general, how should database connections be handled between parent and child processes? Can you establish database connections from within a handler? Absolutely. And using Abache::DBI caches the connection handle. -- Dave Hodgkinson, http://www.hodgkinson.org Editor-in-chief, The Highway Star http://www.deep-purple.com Apache, mod_perl, MySQL, Sybase hired gun for, well, hire - the problem can also be resolved depending on the type of db used yes you can program your own levels of persistence finding a database that can do this for you can be a great help. postgres for instance has concurrent locking , on table , row and or column. using its Pg module instead of DBD::Pg and DBI handles the opening and closing of the connections too ;) making your own wrapper module ito interface with DBI or PG is a good thing to do as well i usually use something that does all the basic statement handling and db connect strings then i can just use PGForm; #my module to go to Pg PGform($db,$user,$password,$sqlstatement); and if a select returns a array of arrays else if insert update delete etc returns ok or error
Re: Perl as DSO...whats wrong with it, specifically?
ive personally not had any probs with mod_perl as a dso blue wrote: On Tue, 25 Jul 2000, Michael Nachbaur wrote: I'm working with IBM (sorry! Its not my choice!) to try to get mod_perl compiled into their custom version of Apache, and their techs want to know why I can't run mod_perl as a DSO. So, I need to know, whats specifically wrong with it? Like, what are the repurcussions of it? This is going to be run under a lot of load as well. is this the continuation of a thread, or a new question? this has come up a lot in the mailing list.. have you checked the archives? -- Blue Lang Unix Systems Admin QSP, Inc., 3200 Atlantic Ave, Ste 100, Raleigh, NC, 27604 Home: 919 835 1540 Work: 919 875 6994 Fax: 919 872 4015
best encryption module
whats the best encryption module for use with mod perl? i want to encrypt passwords store in a db and then be able to check what a users inputs against it
Re: [OT] Great book!
another great one ive yet to purchase is object oriented perl there is some sample chapters online somewhere "J. J. Horner" wrote: Well, in an effort to improve my effectiveness when coding perl, I bought "Effective Perl Programming" by Hall w/ Schwartz. I must say, I am enjoying this book. It appears to be one of the few tech books that I can read front to back and be engaged from start to finish. I bought it Sunday, and I'm already half way through. I may have to go through again to cement the concepts, but the text is informative, the concepts are enlightening, and the code examples are as relevant as I've seen in any book on programming. I give this book 4 1/2 'J's out of 5. -- J. J. Horner Apache, Perl, Unix, Linux [EMAIL PROTECTED] http://www.knoxlug.org/
Re: Installation
redhat 6.1 's apxs is broken i had to recomple apache to get it to work in dso mode Buddy Lee Haystack wrote: Why not try RedHat v6.1? Installing it is a snap! I had it up running in no time. After installing the rpm file for mod_perl, just follow the directions to activate it in the /etc/httpd/conf/httpd.conf then reboot to activate the changes if your a former Windows user.;-) No need to recompile Apache. My DSO setup works quite well! **EDIT the "/etc/httpd/conf/httpd.conf" file #uncomment the line below under the section # Dynamic Shared Object (DSO) Support LoadModule perl_modulemodules/libperl.so #uncomment the line below under the section # Extra Modules AddModule mod_perl.c #add the following line ScriptAlias /perl/ "/home/httpd/cgi-bin/" #uncomment the following lines # If the perl module is installed, this will be enabled. IfModule mod_perl.c Alias /perl/ /home/httpd/cgi-bin/ Location /perl SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI /Location /IfModule * Now, anything that is accessed as http://mysite.com/perl/perlscript.cgi will run as a perl script... Use this setup only if you want to test scripts as both normal cgi mod_perl scripts, otherwise you'll need to point the "Alias /perl/ /home/httpd/cgi-bin/" line "ScriptAlias /perl/ "/home/httpd/cgi-bin/" line to point to another directory of your choice. Hope this helps! Annette wrote: I have been trying to install mod_perl for the last couple of weeks and I still have not been successful. I am new to Linux and have installed RedHat 6. I used the Custom set-up and installed mod_perl during the installation. I entered the command 'perl -v' and it tells me that I have perl loaded but not mod_perl. Does anyone know what I have to do to enable mod_perl, tell if I have it enabled, or where I can read about the installation under RedHat 6. I have tried installing it using src files, followed the directions line by line and still nothing. Is this the right mailing list to ask this question? Where should I go if not? Apache is up and running just fine. Any input would be appreciated. Ann.
Re: Installation
hmm the only thing i can think of is maybe the updates you installed fixed the prob two months ago none of their upgrade apache rpm's didnt fix it then oh well Buddy Lee Haystack wrote: That's peculiar. Must be a case of beginners luck, because mine worked fine on the first try, and I'm using mod_perl with the Apache DBI module that is absolutely smoking my PostgreSQL databases with it's persistent database connections. All I've done was to install all the updates recommended by RedHat for their 6.1 distribution [located on their FTP site], Perl DBI, Apache DBI PostgreSQL's Pg module. It all works great, and I was a Windows/ColdFusion twit just six months ago! There just may be some other issue involved here, because my system is running fine, and I am not, by any stretch of the imagination, a Linux/mod_perl guru... I did nothing that wasn't blatantly obvious to get it to work! Clayton Cottingham aka DrFrog wrote: redhat 6.1 's apxs is broken i had to recomple apache to get it to work in dso mode Buddy Lee Haystack wrote: Why not try RedHat v6.1? Installing it is a snap! I had it up running in no time. After installing the rpm file for mod_perl, just follow the directions to activate it in the /etc/httpd/conf/httpd.conf then reboot to activate the changes if your a former Windows user.;-) No need to recompile Apache. My DSO setup works quite well! **EDIT the "/etc/httpd/conf/httpd.conf" file #uncomment the line below under the section # Dynamic Shared Object (DSO) Support LoadModule perl_modulemodules/libperl.so #uncomment the line below under the section # Extra Modules AddModule mod_perl.c #add the following line ScriptAlias /perl/ "/home/httpd/cgi-bin/" #uncomment the following lines # If the perl module is installed, this will be enabled. IfModule mod_perl.c Alias /perl/ /home/httpd/cgi-bin/ Location /perl SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI /Location /IfModule * Now, anything that is accessed as http://mysite.com/perl/perlscript.cgi will run as a perl script... Use this setup only if you want to test scripts as both normal cgi mod_perl scripts, otherwise you'll need to point the "Alias /perl/ /home/httpd/cgi-bin/" line "ScriptAlias /perl/ "/home/httpd/cgi-bin/" line to point to another directory of your choice. Hope this helps! Annette wrote: I have been trying to install mod_perl for the last couple of weeks and I still have not been successful. I am new to Linux and have installed RedHat 6. I used the Custom set-up and installed mod_perl during the installation. I entered the command 'perl -v' and it tells me that I have perl loaded but not mod_perl. Does anyone know what I have to do to enable mod_perl, tell if I have it enabled, or where I can read about the installation under RedHat 6. I have tried installing it using src files, followed the directions line by line and still nothing. Is this the right mailing list to ask this question? Where should I go if not? Apache is up and running just fine. Any input would be appreciated. Ann.
Re: How to keep Connection: Keep-Alive
r u talking about db persistence? postgres does concurrent persistence checking what does this mean? it means it handles the whole db in such a way that coding persistence into your perl progs really isnt nessecary as postgres handles it all for youn automagically btw anyone notice how much mysql has been dropping out at freshmeat lately?! Buddy Lee Haystack wrote: If you're referring to a database connection, the Apache DBI module keeps the connection alive, not the mod_perl module. Jaime Teng wrote: Hi, How do you make perl script (either on Linux+Apache+Mod_perl or in NT+IIS4 environment) make a "Connection: Keep-Alive". On both environment, the connections always closes after the perl script finished execution. Any idea? Jaime
Re: redhat apache and modperl oh my! just so anyone else knows
Michael wrote: so i guess this is the only way to do it with dso for apache 1.3.9 ./configure --enable-rule=shared_core --with-perl=/usr/bin/perl --enable-module=so --enable-module=rewrite for modperl-1.21 perl Makefile.PL USE_APXS=1 USE_DSO=1 WITH_APXS=/usr/sbin/apxs EVERYTHING=1 This does not appear to work all the time. My build looks like this: openssl-0.9.4 apache-1.3.9 modperl=1.21 ./configure --prefix=/usr/local/apache \ --enable-rule=SHARED_CORE \ --with-layout=Apache \ --enable-module=so make make install then. perl Makefile.PL \ USE_APXS=1 \ USE_DSO=1 \ WITH_APXS=/usr/local/apache/bin/apxs \ EVERYTHING=1 make gives .. In file included from /usr/local/apache/include/httpd.h:78, from mod_perl.h:114, from mod_perl.c:60: /usr/local/apache/include/buff.h:74: openssl/ssl.h: No such file or directory /usr/local/apache/include/buff.h:77: #error "Don't use OpenSSL/SSLeay versions less than 0.9.2b, they have a serious security problem!" make[1]: *** [mod_perl.lo] Error 1 make[1]: Leaving directory `/usr/src/mod_perl-1.21/apaci' make: *** [apxs_libperl] Error 2 Any ideas -- I've tried every conceivable build possibility with and without DSO and still can't get ssl + modperl to coexist. I know it is possible as I have earlier versions running in production, but don't seem to be able to upgrade to this set of pieces. [EMAIL PROTECTED] well it seems you dont have that openssl/ included .add it to you toplevel Makefile: includedir = /usr/local/apache/include:$plusyouopenssldir replacing $plusyouropenssldir with the opensslsource/include dir that usually works for me i've put up tarballs at ftp.stampede.org/incoming/ there is ftp://ftp.stampede.org/incoming/apachecompd.tgz ftp://ftp.stampede.org/incoming/modperlcompd.tgz ftp://ftp.stampede.org/incoming/readme_4_apache_and_modperl tell me if that works , cuz i need to do openssl soon anyways ttfn
Re: how come httpd doesn't start even though startup.pl is fine?
ok, i think if you mean redhat 6.1 as opposed to linux6.1 i have the same prob, i have never been able to insert anything into the startup.pl besides Apache CGI CGI::Carp . if i try to add any third parties it dies i did a quick search on the mail list and the red hat updates and found that they both pointed to the fact that apache is not compiled right to use dso's noteable i think it was with apxs go to ftp://ftp.redhat.com/pub/redhat/updates/6.1/i386/ for the new apache i havent yet tried this please if anyone else has any info please let me know i know apache dso w modperl works fine, i compiled em mysef on stampede! ttfn