Web Crawler

1999-11-22 Thread ricarDo oliveiRa

Hi there,

thanks in advance for any further help.
I have a web crawler running in a solaris+apache+mod_perl web server, and
for some reason, when I try go get the contents of a certain page, it hangs
and gives no timeout whatsoever.

use LWP::Simple;

...

$page_text = get($thisURL);

...

besides this problem, the crawler is monolithic. can I do a fork to speed
things up? Any suggestions?


Thanks!
./Ricardo Oliveira

__
FREE Email for ALL! Sign up at http://www.mail.com



Duplicated emails from mod_perl list

1999-11-22 Thread Andrei A. Voropaev

Hi!

Probably this is off-topic. But it's about the list itself. Why do I
get OLD emails from time to time. Today I got about 7 or 8 of
those. I'm absolutely positive that I've seen them once before. Some
of those emails are dated Nov. 16th

This happened 2 or 3 times already so I decided to ask. Maybe there's
some problem? Does anyone else gets them?

Andrei

-- 



RE: mod_perl messages in error_log

1999-11-22 Thread Eric Cholet

 What means
 
   mod_perl: rwrite returned -1 (fd=3, B_EOUT=8)
 
 in the error_log file?

It means the client disconnected before your script ended.
There's a bug that makes this message appear unduly, which has
(hopefully) been fixed in the CVS tree.
 
 I'm adapting the Apache::Ticket* family of modules to a new site
 authenticating against a PostgreSQL database with DBI.  The modules
 seem to work, but these cryptic messages appear when
 Apache::TicketMaster performs some of its tasks.
 
 The values in the error message do not vary from one instance to the
 next.
 
 TIA.
 
 -- 
 Brian Haney  [EMAIL PROTECTED]
 CyberNautix, Inc.   800.7.NAUTIX
 UNIX/Internet Computing Solutions   Consulting * Development
 

--
Eric



Re: Apache and FILEHANDLES

1999-11-22 Thread Vivek Khera

 "AG" == Anthony Gardner [EMAIL PROTECTED] writes:

AG Is there another way to write to files than

AG print OPF (END);
AG ...
AG END

I don't get your question.  How else does one write to files other
than printing to the file handle opened for writing to that file?

AG Also, why can't I write to files from startup.pl (i.e. during server start 
AG up?!)

What error do you get when you attempt this?  How do you attempt this?



Re: Another IE5 complaint

1999-11-22 Thread Steven Champeon

On Fri, 1 Oct 1999, Joe Pearson wrote:
 Maybe everyone already knows this, but I just discovered that
 whenever a IE5 user visits a page in their "Favorites", IE5 also trys
 to GET favicon.ico from the same site.  Therefor I have hundreds of
 "File does not exist:"  errors in my log file.

Oh, that's an easy fix. If you're using Apache, just stick a redirect
into your config so that favicon.ico requests are redirected to the
microsoft.com site.

RedirectMatch permanent ^.*favicon.ico$ 
http://www.microsoft.com/please/fix/your/stupid/browser

Barring that, redirect it to your own favicon file (preferably not named
'favicon.ico', though, unless you /like/ infinite loops.) You'll need to
grab /all/ requests for favicon.ico, though, as IE is so dumb it looks for
the file in any subdirectory as well, so if the bookmark is for "/some/dir"
it will look for "/some/dir/favicon.ico", and so forth.

Steve



RE: EmbPerl, PHP

1999-11-22 Thread Gerald Richter


  Steve Willer has written a few words about PHP and Embperl. Look at
 
 
 http://perl.apache.org/embperl/Sites.pod.1.html#http_www_webperson
 als_com_St

 Well, the 10-20 times performance difference is very
 questionable.  Depends a lot on what you are doing.  For most stuff PHP is
 about 30% slower than static pages on a site.  So for anything to be even
 twice as fast as PHP it has to be faster than static pages.


I can't comment on that, because I am not using PHP, but Embperl is surely
slower than static pages. It has about the same speed, then writing the same
application with a normal Perlscript that runs under mod_perl and
Apache::Registry.

Gerald

-
Gerald Richterecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:   Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925151
WWW:http://www.ecos.de  Fax:  +49 6133 925152
-



Re: Bug in libapreq makes form elements stick to an apache child

1999-11-22 Thread Tim Bunce

On Fri, Nov 19, 1999 at 10:10:07AM -0800, Jeffrey Baker wrote:
 
 if (defined @foo_in) {

Generally using defined() on aggregates is a bad idea.

Tim.



RE: Another IE5 complaint

1999-11-22 Thread Fulko Hew

Joe Pearson [EMAIL PROTECTED] wrote:


 Maybe everyone already knows this, but I just discovered that
 whenever a IE5 user visits a page in their "Favorites", IE5 also trys
 to GET favicon.ico from the same site.  Therefor I have hundreds of
 "File does not exist:"  errors in my log file.

Check out:

http://www.wdvl.com/Authoring/Design/Images/Favicon/index.html

It talks all about it.

---
Fulko Hew,   Voice:  905-333-6000  x 6010
Senior Engineering Designer, Direct: 905-333-6010
Northrop Grumman-Canada, Ltd.Fax:905-333-6050
777 Walkers Line,Home:   [EMAIL PROTECTED]
Burlington, Ontario, Canada, L7N 2G1 Work:   [EMAIL PROTECTED]



Re: Duplicated emails from mod_perl list

1999-11-22 Thread G.W. Haywood

On Mon, 22 Nov 1999, Andrei A. Voropaev wrote:

 Probably this is off-topic. But it's about the list itself. Why do I
 get OLD emails from time to time. Today I got about 7 or 8 of
 those. I'm absolutely positive that I've seen them once before. Some
 of those emails are dated Nov. 16th
 
 This happened 2 or 3 times already so I decided to ask. Maybe there's
 some problem? Does anyone else gets them?
 
 Andrei

Hi there,

You aren't alone.  Today I got 26 mails from the modperl list TWICE.
As I've had absolutely no response to the problem I posted on 3 Nov.
and a truckload of duplicated emails I'm starting to think about 
unsubscribe modperl...

Kind regards,
Ged Haywood.





missing header files on debian

1999-11-22 Thread Slava

I tried to install  Apache::Request  both   way:  manualy and
using  perl -MCPAN -e shell.   It does't work  on Debian.
it tries to find  some   header files  from apache. The same with
libapreq-0.31
I installed  apache  and mod_perl  as debian package(DSO).
Any body knows how to  solve this?
Thanks.




Apache, Perl, Frontpage and PHP

1999-11-22 Thread The Doctor

Has anyone to date accomplished a combination of

Apache + mod_Perl + Mod_frontpage + Mod_php in one go?

I did try to compile php and ran into the following:


Script started on Sun Nov 21 16:28:56 1999
doctor.nl2k.ab.ca//usr/source/php-3.0.12$ gmake php
gcc -g -O2 -O2 -fPIC  -I. -I.   -I/usr/source/apache_1.3.9_nonSSL//src/include 
-I/usr/source/apache_1.3.9_nonSSL//src/os/unix  
-I/usr/contrib/include/mysql-o libmodphp3-so.a -shared -x  -L/usr/X11/lib 
-L/usr/local/lib  language-parser.tab.o language-scanner.o main.o php3_hash.o 
operators.o variables.o token_cache.o stack.o internal_functions.o snprintf.o 
php3_sprintf.o alloc.o list.o highlight.o debugger.o configuration-parser.tab.o 
configuration-scanner.o request_info.o safe_mode.o fopen-wrappers.o constants.o 
php3_realpath.o alloca.o php_compat.o  functions/adabasd.o functions/aspell.o 
functions/apache.o functions/fhttpd.o functions/basic_functions.o functions/crypt.o 
functions/datetime.o functions/db.o functions/dbase.o functions/dir.o functions/dl.o 
functions/dns.o functions/exec.o functions/file.o functions/filepro.o 
functions/filestat.o functions/formatted_print.o functions/fsock.o functions/gd.o 
functions/head.o functions/html.o functions/image.o fun!
!
ctions/imap.o functions/link.o functions/mail.o functions/math.o functions/iptc.o 
functions/md5.o functions/microtime.o functions/mime.o functions/msql.o 
functions/mysql.o functions/oracle.o functions/oci8.o functions/pack.o 
functions/pageinfo.o functions/pgsql.o functions/magick.o functions/post.o 
functions/rand.o functions/reg.o functions/solid.o functions/soundex.o 
functions/string.o functions/syslog.o functions/type.o functions/uniqid.o 
functions/sybase.o functions/sybase-ct.o functions/url.o functions/base64.o 
functions/info.o functions/bcmath.o functions/number.o functions/xml.o 
functions/unified_odbc.o functions/ldap.o functions/browscap.o functions/velocis.o 
functions/gdttf.o functions/gdcache.o functions/zlib.o functions/COM.o functions/ifx.o 
functions/pdf.o functions/cpdf.o functions/hw.o functions/hg_comm.o functions/dlist.o 
functions/fdf.o functions/wddx.o functions/wddx_a.o functions/snmp.o functions/var.o 
functions/interbase.o functions/quot_print.o functions/cyr!
!
_convert.o functions/sysvsem.o functions/dav.o functions/sysvshm.o functions/gettext.o 
functions/php3_mckcrypt.o functions/yp.o functions/dba.o functions/dba_gdbm.o 
functions/dba_dbm.o functions/dba_ndbm.o functions/dba_cdb.o functions/mcrypt.o 
functions/dba_db2.o functions/mhash.o functions/pcre.o functions/posix.o 
functions/parsedate.o -Wl,-rpath,/usr/contrib/lib/mysql  -lgd -L/usr/contrib/lib/mysql 
-lmysqlclient -lbind pcrelib/libpcre.a regex/libregex.a -lgdbm  
-lz-lgd -lm -ldl  -lresolv -lbind 
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not recognized
gcc: language -L/usr/X11/lib not 

mod_sandwich - parsing the header and footer through SSI module

1999-11-22 Thread Shay Mandel

hi,

Does anyone has a modified version of the Sandwich module that passes
the header and footer files through the SSI handler ? the version I've
download does it only for the body of the document.



--

Shay Mandel
IT Group - WebMaster
Galileo Technology
Moshav Manof, D.N. Misgav 20184, ISRAEL.

E-mail: [EMAIL PROTECTED]
Phone : +972-8-9247555 ext. 354
Fax   : +972-8-9247554
Phone@home: +972-2-6528550
Cellular  : +972-52-339342
WWW Pagehttp://www.galileot.com