Errors in my scripts cause apache getting strange...

2003-09-12 Thread Anton Permyakov
Hi all, I use Apache 1.3.26, mod_perl 1 I use Apache directive ErrorDocument 500 /error500.html So, if any errors occure, my web-site inform it in nice form (showing page /error500.html). But suddenly i change something in my scripts and now, when error happens, Apache do not give me /error500

Problem adding mod_perl to my web server config.

2003-04-06 Thread Paul Adair
I recently attempted to add mod_perl to my web server configuration. Here is my current web server info. Apache/2.0.44 (Unix) mod_ssl/2.0.44 OpenSSL/0.9.7a DAV/2 PHP/4.3.1 Sun-ONE-ASP/4.0.0 There are no problems with this config and everything work ok. I went through all of the config/setup docs

Re: Problem adding mod_perl to my web server config.

2003-04-06 Thread Stas Bekman
Paul Adair wrote: I recently attempted to add mod_perl to my web server configuration. Here is my current web server info. Apache/2.0.44 (Unix) mod_ssl/2.0.44 OpenSSL/0.9.7a DAV/2 PHP/4.3.1 Sun-ONE-ASP/4.0.0 There are no problems with this config and everything work ok. Paul, please make sure

Re: Problem adding mod_perl to my web server config.

2003-04-06 Thread Paul Adair
My appologies, forgot the bug report t/REPORT script output. Here is the bug report. Paul. -8-- Start Bug Report 8-- 1. Problem Description: [DESCRIBE THE PROBLEM HERE] 2. Used Components and their Configuration: *** using lib/Apache/BuildConfig.pm

modperl apears to break my Apache DirectoryIndex

2003-03-18 Thread Merritt Krakowitzer
Hi When i create an Apache Virtual host, It breaks the DirectoryIndex index.html. I am using Apache/2.0.44 (Unix) mod_perl/1.99_08 Perl/v5.8.0 If I remove the following: SetHandler perl-script PerlHandler RT::Mason from the virtual host config below it picks up the index.html again, although

Re: [mp2] $r-document root(/my/hacked/path);

2003-03-07 Thread Stas Bekman
Rob Brown wrote: I need to be able to at least temporarily change the document_root on the fly. Something like the following: $r-document_root(/my/hacked/path); But it crashes with a prototype mismatch. The docs say: $r-document_root:cannot currently be modified. requires locking since

Re: [mp2] what is GEN1 and why is it my log?

2003-03-01 Thread Ask Bjoern Hansen
On Thu, 20 Feb 2003, Nick Tonkin wrote: In my logs when dumping a warn() I see this occasionally: 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24

[mp2] what is GEN1 and why is it my log?

2003-02-20 Thread Nick Tonkin
Hi, In my logs when dumping a warn() I see this occasionally: 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28, GEN1

Re: [mp2] what is GEN1 and why is it my log?

2003-02-20 Thread Ged Haywood
On Thu, 20 Feb 2003, Nick Tonkin wrote: Hi, In my logs when dumping a warn() I see this occasionally: 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24

Re: [mp2] what is GEN1 and why is it my log?

2003-02-20 Thread Stas Bekman
Ged Haywood wrote: On Thu, 20 Feb 2003, Nick Tonkin wrote: Hi, In my logs when dumping a warn() I see this occasionally: 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28

Re: [mp2] what is GEN1 and why is it my log?

2003-02-20 Thread Nick Tonkin
On Fri, 21 Feb 2003, Stas Bekman wrote: Ged Haywood wrote: On Thu, 20 Feb 2003, Nick Tonkin wrote: Hi, In my logs when dumping a warn() I see this occasionally: 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28. 192.168.0.24 at /home/wm/perl/WM/Auth/Access.pm line 28

mails to be despatched in my name

2003-02-12 Thread UTPAL BANARJEE
i have very little space in my mail box so please send mails which are specific in my name only

Why is my mod_perl's @INC different?

2002-12-28 Thread Philip Mak
When I use perl from the command line, my @INC is this: $ perl -eprint join(':', @INC) /usr/lib/perl5/5.6.1/i386-linux:/usr/lib/perl5/5.6.1:/usr/lib/perl5/site_perl/5.6.1/i386-linux:/usr/lib/perl5/site_perl/5.6.1:/usr/lib/perl5/site_perl/5.6.0:/usr/lib/perl5/site_perl:. When I print @INC from

Re: Why is my mod_perl's @INC different?

2002-12-28 Thread perrin
How did this happen? Why does my command line perl use i386-linux, while my mod_perl uses i686-linux? Simple: they are compiled to use different installations of Perl. If you want to unify them, you can find out what mod_perl is using and put it first in your path (so that perl will run

my little stupid script

2002-12-23 Thread max . calvo
Howdy; I am in the beginning stages to get mod_perl in my head. This is my second script after the Hello There script. I am trying ot get my little stupid script to work. What I am trying ot do is fairly simple; I thought. I am just trying to get the server to print the numbers from 1 to 10

Re: my little stupid script

2002-12-23 Thread darren chamberlain
* [EMAIL PROTECTED] [EMAIL PROTECTED] [2002-12-23 14:31]: I am in the beginning stages to get mod_perl in my head. This is my second script after the Hello There script. I am trying ot get my little stupid script to work. What I am trying ot do is fairly simple; I thought. I am just trying

Re: my little stupid script

2002-12-23 Thread Honza Pazdziora
On Mon, Dec 23, 2002 at 02:34:52PM -0500, darren chamberlain wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [2002-12-23 14:31]: I am in the beginning stages to get mod_perl in my head. This is my second script after the Hello There script. I am trying ot get my little stupid script to work

Re: my little stupid script

2002-12-23 Thread max . calvo
Honza Pazdziora writes: On Mon, Dec 23, 2002 at 02:34:52PM -0500, darren chamberlain wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [2002-12-23 14:31]: I am in the beginning stages to get mod_perl in my head. This is my second script after the Hello There script. I am trying ot get my little

Re: How Can I Install ModPerl on My ISP-based Website???

2002-11-24 Thread Stas Bekman
2.0 with perchild mpm should resolve the ownership problem, partially similar to what suexec does. David -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 11:30 AM To: David Simcik Cc: Modperl Subject: Re: How Can I Install ModPerl on My ISP

Re: Newbie: Why does my script prompt to be downloaded intermittantly?

2002-11-23 Thread Trevor Joerges [SendMIME Software]
Thanks for all the info. Normally I set the $CGI::HEADERS_ONCE variable in CGI.pm in each of my CGI scripts but recently switched that behavior to actually modify the CGI.pm module directly. I also recently installed ActivePerl for Solaris instead of compiling Perl myself and forgot to reset

RE: How Can I Install ModPerl on My ISP-based Website???

2002-11-22 Thread David Simcik
Can I Install ModPerl on My ISP-based Website??? David Simcik wrote: I would LOVE to use mod_perl on my personal website -- I have the diskspace to do so, but the question remains as to whether or not I have the rights. The rights to do what? Can anyone point me to a guide for this? I've poked

Newbie: Why does my script prompt to be downloaded intermittantly?

2002-11-21 Thread Trevor Joerges [SendMIME Software]
I'm running mod_perl v1.0 with Apache v 1.3.27 on Solaris 2.6. I cannot figure out why my scripts occasionally prompt to be downloaded. The behavior is intermittent. I've read the mod_perl pitfalls and the PerlSendHeader is set to on in my config file. Is there something else I need to add

RE: Newbie: Why does my script prompt to be downloaded intermittantly?

2002-11-21 Thread Gareth Kirwan
: Why does my script prompt to be downloaded intermittantly? I'm running mod_perl v1.0 with Apache v 1.3.27 on Solaris 2.6. I cannot figure out why my scripts occasionally prompt to be downloaded. The behavior is intermittent. I've read the mod_perl pitfalls and the PerlSendHeader is set

Re: Newbie: Why does my script prompt to be downloaded intermittantly?

2002-11-21 Thread Rafiq Ismail (ADMIN)
On Thu, 21 Nov 2002, Trevor Joerges [SendMIME Software] wrote: behavior is intermittent. I've read the mod_perl pitfalls and the PerlSendHeader is set to on in my config file. Is there something else I need to add or remove? Hi Treveor, I've seen three fixes to this sort of problem in the past

How Can I Install ModPerl on My ISP-based Website???

2002-11-21 Thread David Simcik
I would LOVE to use mod_perl on my personal website -- I have the diskspace to do so, but the question remains as to whether or not I have the rights. Can anyone point me to a guide for this? I've poked around the mod_perl site and didn't find anything too specific. Thanks! D. Simcik

Re: How Can I Install ModPerl on My ISP-based Website???

2002-11-21 Thread Stas Bekman
David Simcik wrote: I would LOVE to use mod_perl on my personal website -- I have the diskspace to do so, but the question remains as to whether or not I have the rights. The rights to do what? Can anyone point me to a guide for this? I've poked around the mod_perl site and didn't find

Re: How Can I Install ModPerl on My ISP-based Website???

2002-11-21 Thread Aaron Johnson
On Thu, 2002-11-21 at 19:00, David Simcik wrote: I would LOVE to use mod_perl on my personal website -- I have the diskspace to do so, but the question remains as to whether or not I have the rights. Can anyone point me to a guide for this? I've poked around the mod_perl site and didn't find

Re: [OT]: In my Farthers House there are many mansions

2002-11-03 Thread Tony Bowden
think it's reasonable to know your audience and write for them. Have to agree 100% with Perrin - in my experience, refactoring for performance is often used as an excuse for 'rewrite in my style', I'm not sure anyone has actually posited using map for performance, but in most cases that would

Re: [OT]: In my Farthers House there are many mansions

2002-11-03 Thread Steven Lembark
opinion in the Perl world. However, I think it's reasonable to know your audience and write for them. Have to agree 100% with Perrin - in my experience, refactoring for performance is often used as an excuse for 'rewrite in my style', I'm not sure anyone has actually posited using map

RE: [OT]: In my Farthers House there are many mansions

2002-11-02 Thread Jeff
Times writes their articles for a certain reading level, and I do the same with my code. snip... - Perrin Have to agree 100% with Perrin - in my experience, refactoring for performance is often used as an excuse for 'rewrite in my style', and at this point, future maintainability is usually

Re: [OT]: In my Farthers House there are many mansions

2002-11-02 Thread Les Mikesell
From: Jeff [EMAIL PROTECTED] Another time, a contractor working for me complained bitterly about someone elses obtuse code and lack of comments - the other party said 'Why don't you scroll up?', which he did - lo and behold, about two pages of beautiful comment. Mmmm as he read the

RE: error from my .htaccess file

2002-10-06 Thread Ged Haywood
Hello again, Please CC the List with your replies. On Sun, 6 Oct 2002, Mitchel, Jennifer (Jem) wrote: Yes I am sure. -Original Message- From: Ged Haywood [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 05, 2002 3:12 AM To: Mitchel, Jennifer (Jem) Are you sure you're

Re: error from my .htaccess file

2002-10-05 Thread Ged Haywood
Hi there, On Tue, 1 Oct 2002, Mitchel, Jennifer (Jem) wrote: [snip] Syntax error on line 6 of /web/content/askLucent/password-reset/.htaccess: Invalid command 'PerlAuthenHandler', perhaps mis-spelled or defined by a module not included in the server configuration [snip] and

error from my .htaccess file

2002-10-01 Thread Mitchel, Jennifer (Jem)
in the server configuration Here are the contents of my .htaccess file Limit GET POST AuthName NT Domain\Login and Password AuthType Basic #PerlSetVar NT_Controllers 'na02il0015dc00:na02il0015dc01' PerlSetVar NT_Controllers 'na02il0015dc04:na02il0015dc01:NA02IL0015DC02' PerlAuthenHandler Apache

Apache seems to ignore my PerlAuthenHandler PerlAuthzHandler directives...

2002-09-03 Thread Eric Devolder
happens is that Apache is presenting the authentication box, but 1° nothing is logged into /var/log/httpd/error_log and 2° I could type in any user password combination, it grants the access. My guesses is that Apache doesn't even call the perl subroutines; can anyone help? I'm becoming crazy

Re: Some consideration about my Apache::SessionManager RFC

2002-08-09 Thread Enrico Sorcinelli
I'd mail the authors at their last known addresses saying that you propose steal^H^H^H^H take over the namespace. If you get no reply in a couple of weeks I'd guess you're safe enough to use it. Today I've mailed to the author. Also I've asked an advice to [EMAIL PROTECTED] I like your

Re: Some consideration about my Apache::SessionManager RFC

2002-08-03 Thread Ged Haywood
Hi there, On Sat, 3 Aug 2002, Enrico Sorcinelli wrote: First of all, sorry for my duplicate RFC post to this list. Heh, we all make mistakes. :) [snip,snip] another old RFC with the same namespace has been submitted. However the RFC is out of date (October 2000!!!) I've found this module

Some consideration about my Apache::SessionManager RFC

2002-08-02 Thread Enrico Sorcinelli
Hi all. First of all, sorry for my duplicate RFC post to this list. I've submitted today an RFC to mod_perl ml, as you've maybe seen. The main problem is that another old RFC with the same namespace has been submitted. However the RFC is out of date (October 2000!!!) and the module hasn't been

Mount something with my perl script

2002-07-24 Thread Heiss, Christian
Title: Mount something with my perl script Hello, I don't know if this is the right mailing list, but well... How can I mount something with my perl script? I've got always the error: mount: only root can do this So I changed my script something like this: #! /usr/bin/perl -w `su

Re: Mount something with my perl script

2002-07-24 Thread Dominic Mitchell
Heiss, Christian wrote: Hello, I don't know if this is the right mailing list, but well... How can I mount something with my perl script? I've got always the error: mount: only root can do this So I changed my script something like this: #! /usr/bin/perl -w `su - root password -c

Re: Mount something with my perl script

2002-07-24 Thread lembark
# ! /usr/bin/perl -w `su - root password -c 'mount -t smbfs -o credentials=some.file //windows/share /mount/point'`; Check out the automounter. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647

Re: Mount something with my perl script

2002-07-24 Thread Michael Jacob
PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject:Mount something with my perl script Date: Wed, 24 Jul 2002 13:55:13 +0200 Hello, I don't know if this is the right mailing list, but well... How can I mount something with my perl script? I've got always the error

Re: Mount something with my perl script

2002-07-24 Thread strange
As Dominic Mitchell already pointed out, you're better using sudo than su. Or just add the option owner (and optionally uid=uid) to /etc/fstab. Or just chgrp scriptegid /usr/bin/smbmnt ; chmod 04750 /usr/bin/smbmnt. Regards, Luciano Rocha -- Consciousness: that annoying time between naps.

Understanding why this fixes my perlaccess script

2002-07-04 Thread Jason Wilkes
of it in the error_log - although the HTTP response code in access_log is 333 (which I don't think is a valid response code). Any thoughts would be much appreciated. The code is: - package My::Package; use strict; use Apache::Constants qw(:common); use CGI::Cookie; use DBI; sub handler { open

RE: Understanding why this fixes my perlaccess script

2002-07-04 Thread Levon Barker
Not sure but I would try changing the query: my $sth = $dbh-prepare( SELECT id from session WHERE field = ? ); $sth-bind_param( 1, $SessionID ); $sth-execute; That might help. -Original Message- From

RE: Understanding why this fixes my perlaccess script

2002-07-04 Thread Jason Wilkes
Levon, Thanks for the swift reply - but nope - no different. --- Levon Barker [EMAIL PROTECTED] wrote: Not sure but I would try changing the query: my $sth = $dbh-prepare( SELECT id from session WHERE field = ? ); $sth

Re: Understanding why this fixes my perlaccess script

2002-07-04 Thread Perrin Harkins
Jason Wilkes wrote: So far so good, and all works well. Except for one user id (actually id=333), which causes an internal server error. If I put print debugging lines in - everything works (even for user 333). If I take them out again all other users work fine except 333. Can anybody throw

Re: Is mod_perl the right solution for my GUI dev?

2002-06-26 Thread Les Mikesell
. Yes, they'll most likely need customization (in my case, I've customized AuthCookie, and tied it to Apache::Session. It wasn't the end of the world, but it wasn't trivia. A cookie by itself is of rather limited usefulness. You can avoid most of the grunge work here by using one or more

Re: Is mod_perl the right solution for my GUI dev?

2002-06-26 Thread Fran Fabrizio
Ron Savage wrote: On Tue, 25 Jun 2002 12:22:15 -0400, Fran Fabrizio wrote: Fran [snip] from first-hand experience, hell my current project has both of these things in a web interface, and neither were trivial. I crafted an expandable-tree menu (think Windows Explorer style menu) from

Re: Is mod_perl the right solution for my GUI dev?

2002-06-26 Thread Ron Savage
On Wed, 26 Jun 2002 09:37:58 -0400, Fran Fabrizio wrote: Fran Ron Savage wrote: On Tue, 25 Jun 2002 12:22:15 -0400, Fran Fabrizio wrote: Fran [snip] from first-hand experience, hell my current project has both of these things in a web interface, and neither were trivial. I crafted

Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Ganesan M
application.I have developed some report screens using Apache/Mod_perl/GD. They kind of liked it. Now they want to do a full fledged GUI. My suggestions are: 1. Get rid of screen driver codes from the existing C programs 2. Use Inline C in the mod_perl programs and run it through

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Per Einar Ellefsen
. Now management needs a GUI for the text application.I have developed some report screens using Apache/Mod_perl/GD. They kind of liked it. Now they want to do a full fledged GUI. My suggestions are: 1. Get rid of screen driver codes from the existing C programs 2. Use Inline C

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Ganesan M
At 16:09 25.06.2002, Ganesan M wrote: My suggestions are: 1. Get rid of screen driver codes from the existing C programs 2. Use Inline C in the mod_perl programs and run it through apache webserver as a web page. But, some of my colleagues are suggesting to write a Java/VC

FW: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Prakash Chatterjee
-Original Message- From: Prakash Chatterjee [mailto:[EMAIL PROTECTED]] Sent: 25 June 2002 16:00 To: Ganesan M Subject: RE: Is mod_perl the right solution for my GUI dev? Actually, no you can't. At least not without masses of Javascript and god knows what else. And of course you'll

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Fran Fabrizio
Please correct me if this is wrong. What is the big difference between web frontend and a normal GUI? Can't you do everything in the web frontnend that you do in normal GUI? No, not at all. The web is bound by HTTP and HTML. This comes with many ramifications. There are three main

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Ganesan M
from C programs and display it in a Graph and some fancy menus will be used to drive the C applicaiton. For graph I will be using GD and for menus CGI/Javascript/DHTML/CSS and of course, Apache is my web interface. How good is this solution? Ganesan. Please correct me if this is wrong. What

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Rob Nagler
Fran Fabrizio writes: - Real-time data updates. HTTP is stateless: it serves up the page then closes the connection. Any updating involves a round-trip back to the server. In traditional GUI, you just hold a db connection and repaint the areas that are updated. Solved with refresh?

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Ganesan M
;-). Ganesan. My suggestions are: 1. Get rid of screen driver codes from the existing C programs 2. Use Inline C in the mod_perl programs and run it through apache webserver as a web page. But, some of my colleagues are suggesting to write a Java/VC++ Interface for the GUI.

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Fran Fabrizio
likely need customization (in my case, I've customized AuthCookie, and tied it to Apache::Session. It wasn't the end of the world, but it wasn't trivia. A cookie by itself is of rather limited usefulness. Tedious is questionable. Impossible, I seriously doubt. Remember, you can always

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Ganesan M
Thank you all for all your input on this. Here are the reasons why I chose web interface using Apache/CGI/Mod_perl/GD for our front-end reports. * Quick solution. Our management needed the report screens in a very short period. * Our C application runs on two different OS and two different

Re: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Fran Fabrizio
Well it sounds like most of your design goals are pointing you towards the web interface. These same goals are what made me choose web even though I knew that I'd have to make some sacrifices on the interface. You'll be able to do it fine on the web, just be prepared to be flexible with

RE: Is mod_perl the right solution for my GUI dev?

2002-06-25 Thread Vuillemot, Ward W
of various menus and : widgets that can be : accomplished on the web to make an interface richer. While not germane to mod_perl, I did want to add my two cents to this. I did not follow the rest of the thread, so I am not sure in what context you want to deploy a web-site, but be careful

My autoresponder

2002-06-04 Thread Ryan Parr
All who have recently posted on this list: You have been receiving my auto-responder, which I set up to make sure any of my customer's knew why they weren't getting a response. In a very hurriedly and obviously clueless manner I forgot to exclude this list, or even temporarily un-subscribe. I'm

Re: Poll for my site

2002-03-21 Thread Mark Bergeron
], [EMAIL PROTECTED] Date: Tue Mar 19 09:11:38 PST 2002 Subject: Poll for my site Hi again from Istanbul:) , I wanna make poll for some datas that we obtain from the users. For this, i know howto insert the datas to my sql database, make an average or something specific but how can i show the results

Poll for my site

2002-03-19 Thread GsuLinuX
Hi again from Istanbul:) , I wanna make poll for some datas that we obtain from the users. For this, i know howto insert the datas to my sql database, make an average or something specific but how can i show the results as visualwhich has become very popular in web sites? thanx Derya

Re: Poll for my site

2002-03-19 Thread Fran Fabrizio
I wanna make poll for some datas that we obtain from the users. For this, i know howto insert the datas to my sql database, make an average or something specific but how can i show the results as visual which has become very popular in web sites? This is not really on-topic

Newbie help - My cookies won't bake?

2002-03-08 Thread Jeff Armstrong
in my httpd.conf: PerlWarn On PerlTaintCheck On PerlFreshRestart On PerlInitHandler Apache::Reload PerlSetVar ReloadAll On Files *.pl SetHandler perl-script PerlHandler Apache::Registry PerlSendHeader Off Options +ExecCGI /Files Help?? TIA Jeff # As you will note

Re: Newbie help - My cookies won't bake?

2002-03-08 Thread Geoffrey Young
Jeff Armstrong wrote: Revered Chefs, Please forgive a mere mod_perl kitchen-hand, undergoing early cookie training... I have the following cookie code, but no cookies come back when I refresh, and I don't see any $HTTP_COOKIE in %ENV. $cookies ends up as a hash ref pointing to an empty

Apologyze, Please delete my last message

2002-02-21 Thread Hans Poo
Please delete my last message I apologyze because i make a mistake in my last message. I was sending an internal mail and the To field was with mod_perl and i put the real destinations in the CC section. Sorry Again. Hans Poo

is there something wrong with my http header?

2002-01-28 Thread Alex Porras
Cache-control: no-cache Connection: close Content-Type: image/gif Expires: Mon, 28 Jan 2002 21:58:05 GMT R0lGODdhOAAWAPcAVQAAqgAA/wAkAAAkVQAkqgAk/wBJAABJVQBJqgBJ/wBtAABt VQBt ...(more data)... My script does the following: $r-no_cache( 1 ); $r-content_type('image/gif

Re: is there something wrong with my http header?

2002-01-28 Thread Robert Landrum
I'm trying to print a gif image to the browser, but it's appearing as text. Here's what the output looks like (used lynx --mime_header): HTTP/1.1 200 OK Date: Mon, 28 Jan 2002 21:58:05 GMT Server: Apache/1.3.20 (Unix) mod_perl/1.26 Set-Cookie: FOO=bar; domain=foo.bar; path=/ Pragma: no-cache

RE: is there something wrong with my http header?

2002-01-28 Thread Alex Porras
I'm a goof. That data is from an imap server--I forgot to decode it first. Thanks, --Alex -Original Message- From: Robert Landrum [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 4:16 PM To: [EMAIL PROTECTED] Subject: Re: is there something wrong with my http header

Re: my $var at file scope and __DATA__ sections under mod_perl

2002-01-14 Thread Perrin Harkins
mysteriously ran out of data halfway through reading from it. Does anybody have any idea what's going on here. No, but it doesn't obviously point to problems with closures and lexical scoping in my opinion. It looks more like you have a problem with that filehandle. - Perrin

my $var at file scope and __DATA__ sections under mod_perl

2002-01-13 Thread Rob Mueller (fastmail)
I've had a little bit of a look, but can't find anything in the mod_perl guide about this. Basically it seems to me that 'my' variables at the package level don't retain their value under mod_perl. For instance, consider the following mod_perl handler. package My::Module; my $var; sub

Re: Files problem, pulling my dam hair out

2001-11-30 Thread Hans Poo
El Jue 29 Nov 2001 19:37, Chuck Carson escribió: I have the following config: apache 1.3.22 with perl 1.26 built statically I want to use perl to dynamically generate html pages, so I have .pl files under DOCUMENT_ROOT. I have this config: Alias /perl /usr/local/apache/cgi-bin

Files problem, pulling my dam hair out

2001-11-29 Thread Chuck Carson
I have the following config: apache 1.3.22 with perl 1.26 built statically I want to use perl to dynamically generate html pages, so I have .pl files under DOCUMENT_ROOT. I have this config: Alias /perl /usr/local/apache/cgi-bin Directory /usr/local/apache/cgi-bin SetHandler

RE: Files problem, pulling my dam hair out

2001-11-29 Thread Chuck Carson
Where would this go? In the Directory section of the Files section? -Chuck -Original Message- From: Knox, Laurie A, NPONS [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 3:17 PM To: Chuck Carson; [EMAIL PROTECTED] Subject: RE: Files problem, pulling my dam hair out

RE: Files problem, pulling my dam hair out

2001-11-29 Thread Knox, Laurie A, NPONS
, November 29, 2001 6:23 PM To: Knox, Laurie A, NPONS; [EMAIL PROTECTED] Subject: RE: Files problem, pulling my dam hair out Where would this go? In the Directory section of the Files section? -Chuck -Original Message- From: Knox, Laurie A, NPONS [mailto:[EMAIL PROTECTED]] Sent: Thursday

RE: Files problem, pulling my dam hair out

2001-11-29 Thread Chuck Carson
This is not working for me. Any chance you can mail your config? Also, is your mod_perl a DSO or bult statically. I have done this on at least 100 other servers in my time. What am I missing this time? Thanks, Chuck -Original Message- From: tom poe [mailto:[EMAIL PROTECTED]] Sent

RE: Files problem, pulling my dam hair out

2001-11-29 Thread Kyle Oppenheim
to by TypesConfig) - Set it dynamically from your scripts using $r-content_type('text/html') - Kyle -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chuck Carson Sent: Thursday, November 29, 2001 2:38 PM To: [EMAIL PROTECTED] Subject: Files problem, pulling my dam

Re: Files problem, pulling my dam hair out

2001-11-29 Thread Stas Bekman
Chuck Carson wrote: I have the following config: apache 1.3.22 with perl 1.26 built statically I want to use perl to dynamically generate html pages, so I have .pl files under DOCUMENT_ROOT. I have this config: Alias /perl /usr/local/apache/cgi-bin Directory

[JOB-SF Bay Area] Looking for someone to join my Web apps team at EFI/PrintMe

2001-11-27 Thread John Armstrong
Hello all- I got my head count for the next few months and was given another spot to fill on the team! Hooray! We are building a next generation internet printing system here at Electronics For Imaging (EFII). The Web apps portion is heavily Apache/ModPerl/HTML::Mason/Oracle

Re: [JOB-SF Bay Area] Looking for someone to join my Web apps team at EFI/PrintMe

2001-11-27 Thread Aleksandr Vladimirskiy
Alto, CA and I'm in the process of looking for a part time job. Do you think that there might be part-time opporotunity as part of the department you've described? Thanks, Alex On Tue, 27 Nov 2001, John Armstrong wrote: Hello all- I got my head count for the next few months and was given

RE: mod perl fails test on my Solaris 2.8 .. ?

2001-11-26 Thread Greg_Cope
. genwax.com or using: export PERL_HTTP_URI_CLASS=URI::URL Thanks for the pointer Ged - I shall brush up on my archive searching skills. Appologies for wasted bandwidth / time. Greg 73, Ged. PFIZER GLOBAL RESEARCH AND DEVELOPMENT

mod perl fails test on my Solaris 2.8 .. ?

2001-11-23 Thread Greg_Cope
Dear All, I've been tasked with setting up a mod_perl apache. I've complied my own perl etc ... in my own home dir, as I need to test our code against it, before passing it off to the addmins for pkg'ing and rolling out to other servers. perl + modules pass all tests. mod_perl appears

Re: Here is my backtrace, please solove my problem

2001-11-10 Thread Barrie Slaymaker
On Sat, Nov 10, 2001 at 12:10:03PM -0800, SubbaReddy M wrote: /soft/Apache-ASP-2.27/make_httpd/mod_perl-1.26/core: No such file or directory. You need a core file to do this... gdb is kindly pointing out that you don't have one. and i am really thankfull for your help. I'm just

Here is my backtrace, please solove my problem

2001-11-09 Thread SubbaReddy M
Hello, [root@qclinux mod_perl-1.26]# gdb httpd 14947 GNU gdb 19991004 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see

Re: Here is my backtrace, please solove my problem

2001-11-09 Thread SubbaReddy M
PROTECTED] To: SubbaReddy M [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, November 09, 2001 10:09 PM Subject: Re: Here is my backtrace, please solove my problem [Note the Reply-To] You're getting closer. Unfortunately, the backtrace you sent says that gdb attached to a running httpd

Re: ApacheBench says my site is unstable?

2001-10-29 Thread Joshua Chamas
Philip Mak wrote: Time taken for tests: 21.109 seconds Complete requests: 1000 Failed requests:22 (Connect: 0, Length: 22, Exceptions: 0) Total transferred: 196578 bytes HTML transferred: 12714 bytes Requests per second:47.37 Transfer rate: 9.31

Re: ApacheBench says my site is unstable?

2001-10-29 Thread Philip Mak
On Mon, 29 Oct 2001, Joshua Chamas wrote: Complete requests: 1000 Failed requests:22 (Connect: 0, Length: 22, Exceptions: 0) If ApacheBench complains about length problems, it means that the length of subsequent requests differs from the output length of the first

Re: [OT] ApacheBench says my site is unstable?

2001-10-28 Thread Andrew Ho
Hello, PMI'm using ApacheBench to perform stress testing on my mod_perl server. PMIt's not always working, though. Observe the following two runs: (first PMis Broken pipe; second has some failed requests) Try writing a Perl (or other language) client that hits the URL you test over and over

ApacheBench says my site is unstable?

2001-10-27 Thread Philip Mak
I'm using ApacheBench to perform stress testing on my mod_perl server. It's not always working, though. Observe the following two runs: (first is Broken pipe; second has some failed requests) [pmak@sg1 bin]$ ./ab -n 1000 -c 10 http://65.119.108.120:8080/ This is ApacheBench, Version 1.3c

Re: best way to handle my-website-configuration.xml?

2001-09-25 Thread Edward
On Tue, Sep 25, 2001 at 02:59:07PM +0200, Robin Berjon wrote: With AxKit you can seamlessly serve XML transformed by a variety of things, including XSLT. It is fast (esp 1.5 beta) and it has its own internal caching engine that makes it even faster. Also, it can cooperate with a number of

Re: best way to handle my-website-configuration.xml?

2001-09-25 Thread Robin Berjon
On Tuesday 25 September 2001 18:12, Edward wrote: On Tue, Sep 25, 2001 at 02:59:07PM +0200, Robin Berjon wrote: With AxKit you can seamlessly serve XML transformed by a variety of things, including XSLT. It is fast (esp 1.5 beta) and it has its own internal caching engine that makes it

is anyone getting my messages

2001-08-28 Thread Medi Montaseri
Just wonderingI have posted a couple of questionswith no avail Am I posting? -- === Medi Montaseri, [EMAIL PROTECTED], 408-450-7114 Prepass Inc, IT/Operations, Software Eng.

my()

2001-08-14 Thread swade
Hi, I'm completly confused by this my(X) not being available outside of a subroutine, I've read everything but must not still get itis this an approriate solution? it makes @countries available... my @countries; - solution? my $sql = select distinct country from geo; my $sth = $match::dbh

RE: my()

2001-08-14 Thread Joe Breeden
That is the way to do it. It can get a little confusing at first, but once you get used to doing things that way it will become 2nd nature. --Joe Breeden -- Sent from my Outlook 2000 Wired Deskheld (www.microsoft.com) -Original Message- From: swade [mailto

Re: my()

2001-08-14 Thread swade
Much thanks! What do the knowledgable programmers do? Do they my() thier variables, etc at the beginning of thier subroutines? Or do they do it as they come to it? or is it really just personal prefence? shawn That is the way to do it. It can get a little confusing at first, but once you get

Re: my() [very off topic]

2001-08-14 Thread Dave Baker
On Tue, 14 Aug 2001, swade wrote: Much thanks! What do the knowledgable programmers do? Do they my() thier variables, etc at the beginning of thier subroutines? Or do they do it as they come to it? or is it really just personal prefence? This is rather off topic for mod_perl and should

Re: my()

2001-08-14 Thread ryc
Using 'my $variable_name' is kinda like a declaration of the variable that tells perl the scope of the variable. So if you do my $var1 at the root level of a file, the variable will be accessible throughout the entire file.. or like in the problem you ran into, if you declare my $var2 inside

  1   2   >