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: Apache::AuthCookie
> > 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/;
Re: generic symbol problems with LogFile
Half way there... Resolved .ap_* errors by adding to the Makefile: -bI:/data01/web-install/apache_1.3.17/src/support/httpd.exp now i just have ld: 0711-317 ERROR: Undefined symbol: .perl_get_startup_pool I tried adding a similar -bI: to my mod_perl.exp, but it did not help... clues, anyone? -Bryan Bryan T. Schmidt wrote: > This seems funny to me... > > I have Perl 5.6.1, Apache 1.3.17, and mod_perl 2.8.0. I am trying to > build Apache-LogFile-0.12. I am on (gag) AIX platform, oslevel 4.3.1. > > When doing "make" for LogFile, I get this error: > > rm -f blib/arch/auto/Apache/LogFile/LogFile.so > > LD_RUN_PATH="" ld -bhalt:4 -bM:SRE > -bI:/usr/local/lib/perl5/5.6.1/aix/CORE/perl.exp -bE:LogFile.exp > -b noentry -lC -lc -L/usr/local/lib > LogFile.o -o blib/arch/auto/Apache/LogFile/LogFile.so > ld: 0711-317 ERROR: Undefined symbol: .perl_get_startup_pool > ld: 0711-317 ERROR: Undefined symbol: .ap_palloc > ld: 0711-317 ERROR: Undefined symbol: .ap_server_root_relative > ld: 0711-317 ERROR: Undefined symbol: .ap_open_piped_log > ld: 0711-317 ERROR: Undefined symbol: .ap_popenf > ld: 0711-317 ERROR: Undefined symbol: .ap_register_cleanup > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. > make: The error code from the last command is 8. > > These seem like fairly generic symbols from Apache, but really I have > no idea what is going on. Can someone give me some pointers as to how > to get this thing built? Using he -bnoquiet option just tells me that > LogFile.o is the one trying to reference these symbols... > > Thank you in advance... this one is far beyond my expertise :-) > > -Bryan > > -- Bryan T. Schmidt Systems/Network Administrator Profitool Inc. [EMAIL PROTECTED]
Re: browser refresh problem
On Fri, 28 Sep 2001, Michael Manning wrote: > Date: Fri, 28 Sep 2001 13:50:31 -0400 > From: Michael Manning <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: browser refresh problem > > Hi: > I am using a server with the following info: Apache/1.3.11 (Unix) > mod_perl/1.24 secured_by_Raven. 5.7 Generic_106541-08 sun4u sparc SUNW, > Ultra-5_10. > > I have developed a program which reads a flat file, processes the data, > prints out the rows of data, a counter then adds up the rows and produces a > Total field. The total field is then set to zero and the loop continues > until the end of the program, where a Grand Total is printed. > > On the initial running of the .cgi script it works fine producing the proper > results. But, if I then press the refresh button on Internet Explorer > (generally within 5 seconds), the total field does not clear. My program > starts adding up the data again with a starting number at my final total > value before the refresh. This continues every time I press the refresh > button until I wait over five seconds. Then all is well and my program is > cleared. > > Can anyone explain to my why this is happening and what I need to do to > correct it? > > Thanks, > Michael Manning > [EMAIL PROTECTED] Michael, It sounds like you've not properly declared and/or scoped your variable. Are you running under "strict"? Is the variable a global? Can you post the relevant parts of your code? Also, do you notice this behavior when you running Apache in single server mode ("httpd -X")? ky
Re: MSIISProbes.pm v1.03
On Fri, Sep 28, 2001 at 08:49:22AM -0700, Nick Tonkin wrote: > Cache::FileCache defaults to using /tmp for the location of its > cache; does the system have /tmp (not sure what Cache::FileCache does if > there's no /tmp, hafta look at the code). You can manually override the temp directory by setting the 'cache_root' option when instantiating the cache. If cache_root isn't set, then File::Spec's tmpdir( ) routine will be called, which seems to return a value on just about all the machines I've tested (judging by the lack of temp directory bug reports). Cheers, -DeWitt
browser refresh problem
Hi: I am using a server with the following info: Apache/1.3.11 (Unix) mod_perl/1.24 secured_by_Raven. 5.7 Generic_106541-08 sun4u sparc SUNW, Ultra-5_10. I have developed a program which reads a flat file, processes the data, prints out the rows of data, a counter then adds up the rows and produces a Total field. The total field is then set to zero and the loop continues until the end of the program, where a Grand Total is printed. On the initial running of the .cgi script it works fine producing the proper results. But, if I then press the refresh button on Internet Explorer (generally within 5 seconds), the total field does not clear. My program starts adding up the data again with a starting number at my final total value before the refresh. This continues every time I press the refresh button until I wait over five seconds. Then all is well and my program is cleared. Can anyone explain to my why this is happening and what I need to do to correct it? Thanks, Michael Manning [EMAIL PROTECTED]
RE: Apache::AuthCookie
> -Original Message- > From: Recendez, Ray [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 28, 2001 1:45 PM > To: '[EMAIL PROTECTED]' > Subject: Apache::AuthCookie > > > 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 --Geoff
generic symbol problems with LogFile
This seems funny to me... I have Perl 5.6.1, Apache 1.3.17, and mod_perl 2.8.0. I am trying to build Apache-LogFile-0.12. I am on (gag) AIX platform, oslevel 4.3.1. When doing "make" for LogFile, I get this error: rm -f blib/arch/auto/Apache/LogFile/LogFile.so LD_RUN_PATH="" ld -bhalt:4 -bM:SRE -bI:/usr/local/lib/perl5/5.6.1/aix/CORE/perl.exp -bE:LogFile.exp -b noentry -lC -lc -L/usr/local/lib LogFile.o -o blib/arch/auto/Apache/LogFile/LogFile.so ld: 0711-317 ERROR: Undefined symbol: .perl_get_startup_pool ld: 0711-317 ERROR: Undefined symbol: .ap_palloc ld: 0711-317 ERROR: Undefined symbol: .ap_server_root_relative ld: 0711-317 ERROR: Undefined symbol: .ap_open_piped_log ld: 0711-317 ERROR: Undefined symbol: .ap_popenf ld: 0711-317 ERROR: Undefined symbol: .ap_register_cleanup ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: The error code from the last command is 8. These seem like fairly generic symbols from Apache, but really I have no idea what is going on. Can someone give me some pointers as to how to get this thing built? Using he -bnoquiet option just tells me that LogFile.o is the one trying to reference these symbols... Thank you in advance... this one is far beyond my expertise :-) -Bryan -- Bryan T. Schmidt Systems/Network Administrator Profitool Inc.
Apache::AuthCookie
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. Thanks, Ray
Re: Limiting total bandwidth ... nicely
hi Brice, It really depends what os your using which i presume is not m$ ;-P Anyhow.. BSD -> ALTQ Linux -> QoS Hope that helps. Note that bandwidth throttling should be down further down.. Best Regards, [EMAIL PROTECTED] On Fri, Sep 28, 2001 at 11:07:42AM -0500, Brice D Ruth wrote: > I'd like to limit the bandwidth a particular site uses on my managed > server (to not exceed my total monthly data transfer limit) - the server > is used for corporate sites, but I have monthly bandwidth to spare, so > I'd like to start mirroring some OSS centric sites. I just don't want > to get a huge bill at the end of the month because my mirror got really > popular!! > > What modules are out there to do this type of thing? > > -Brice > > -- > WebProjkt, Inc. > VP, Director of Internet Technology > http://www.webprojkt.com/ >
Re: Limiting total bandwidth ... nicely
I should have checked modules.apache.org, first - sorry for the wasted post, guys. Brice D Ruth wrote: > I'd like to limit the bandwidth a particular site uses on my managed > server (to not exceed my total monthly data transfer limit) - the > server is used for corporate sites, but I have monthly bandwidth to > spare, so I'd like to start mirroring some OSS centric sites. I just > don't want to get a huge bill at the end of the month because my > mirror got really popular!! > > What modules are out there to do this type of thing? > > -Brice > -- WebProjkt, Inc. VP, Director of Internet Technology http://www.webprojkt.com/
Re: [ANNOUNCE] Config::LDAP
On Thu, Sep 27, 2001 at 03:07:35AM -0500, James G Smith wrote: > The uploaded file > > Config-LDAP-0.01.tar.gz > > has entered CPAN as > > file: $CPAN/authors/id/J/JS/JSMITH/Config-LDAP-0.01.tar.gz > size: 6725 bytes > md5: aa8ba7d25e8e059fe9b71ddbdb668550 > Looks like I jumped the gun on this one :/ If anyone hasn't seen it already (I hadn't), take a look at Net::LDAP::Schema :) --jim
Re: Another way to perhaps do this......
Steven Boger wrote: > > I've been netsearching for hours. It's time to beg for help... > > My apache has a hacked mod_include that has a new directive, OAS: > > > > > > Can I somehow run those directives right from mod_perl Well... Since I've been spending several hours looking at the HTML::Embperl::Syntax::SSI module (Embperl.v2), I'm going to suggest that you might be able to extend Embperl's SSI syntax to do what the mod_include hack does. This means that can parse the directive, let OAS do its thing, and at the same time have direct access to the request object... But then, I know squat about OAS and what it does, so this may not be all that feasible :-) Wim
Limiting total bandwidth ... nicely
I'd like to limit the bandwidth a particular site uses on my managed server (to not exceed my total monthly data transfer limit) - the server is used for corporate sites, but I have monthly bandwidth to spare, so I'd like to start mirroring some OSS centric sites. I just don't want to get a huge bill at the end of the month because my mirror got really popular!! What modules are out there to do this type of thing? -Brice -- WebProjkt, Inc. VP, Director of Internet Technology http://www.webprojkt.com/
Re: ANNOUNCE: Apache::OpenIndex
On Thu, 27 Sep 2001 16:36:37 -0500 George Sanderson <[EMAIL PROTECTED]> wrote: > Apache::OpenIndex (OpenIndex-1.00.tar.gz) was uploaded to CPAN on 14Sep2001 > and is currently released. This was my first module. I enjoyed journey. It doesnt compile with per 5.005_03, here is a patch. http://bulknews.net/lib/archives/patches/Apache-OpenIndex-1.00.patch And, you'd better use "make dist" to pack the archive when you upload it to CPAN. -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]> Apache-OpenIndex-1.00.patch Description: Binary data
Re: MSIISProbes.pm v1.03
On Fri, 28 Sep 2001, Ask Bjoern Hansen wrote: > On Thu, 20 Sep 2001, Mike Schienle wrote: > > > > thanks to patches from Brice D. Ruth and others, a new version of > > > MSIISProbes.pm is available at > > > http://www.tonkinresolutions.com/MSIISProbes.pm.tar.gz > > > > Hi all - > > > > Can anyone provide a couple hints on getting this going with Tenon's > > iTools on MacOS X? For Reuven's CodeRed, it was just a matter of putting > > CodeRed.pm in /Library/Perl and adding the following code to the > > iTools.conf file (equivalent to httpd.conf). > [...] > > Any suggestions are greatly appreciated. > > check the code and your system configuration for the location of > sendmail (or whatever the module uses to send mail). MSIISProbes.pm use Mail::Sendmail to send mail ... Cache::FileCache defaults to using /tmp for the location of its cache; does the system have /tmp (not sure what Cache::FileCache does if there's no /tmp, hafta look at the code). - Nick
Re: axkit segfaults
On Friday 28 September 2001 15:19, [EMAIL PROTECTED] wrote: > I used the an test.xml from example taken from axkit.org You don't mention having checked you don't have expat compiled in. Quoting from the FAQ: "First of all, to find out if this is your problem, execute the command: strings /path/to/apache/bin/httpd | grep -i XML. If there are any results at all then you are going to see these segfaults until you recompile Apache (and probably mod_perl too)" -- ___ Robin Berjon <[EMAIL PROTECTED]> -- CTO k n o w s c a p e : // venture knowledge agency www.knowscape.com --- Learn from your parents mistakes - use birth control.
Re: Another way to perhaps do this......
Steven Boger <[EMAIL PROTECTED]> said something to this effect on 09/28/2001: > I've been netsearching for hours. It's time to beg for help... > > My apache has a hacked mod_include that has a new directive, OAS: > > > > > > Can I somehow run those directives right from mod_perl After this tag is parsed, there are a number of variables in %ENV that you can access, named based on the positions you specify in the setup up. In the case of the above example, the variables are OAS_TopLeft, OAS_TopRight, OAS_BottomLeft, and OAS_BottomRight. You can get them from the subprocess_env table: my $top_left = $r->subprocess_env('OAS_TopLeft'); my $top_right= $r->subprocess_env('OAS_TopRight'); my $bottom_left = $r->subprocess_env('OAS_BottomLeft'); my $bottom_right = $r->subprocess_env('OAS_BottomRight'); ...assuming that the setup tag has been parsed. You can also get them via SSI #echo statements: My experience has been that OpenAdStream does a lot of things well, but interacting with mod_perl is not one of them. We were hitting this wall a efw months ago, and were unable to come up with a decent, well-integrated, programmatic solution. We have come up with a replacement for all this madness using the JX method and a dedicated module that write the JavaScript, which is really ugly but surprisingly effective. It doesn't require that the perl module hit the OAS server or call any oas methods. Email me offlist if you are interested in hearing how we did it. (darren) -- I interpret advertising as damage and route around it.
axkit segfaults
I used the an test.xml from example taken from axkit.org Installed most components kampen@eureka:~/down/cpan/AxKit-1.4 > perl Makefile.PL checking for module mod_perl >= version 1.17... yes checking for module XML::Parser >= version 2.27... yes checking for module Digest::MD5 >= version 2.09... yes checking for module Compress::Zlib >= version 0... yes checking for module Error >= version 0.13... yes checking for module Apache::Request >= version 0.31_03... yes checking for module XML::XPath >= version 1.00... yes checking for module Storable >= version 0.7... yes checking for module HTTP::GHTTP >= version 1.00... yes checking for module XML::Sablotron >= version 0.40... yes checking for module XML::LibXSLT >= version 0.99... yes running xml2-config... ok checking for main() in -lxml2... yes checking for iconv() in -liconv... no checking for libiconv() in -liconv... no checking for iconv() in -lc... yes checking if iconv() param 2 is const... no Writing Makefile for Apache::AxKit::CharsetConv Writing Makefile for Apache::MimeXML Writing Makefile for AxKit kampen@eureka:~/down/cpan/AxKit-1.4 > This are ther other modules: [Fri Sep 28 12:34:55 2001] [notice] Apache/1.3.20 (Unix) AxKit/1.4 mod_perl/1.26 mod_ssl/2.8.4 OpenSSL/0.9.6b PHP/4.0.6 configured -- resuming normal operations [Fri Sep 28 12:34:55 2001] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec) static build eureka:/w20/bin # ./httpd -l Compiled-in modules: http_core.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_status.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_access.c mod_auth.c mod_so.c mod_setenvif.c mod_ssl.c mod_perl.c<<< suexec: enabled; valid wrapper /usr/local/apache/bin/suexec eureka:/w20/bin # Doing strace on httpd://eureka.acon.nl/xmltest/test.xml eureka:/w20/bin # ps ax |grep httpd 24650 pts/1S 0:01 ./httpd -X eureka:/w20/bin # strace -p 24650 accept(16, ... getcwd("/usr/local/apache/htdocs/xmltest", 1024) = 33 brk(0x86eb000) = 0x86eb000 read(4, "", 4096) = 0 read(4, "", 4096) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 close(4)= 0 munmap(0x40018000, 4096)= 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/usr/local/apache/lib/perl/Apache/Axkit/Language/XPathScript.pmc", 0xb29c) = -1 ENOENT (No such file or directory) open("/usr/local/apache/lib/perl/Apache/Axkit/Language/XPathScript.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/usr/lib/perl5/5.6.0/i586-linux/Apache/Axkit/Language/XPathScript.pmc", 0xb29c) = -1 ENOENT (No such file or directory) open("/usr/lib/perl5/5.6.0/i586-linux/Apache/Axkit/Language/XPathScript.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/usr/lib/perl5/5.6.0/Apache/Axkit/Language/XPathScript.pmc", 0xb29c) = -1 ENOENT (No such file or directory) open("/usr/lib/perl5/5.6.0/Apache/Axkit/Language/XPathScript.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/usr/lib/perl5/site_perl/5.6.0/i586-linux/Apache/Axkit/Language/XPathScript.pmc", 0xb29c) = -1 ENOENT (No such file or directory) open("/usr/lib/perl5/site_perl/5.6.0/i586-linux/Apache/Axkit/Language/XPathScript.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/usr/lib/perl5/site_perl/5.6.0/Apache/Axkit/Language/XPathScript.pmc", 0xb29c) = -1 ENOENT (No such file or directory) open("/usr/lib/perl5/site_perl/5.6.0/Apache/Axkit/Language/XPathScript.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/usr/lib/perl5/site_perl/Apache/Axkit/Language/XPathScript.pmc", 0xb29c) = -1 ENOENT (No such file or directory) open("/usr/lib/perl5/site_perl/Apache/Axkit/Language/XPathScript.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("./Apache/Axkit/Language/XPathScript.pmc", 0xb29c) = -1 ENOENT (No such file or directory) open("./Apache/Axkit/Language/XPathScript.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/usr/local/apache//Apache/Axkit/Language/XPathScript.pmc", 0xb29c) = -1 ENOENT (No such file or directory) open("/usr/local/apache//Apache/Axkit/Language/XPathScript.pm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 stat64("/usr/local/apache/htdocs/xmltest/test.xml", {st_mode=S_IFREG|0644, st_size=462, ...}) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 stat64("/usr/local/apache/htdocs/xmltest/.xmlstyle_cache", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/usr/local/apache/htdocs/xmltest/.xmlstyle_cache/a5b1f4f6dae41b93ac41e8a22c7d9db4", 0x826f440) = -1 ENOENT (No such file or directory) brk(0x86ee000
Setup of CGI.pm failed
I am occasionally getting the following message from CGI.pm in $@: Line 1: Setup of CGI.pm failed: when HTML::Embperl runs the this line: eval { $cgi = new CGI }; I am not sure where this message is coming from - it might be mod_perl, it might be CGI.pm - but I am at a loss to find it. I have even done a search through all the installed modules on my system to find the word 'Setup', but none of them appears to be this error. Does anybody know what might be generating this error? I can't put any logging in, as I don't know where to start looking!
Re: MSIISProbes.pm v1.03
On Thu, 20 Sep 2001, Mike Schienle wrote: > > thanks to patches from Brice D. Ruth and others, a new version of > > MSIISProbes.pm is available at > > http://www.tonkinresolutions.com/MSIISProbes.pm.tar.gz > > Hi all - > > Can anyone provide a couple hints on getting this going with Tenon's > iTools on MacOS X? For Reuven's CodeRed, it was just a matter of putting > CodeRed.pm in /Library/Perl and adding the following code to the > iTools.conf file (equivalent to httpd.conf). [...] > Any suggestions are greatly appreciated. check the code and your system configuration for the location of sendmail (or whatever the module uses to send mail). - ask -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than a billion impressions per week, http://valueclick.com
Re: [OT] clp.moderated, was- Re: Backticks as fast as XS
On 27 Sep 2001, Joe Schaefer wrote: [beginners lists] > [2]: IIRC, they are at > http://learn.perl.org/ yup, thousands of subscribers. Incredibly amounts of (helpful) mails. http:[EMAIL PROTECTED]/ http:[EMAIL PROTECTED]/ - ask ps. we had some network trouble around noon Thursday (PST) on the network where "onion" (serving learn.perl.org and others) is located, that's why you couldn't connect. =) -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than a billion impressions per week, http://valueclick.com