Re: Simple Mod_Perl XML Engine

1999-11-23 Thread Jochen Wiedmann
Alex Menendez wrote: 1) I do not want the XML tags to show up in the html source once they have been expanded. 2) I want the tags to be simple...Not embed perl type of processing. 3) I want the flexibility to embed sql queries, formatting elements or whatever into my xml packets that will

mod_perl and sybase support statically linked into httpd?

1999-11-23 Thread Thomas Corte
Hi, I am currently running Apache on a HP-UX 11 platform, using plain CGIs for dynamic page creation accessing a Sybase database. I have only quite old Sybase client libraries here, forcing me to statically link sybase support into my perl binary. Now I want to switch to mod_perl; the problem

Stumped: Location ignored

1999-11-23 Thread Miguel A.L. Paraz
Hi, I hit this months ago but never really solved it... I'm working with the WING e-mail package by Malcolm Beattie. In my httpd.conf I have tried: PerlModule Wing_miranda_herrera_iphil_net::Balance Location / SetHandler perl-script PerlHandler Wing_miranda_herrera_iphil_net::Balance

Re: Another IE5 complaint

1999-11-23 Thread Craig Shaver
IE 4/5 hits are more than 50% of the http://translator.go.com/ site I am working on, and I make sure I serve up a favicon.ico to all of thos guys. I get lots of bookmark requests and love it. Rod Butcher wrote: Am I the only battling service vendor who actually feels good when somebody

Re: Another IE5 complaint

1999-11-23 Thread Ruben I Safir
LINK REL="SHORTCUT ICON" href="/path/to/favicon.ico" Is this sort of thing implimented in Netscape? Is rev and rel implemented in any fashion? -- Ruben I Safir [EMAIL PROTECTED] http://www.brooklynonline.com Manager of Intranet Development NYU College of Dentisty Resume:

Re: Another IE5 complaint

1999-11-23 Thread Steven Champeon
On Tue, 23 Nov 1999, Ruben I Safir wrote: LINK REL="SHORTCUT ICON" href="/path/to/favicon.ico" Is this sort of thing implimented in Netscape? Is rev and rel implemented in any fashion? It's not implemented for favicon, no. But LINK REL is supported by Navigator for external CSS

Re: Another IE5 complaint

1999-11-23 Thread Jeffrey W. Baker
Rod Butcher wrote: Am I the only battling service vendor who actually feels good when somebody bookmarks my website ? I can absorb the overhead of accesses to a favorites icon. This may be a security hazard for the client, but I detect a holier-than-thou attitude here against M$. Will

Re: mod_sandwich - parsing the header and footer through SSI module

1999-11-23 Thread Jim Serio
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. The point of Apache::Sandwich is to append a preset header/footer to all HTML (or whatnot) files. If

Re: Apache::Sandwich and SSI problems

1999-11-23 Thread Vivek Khera
"SM" == Shay Mandel [EMAIL PROTECTED] writes: SM Hi, SM I am trying to use your Sandwich module, which is really great and SM helpful. So first of all I want to thank you for the great job you've SM done. Try making your sandwiched documents NOT be *.[s]html. You're forcing all your documents

EmbPerl, PHP continued...

1999-11-23 Thread Robert Locke
Hi all, I was looking for some performance data for EmbPerl, PHP, etc. but could only find "Hello World"-type tests. So, I decided to add a few other tests to the mix and post the results. These test results are still very crude. Any feedback/analysis/criticism would be appreciated. Thanks!

RE: Re: Re: Web Crawler

1999-11-23 Thread ricarDo oliveiRa
I can't answer that, since I wasn't working on this project when it started some time ago. But it must have been version beta-beta-beta-beta :)) But there are lot of open source crawlers avaiable. The Google isn't open source anymore. Take a look at

Re: ab weirdness...

1999-11-23 Thread Robert Locke
Strange indeed. This is a 10M LAN. The reason I was suspecting something wrong with my Apache configuration was because AOLServer (running on the test server) was reporting about 25 requests per second for the same file, which should definitely not be the case. Thanks! Rob Rasmus Lerdorf

[JOB] mod_perl programmer wanted in Boston

1999-11-23 Thread Liza Daly
Public Interactive has immediate openings for Perl programmers. We're a fast-moving, award-winning on-line provider of Web content for the public broadcasting community located in downtown Boston (steps from South Station). We're fun, we're casual, and we love open source tools. Requirements:

Re: Apache::Sandwich and SSI problems

1999-11-23 Thread Vivek Khera
"SM" == Shay Mandel [EMAIL PROTECTED] writes: SM Hi, SM Thank you very much for your response. SM I've changed my configs, so that the sandwich will work only on .html file, SM and set them not to be SSI parse by default. SM Still, the header file, which has .shtml extension is not parsed.

PerlAccess handler overriding mod_include

1999-11-23 Thread Robert Bedell
I know this is a simple problem, but I can't find the solution in the Eagle books or in the mailing lists, etc. Anyway. I have a custom blocking module to block large quantities of URLs Files *.cgi Options +execcgi /Files Files *.shtml AddHandler server-parsed .shtml SetHandler server-parsed

directoryindex is not retrieved

1999-11-23 Thread Andrei A. Voropaev
Hi! I have problem with index files for directories not being read under mod_perl. According to mod_perl guide this happened for those who "declared mod_perl configuration inside a Directory section for all files matching to *.pl. The problem has gone away after placing the usage of mod_perl in

Stacked Handlers and passing Objects

1999-11-23 Thread Bill Desjardins
Hello Everyone, I have been lurking for a while, but this is my first post. I started programming perl about a year ago and have no other programming experience, so please forgive me if this is way out of scope. And yes, I have searched the archives and I have the apache modules book, but I did

Re: Another IE5 complaint

1999-11-23 Thread Jeffrey W. Baker
Jeff Stuart wrote: Jeffrey Baker wrote: What he said. I don't see what sucks so much about burning a few bytes of bandwith to have your site's big fat icon on the user's desktop! And it isn't like they made up an HTTP ICON request type, they are using standard methods to get the file.

Re: Another IE5 complaint

1999-11-23 Thread Tom Christiansen
Are you going to complain about all the 404 errors in your log, or are you going to use a simple RewriteRule to give people the information they are seeking? Well, in the Microsoft case, I'd probably dynamically rewrite the link to file:///dev/mouse or file:///dev/zero, if that made any sense to

RE: Stacked Handlers and passing Objects

1999-11-23 Thread Young, Geoffrey S.
I think what you are looking for is available in the pnotes() method it isn't documented in the book, but a recent version of mod_perl and perldoc Apache should be able to help you, now that you know what to look for... --Geoff -Original Message- From: Bill Desjardins [SMTP:[EMAIL

embperl pages and braindead sucking robots

1999-11-23 Thread Jens-Uwe Mager
I have for the first time encountered the problem that some braindead web robot (ExtractorPro) attempted to download all of the site and appended some random URL segment at the end of an embedded perl page. I use suffix .phtml for these pages, and the url looked like

Re: Apache::Sandwich and SSI problems

1999-11-23 Thread Bruce W. Hoylman
"Shay" == Shay Mandel [EMAIL PROTECTED] writes: Shay # Shay # To use server-parsed HTML files Shay # Shay AddType text/html .shtml AddHandler server-parsed .shtml Shay AddHandler server-parsed .html Shay Files ~ "\.s{0,1}html$" Shay SetHandler perl-script Shay

Re: Another IE5 complaint

1999-11-23 Thread Ruben I Safir
That would only work for unix? Or will that mess with windows as well? Tom Christiansen wrote: Are you going to complain about all the 404 errors in your log, or are you going to use a simple RewriteRule to give people the information they are seeking? Well, in the Microsoft case, I'd

RE: Stacked Handlers and passing Objects

1999-11-23 Thread Stas Bekman
I think what you are looking for is available in the pnotes() method it isn't documented in the book, but a recent version of mod_perl and perldoc Apache should be able to help you, now that you know what to look for...

RE: Stacked Handlers and passing Objects

1999-11-23 Thread Young, Geoffrey S.
and, of course, it is well documented in the guide (sorry Stas :) -Original Message- From: Stas Bekman [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, November 23, 1999 2:35 PM To: Young, Geoffrey S. Cc: 'Bill Desjardins'; [EMAIL PROTECTED] Subject: RE: Stacked Handlers and

Re: Another IE5 complaint

1999-11-23 Thread Matt Sergeant
On Tue, 23 Nov 1999, Jeffrey W. Baker wrote: Rod Butcher wrote: Am I the only battling service vendor who actually feels good when somebody bookmarks my website ? I can absorb the overhead of accesses to a favorites icon. This may be a security hazard for the client, but I detect a

Upgrading to 1.21-2

1999-11-23 Thread Glen Lee Edwards
I just upgraded to Perl 5.005_03 from 5.004_something. (I run Red Hat Apollo (5.2) on my box). I had to install GLIBC_2.1 and uninstall mod_perl-1.19-1. That done, Perl installed with only one hitch, the following error: /etc/localtime created as /etc/localtime.rpmnew Then I tried to install

RE: Upgrading to 1.21-2

1999-11-23 Thread Ian Mahuron
Did you install perl from source? If you did then RPM is unaware of perl 5.005x being on the box. As said several times before on the list.. You may want to build perl, apache, and mod_perl from source. Odds are, everything will work without a hitch. Ian -Original Message- From:

Re: Flaky software

1999-11-23 Thread G.W. Haywood
On Fri, 19 Nov 1999, Jeffrey Baker wrote: if (defined @foo_in) { # On Fri, 19 Nov 1999, Randal L. Schwartz wrote: # # defined @bar and defined %bletch are almost never correct, and any # seasoned Perl hacker knows to watch for those as a red flag. On Mon, 22 Nov 1999, Jeffrey Baker

HTTP_NOT_MODIFIED

1999-11-23 Thread Bill Moseley
Hello, I'm asking this question again in a simpler form this time. Can Apache::exit() be used in an Apache::Registry script? (My script is run mod_perl and mod_cgi so I'm trying not to make it contain too much mod_perl-specific code.) I'm trying to send a 304 error, but also log a 304 error

Re: Flaky software

1999-11-23 Thread Matt Sergeant
On Tue, 23 Nov 1999, G.W. Haywood wrote: Dear Mr. Baker, If you have "never bothered" to find out why `make test' is failing then obviously you don't have any "production mod_perl systems". In the light of the comments from Mr. Schwartz, it looks like you have only development systems

Re: Flaky software

1999-11-23 Thread Ken Williams
Give me a break, G.W. You think nobody is happy with mod_perl? You think it's okay to take the mis-speakings of a good Perl contributor (JB) out of context and try to use them as some kind of evidence (for what?)? That's mean-spirited and inaccurate, and I don't feel like hearing it. "[sic]"?

Modperl/ProxyPass ModSSl

1999-11-23 Thread Joseph R. Junkin
Hello all, I am using a two server setup with a lightweight modproxy front end doing a proxypass to a backend modperl app server. So now I want to utilize modssl and enable an encrypted version, while still retaining a non-encrypted version. In this situation, where do I set up modssl? 1) on the

RE: embperl pages and braindead sucking robots

1999-11-23 Thread Charlie Wilkinson - XM
Jens-Uwe Mager wrote: I have for the first time encountered the problem that some braindead web robot (ExtractorPro) attempted to download all of the site and appended some random URL segment at the end of an embedded perl page. I use suffix .phtml for these pages, and the url looked like

Re: Flaky software

1999-11-23 Thread Glen Lee Edwards
I'm brand new to the list, so I thought I'd better ask a question before making another post: What is the specific purpose/slant of this list? Is it a developer's list? A general list to help those running Mod Perl? Are only programming geniuses allowed to post, or can the average joe ask

Re: HTTP_NOT_MODIFIED

1999-11-23 Thread Stas Bekman
Hello, I'm asking this question again in a simpler form this time. Can Apache::exit() be used in an Apache::Registry script? (My script is run mod_perl and mod_cgi so I'm trying not to make it contain too much mod_perl-specific code.)

Re: Flaky software

1999-11-23 Thread Vivek Khera
"GLE" == Glen Lee Edwards [EMAIL PROTECTED] writes: GLE What is the specific purpose/slant of this list? Is it a developer's GLE list? A general list to help those running Mod Perl? Are only GLE programming geniuses allowed to post, or can the average joe ask dumb GLE questions? Anyone can

Where to start with mod_perl (was Re: Flaky software)

1999-11-23 Thread Jeffrey Baker
Glen Lee Edwards wrote: I'm brand new to the list, so I thought I'd better ask a question before making another post: What is the specific purpose/slant of this list? Is it a developer's list? A general list to help those running Mod Perl? Are only programming geniuses allowed to

Re: HTTP_NOT_MODIFIED

1999-11-23 Thread Bill Moseley
At 12:30 AM 11/24/99 +0200, Stas Bekman wrote: http://perl.apache.org/guide/porting.html#Terminating_requests_and_process Thanks for the reply, Stas. I did read that section of the Guide, but I didn't see what I'm doing wrong to cause the headers to be sent incorrectly, like the example below.

Re: Another IE5 complaint

1999-11-23 Thread Robin Berjon
At 20:08 23/11/1999 +, Matt Sergeant wrote: What sucks is it's MS lock-in. To create a .ico file you have to have a Windows machine. So webmasters now have to have windows machines to work with this concept. Had it been .png I would have felt differently. Not that I want to make this already

Embperl Subroutines

1999-11-23 Thread Owen Stenseth
Hello Everyone, I am in the process of developing an Embperl/Mysql site and have a couple of questions. One thing that I am doing now is making use of Embperl [$ sub $] [$ endsub $] for defining subroutines. If I read the documentation correctly these subroutines will be 'imported' into any

Apache::Request

1999-11-23 Thread John S. Evans
So I've been playing around with Apache::Request for the last day or two, trying to figure out what it's capabilities are for processing uploaded files. I was hoping to use it as the back-end of an HTTP-based API I'm creating. It looks like it requires that a "filename" parameter on the

Question on STDIN

1999-11-23 Thread John S. Evans
In a perl apache module that I'm writing, I wanted to try to parse the content of a POST myself. According to "Writing Apache Modules with Perl and C", page 438, you should be able to read the content from STDIN using Perl's read() and getc(), and using Perl's file operations. When I use the

RE: HTMLEmbperl 1.2.0 HTTP header

1999-11-23 Thread Gerald Richter
The psuedocode snippet looks something like this (the actual listing is too huge) [- if passed data perform error checking else $new_entry = 1; -] HTMLHEADTITLE/TITLE/HEAD BODY [$ if( ($new_entry) || ($f-errors()) ) $] [+ $f-display_errors_as_html(); +] blank form

Re: Question on STDIN

1999-11-23 Thread Spidaman The Defenestrator
Meanwhile, back at the ranch... $line = STDIN; $r-print("$line\n"); In my response, I get the entire POST content echoed back to me, where I only expected the first line. If I comment out the "print" statement, I don't get anything echoed back (which is what I would expect). It really

Re: Performance problems

1999-11-23 Thread Rasmus Lerdorf
I have a site running Apache-1.3.6, PHP-3.0.9, mod_perl-1.20 on Solaris with a Sybase Database. And it has some performance flaws. This site has thousands of hits per day (not sure of how many, though) and it should be faster (few images, no animations whatsoever). Can anybody tell me what

Re: missing header files on debian

1999-11-23 Thread Michael Alan Dorman
Slava [EMAIL PROTECTED] writes: 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 Install apache-dev Mike.

Position Available (London/UK)

1999-11-23 Thread Christof Damian
while we are at it: http://guideguide.com/wanted.html christof -- Christof Damian [ we are looking for perl and linux Technical Director programmers, more information @ guideguide ltd.http://guideguide.com/wanted.html ]

RE: Another IE5 complaint

1999-11-23 Thread Stephen Anderson
-Original Message- From: Rod Butcher [mailto:[EMAIL PROTECTED]] Sent: 23 November 1999 10:20 Cc: [EMAIL PROTECTED] Subject: Re: Another IE5 complaint Am I the only battling service vendor who actually feels good when somebody bookmarks my website ? I can absorb the overhead

Re: Another IE5 complaint

1999-11-23 Thread Fabrice Scemama
Most of my users are .fr people. My logs show more than 70% of them as IE users. MS is clearly in the process of enjoying one more monopolistic situation. People just don't download Netscape. What's more surprising is the enormous proportion of IE5 users over IEx users. Seems to me that if we let

Re: EmbPerl, PHP continued...

1999-11-23 Thread Rasmus Lerdorf
RESULTS: - Results are "Requests per second". I'm not sure how to interpret the numbers on an absolute scale, but the relative comparisons should be somewhat meaningful. - Each test was conducted 5 times and the average is shown. - "ab" was used from the same

Re: ab weirdness...

1999-11-23 Thread Rasmus Lerdorf
When I use "ab" from another Linux box to fetch a static HTML page (about 6K in size) on a test server on the same network, "ab" reports: 3 requests per second versus about: 900 requests per second when "ab" is run directly on the test server. Strange. I don't see that here.

RE: Passing params in Embperl...

1999-11-23 Thread Gerald Richter
I realize that that this is probably something incredibly easy that I've just overlooked while reading the docs so I apologize ahead of time... I need to pass a value that is dynamically generated at run time to the next Embperl doc. I've tried doing the following: $fdat{'application_id'}

Apache::ASP

1999-11-23 Thread Aaron Slepecky
Sorry for the newbie question but I cannot find anyone to help me. I have everything installed and loaded but everytime I try to put the following into my httpd.conf (and access.conf): Location /asp/ SetHandler perl-script PerlHandler Apache::ASP PerlSetVar Global/tmp /Location I get this

RE: Flaky software

1999-11-23 Thread brian moseley
On Tue, 23 Nov 1999, Gary Carroll wrote: Maybe you should try http://www.microsoft.com i hear there is this great new thing called 'active server pages'. ive been meaning to check that out but i keep having to write mod_perl code for non-production systems. damn those paying customers.

RE: Embperl Subroutines

1999-11-23 Thread Gerald Richter
One thing that I am doing now is making use of Embperl [$ sub $] [$ endsub $] for defining subroutines. If I read the documentation correctly these subroutines will be 'imported' into any page that I import them into. I see no mention of reuse of these subroutines, each page seems to get

Re: Another IE5 complaint

1999-11-23 Thread Tim Tompkins
Is this horse dead yet?!? I don't know, but let's kick it an' see if it squeels! Thanks, Tim Tompkins -- Programmer / IS Technician http://www.arttoday.com/ - Original Message - From: Stephen Anderson [EMAIL PROTECTED] To: [EMAIL

Re: Question on STDIN

1999-11-23 Thread Eric L. Brine
When I use the STDIN statement, I get a single line that contains the entire POST content, rather than just the first line of the post. Can anyone think of why that would happen? Here's the snippet of my code: $line = STDIN; $r-print("$line\n"); 1. There might not be more than one

Re: Apache::ASP

1999-11-23 Thread Joshua Chamas
Aaron Slepecky wrote: Sorry for the newbie question but I cannot find anyone to help me. I have everything installed and loaded but everytime I try to put the following into my httpd.conf (and access.conf): Location /asp/ SetHandler perl-script PerlHandler Apache::ASP PerlSetVar