cgi and mod_perl config question

2001-07-09 Thread Wayne Earl
A client's webserver appears to have both mod_perl and cgi configured for a single machine. The httpd.conf file contains the following: Files *.cgi SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI /Files A little later in the file, this is found: AddHandler cgi-script .cgi

Re: cgi and mod_perl config question

2001-07-09 Thread Stas Bekman
On Mon, 9 Jul 2001, Wayne Earl wrote: A client's webserver appears to have both mod_perl and cgi configured for a single machine. The httpd.conf file contains the following: Files *.cgi SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI /Files A little later in the

Re: RFC: Logging used Perl Modules (was Re: API Design Question)

2001-07-09 Thread Doug MacEachern
On Tue, 3 Jul 2001, James G Smith wrote: The current code I have uses %INC, but I wanted to write something like the following: sub use : immediate { # do stuff here if logging return CORE::use(@_); } you could just override CORE::GLOBAL::require. you don't need to override the

AuthCookie question

2001-07-06 Thread Chad Phillips
Hi, I have set up Authcookie. I modified the sample scripts for my sight. Everything works except when the wrong password is entered. When an invalid user/password is entered, instead of re-displaying the login page, I get a 302 Found error to url http://myhost/LOGIN Any ideas on what I may

Re: AuthCookie question

2001-07-06 Thread darren chamberlain
Chad Phillips [EMAIL PROTECTED] said something to this effect on 07/06/2001: Hi, I have set up Authcookie. I modified the sample scripts for my sight. Everything works except when the wrong password is entered. When an invalid user/password is entered, instead of re-displaying the login

Apache V2 and Mod_Perl Question

2001-07-05 Thread Purcell, Scott
Hello, NT question. I believe that Apache 2 is out for NT, and was wondering if apache 2 works with mod_perl? I am running Apache 1.3.20 and mod_perl 1.25_01-dev. Can or should we start converting to Apache 2? Just curous about some time frames for this. Thanks Scott Purcell

Re: Apache V2 and Mod_Perl Question

2001-07-05 Thread Gunther Birznieks
At 04:46 PM 7/5/2001 -0500, Purcell, Scott wrote: Hello, NT question. I believe that Apache 2 is out for NT, and was wondering if apache 2 works with mod_perl? I am running Apache 1.3.20 and mod_perl 1.25_01-dev. Can or should we start converting to Apache 2? Just curous about some time frames

Re: handler question

2001-07-04 Thread Viljo Marrandi
It depends on what you are trying to accomplish, of course, but for most purposes, yeah, splitting r-uri on '/' will give a useful list of directories. If you are using these as actual filenames, and ignoring r-filaname, however, beware of requests like:

RFC: CGI::URI2param (was: handler question)

2001-07-04 Thread Thomas Klausner
Hi! darren chamberlain [EMAIL PROTECTED]: How is it different from mod_rewrite using the QSA flag to add values to r-args? (This is a question, not a criticism!) True, you could use mod_rewrite to get the same result, but there are situations where you can't use it, e.g. you're not working

handler question

2001-07-03 Thread Viljo Marrandi
Hello, Is it possible, if yes then how, to set handler recursively for one directory? Now my handler is defined: Directory /my_server SetHandler perl-script PerlHandler MyServ::MyHandler /Directory But if i try to access /my_server/some/other/dir then apache gives error because this

Re: RFC: Logging used Perl Modules (was Re: API Design Question)

2001-07-03 Thread darren chamberlain
James G Smith [EMAIL PROTECTED] said something to this effect on 07/02/2001: How would something like this do: NAME Apache::Use SYNOPSIS use Apache::Use (Logger = DB, File = /www/apache/logs/modules); DESCRIPTION Apache::Use will record the modules used over the course of the

Re: handler question

2001-07-03 Thread darren chamberlain
Viljo Marrandi [EMAIL PROTECTED] said something to this effect on 07/03/2001: Hello, Is it possible, if yes then how, to set handler recursively for one directory? Now my handler is defined: Directory /my_server SetHandler perl-script PerlHandler MyServ::MyHandler /Directory

Re: handler question

2001-07-03 Thread Viljo Marrandi
Use a Location rather than Directory directive. Use the absolute URI relative to the server as the second part (e.g., http://www.foo.bar/baz would look like Location /baz). Hey, that's what i needed. Thanks :) If sounds like you want to use r-path_info in your application, so you *can't*

Re: RFC: Logging used Perl Modules (was Re: API Design Question)

2001-07-03 Thread James G Smith
darren chamberlain [EMAIL PROTECTED] wrote: James G Smith [EMAIL PROTECTED] said something to this effect on 07/02/2001: How would something like this do: NAME Apache::Use SYNOPSIS use Apache::Use (Logger = DB, File = /www/apache/logs/modules); DESCRIPTION Apache::Use will

Re: handler question

2001-07-03 Thread darren chamberlain
Viljo Marrandi [EMAIL PROTECTED] said something to this effect on 07/03/2001: If sounds like you want to use r-path_info in your application, so you *can't* create these directories, or they will become part of r-filename, not r-path_info. Actually i thought about r-uri. It returns

Re: RFC: Logging used Perl Modules (was Re: API Design Question)

2001-07-03 Thread darren chamberlain
James G Smith [EMAIL PROTECTED] said something to this effect on 07/03/2001: darren chamberlain [EMAIL PROTECTED] wrote: James G Smith [EMAIL PROTECTED] said something to this effect on 07/02/2001: Apache::Use You can get this information from %INC, can't you? e.g.: Most definitely.

Re: RFC: Logging used Perl Modules (was Re: API Design Question)

2001-07-03 Thread Robin Berjon
On Tuesday 03 July 2001 16:46, darren chamberlain wrote: James G Smith [EMAIL PROTECTED] said something to this effect: The current code I have uses %INC, but I wanted to write something like the following: sub use : immediate { # do stuff here if logging return CORE::use(@_);

Re: handler question

2001-07-03 Thread Thomas Klausner
Hi! On 3 Jul 2001, at 15:21, Viljo Marrandi wrote: Actually i thought about r-uri. It returns everything after servername and if i split it using '/' as separator i think i'm almost there ;o). I have a nearly finished module which applies some regular expression (specified in some config

Re: handler question

2001-07-03 Thread Robin Berjon
On Tuesday 03 July 2001 21:18, Thomas Klausner wrote: I have a nearly finished module which applies some regular expression (specified in some config file) to the URI and puts the stuff it found into $r-param (that means you have to use CGI or Apache::Request to use it). snip BTW, if

Re: handler question

2001-07-03 Thread kyle dawkins
All This is an interesting idea, so I thought I'd add my two cents and say that you can already do exactly this with mod_rewrite. I guess it's useful to have a perl module that does it as well, but sometimes re-inventing the wheel is not worth the trouble. I can see the utility for people

RE: handler question

2001-07-03 Thread Geoffrey Young
-Original Message- From: Robin Berjon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 03, 2001 3:42 PM To: [EMAIL PROTECTED] Subject: Re: handler question On Tuesday 03 July 2001 21:18, Thomas Klausner wrote: I have a nearly finished module which applies some regular

Re: handler question

2001-07-03 Thread darren chamberlain
using the QSA flag to add values to r-args? (This is a question, not a criticism!) (darren) -- Don't sweat the petty things, and don't pet the sweaty things.

Re: handler question

2001-07-03 Thread Robin Berjon
? (This is a question, not a criticism!) Full blown Perl regexen ? Possibility to also replace the regex with a coderef and get real fancy ? Just off the top of my head. I'm not lobbying for this module to exist, I don't need it personally. But I like small and useful wheels. Plus, I'd prefer

RFC: Logging used Perl Modules (was Re: API Design Question)

2001-07-02 Thread James G Smith
How would something like this do: NAME Apache::Use SYNOPSIS use Apache::Use (Logger = DB, File = /www/apache/logs/modules); DESCRIPTION Apache::Use will record the modules used over the course of the Perl interpreter's lifetime. If the logging module is able, the old logs are read and

Re: API Design Question

2001-07-01 Thread Stas Bekman
On Sat, 30 Jun 2001, Steven Lembark wrote: Note that if they do get called this will end up using more memory than if you had just loaded them during startup, since they won't be shared between child processes. Original assumption is that they are called infrequently. You'll also find

Re: API Design Question

2001-06-30 Thread Martin Redington
On Friday, June 29, 2001, at 07:25 , Shawn Devlin wrote: What advantages do I gain by grouping the functions based on functionality? As per my response to Mr. Worrall, one of my concerns with placing each function call into its own module is the amount of memory used by the various .pm

Re: API Design Question

2001-06-30 Thread Steven Lembark
memory used by the various .pm files that will be loaded numerous times. I can see that grouping functions based on functionality would reduce the number of .pm files in memory. However, if I go that route, use only loads the .pm once. Multiple uses don't eat up any more resource than

Re: API Design Question

2001-06-30 Thread Perrin Harkins
The minimal-module approach can be managed nicely via Autosplit, which puts eash sub in its own module with a stub AUTOLOAD that snags things into core only when they are called Note that if they do get called this will end up using more memory than if you had just loaded them during startup,

Re: API Design Question

2001-06-30 Thread Steven Lembark
Note that if they do get called this will end up using more memory than if you had just loaded them during startup, since they won't be shared between child processes. Original assumption is that they are called infrequently. You'll also find that the amount of memory sucked up by a

Re: API Design Question

2001-06-29 Thread Shawn Devlin
Adam Worrall wrote: SD == Shawn Devlin [EMAIL PROTECTED] writes: SD My first thought is to break the API up so that there is a SD module per API call (there are some 70 calls in the API). My SD reasoning is that I can modify existing calls and add new ones SD without affecting

Re: API Design Question

2001-06-29 Thread Shawn Devlin
James G Smith wrote: [snip] My first thought is to break the API up so that there is a module per API call (there are some 70 calls in the API). My reasoning is that I can modify existing calls and add new ones without affecting everything else. Does this make sense or is it better to have

RE: API Design Question

2001-06-29 Thread Joe Breeden
Joe Breeden -Original Message- From: Shawn Devlin [mailto:[EMAIL PROTECTED]] Sent: Friday, June 29, 2001 1:18 PM To: [EMAIL PROTECTED] Subject: Re: API Design Question Adam Worrall wrote: SD == Shawn Devlin [EMAIL PROTECTED] writes: SD My first thought is to break

Re: API Design Question

2001-06-29 Thread Per Einar
- Original Message - From: Shawn Devlin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 29, 2001 8:18 PM Subject: Re: API Design Question What I like about this is I can add a new function without needing to disturb the existing code. Also, each function call

API Design Question

2001-06-28 Thread Shawn Devlin
70 calls in the API). My reasoning is that I can modify existing calls and add new ones without affecting everything else. Does this make sense or is it better to have the API as one large program as I have it now? My second question pertains to Apache::DBI. I will ask it here

question on installing mod_perl to activePerl on win98

2001-06-25 Thread ychen56
Hi: From your website http://perl.apache.org/distributions.html, I got message( see following) Win32 ActivePerl mod_perl ppms - suitable for builds 6xx. You can install this by, within the ppm shell, setting the repository to http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer and

Re: question on installing mod_perl to activePerl on win98

2001-06-25 Thread Randy Kobes
On Mon, 25 Jun 2001, ychen56 wrote: Hi: From your website http://perl.apache.org/distributions.html, I got message( see following) Win32 ActivePerl mod_perl ppms - suitable for builds 6xx. You can install this by, within the ppm shell, setting the repository to

Re: question on installing mod_perl to activePerl on win98

2001-06-25 Thread ychen56
Thanks, I have installed mod_perl successfully by setting the repository to http://theoryx5.uwinnipeg.ca/ppmpackages/. I have one more question. The version of mod_perl is 1.25 which is written for apache 1.3.20, my apache version is 1.3.14, I think I need copy the file mod_perl.so

Re: question on installing mod_perl to activePerl on win98

2001-06-25 Thread Randy Kobes
On Mon, 25 Jun 2001, ychen56 wrote: Thanks, I have installed mod_perl successfully by setting the repository to http://theoryx5.uwinnipeg.ca/ppmpackages/. I have one more question. The version of mod_perl is 1.25 which is written for apache 1.3.20, my apache version is 1.3.14, I think I

simple question

2001-06-22 Thread Michael
when using mod perl to return plain text to the client how does one send without any headers in the response stream?? $r-send_fd(F) works fine for files, but how do you do it for dynamically generated content. Michael [EMAIL PROTECTED]

Re: simple question

2001-06-22 Thread victor
This might help, in you httpd.conf file set this PerlSendHeader Off Tor. Michael wrote: when using mod perl to return plain text to the client how does one send without any headers in the response stream?? $r-send_fd(F) works fine for files, but how do you do it for dynamically

Re: simple question

2001-06-22 Thread Michael
This might help, in you httpd.conf file set this PerlSendHeader Off Tor. That messes up all the standard responses. I have a work around now -- naturally it came to me moments after I posted don't know if this is correct so to speak, but it works fine. open(F,$file) || return 404;

Re: simple question

2001-06-22 Thread Robert Landrum
This might help, in you httpd.conf file set this PerlSendHeader Off Tor. That messes up all the standard responses. I have a work around now -- naturally it came to me moments after I posted don't know if this is correct so to speak, but it works fine. open(F,$file) || return 404;

Re: simple question

2001-06-22 Thread Michael
This might help, in you httpd.conf file set this PerlSendHeader Off Tor. That messes up all the standard responses. I have a work around now -- naturally it came to me moments after I posted don't know if this is correct so to speak, but it works fine. open(F,$file) ||

Re: simple question

2001-06-22 Thread Michael
This might help, in you httpd.conf file set this PerlSendHeader Off Tor. That messes up all the standard responses. I have a work around now -- naturally it came to me moments after I posted don't know if this is correct so to speak, but it works fine.

Web Site Question

2001-06-19 Thread Purcell, Scott
Hello, First: I am running apache/mod-perl on a NT box as a web server. Sorry it is not unix, it is the only tool I can have. Kind of a forward question, but I am curious about something. My large web site talks to a back-end product that uses an API and I use the IO::Socket to talk

really dumb question maybe off topic

2001-06-15 Thread Michael
Have a script that was working on BSDI BSD/OS 3.0 recently upgraded sendmail Version 8.11.4 Compiled with: MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETISO NETUNIX NEWDB QUEUE SCANF SMTP USERDB XDEBUG permissions -r-sr-xr-x 1 root bin

The forbidden question...

2001-06-05 Thread Andrew Lietzow
the forbidden question--how does one unsubscribe? Preferably, a URL so I can avoid being castigated... :-) Andrew Lietzow #1 Plantsman at http://HostaHaven.com 1250 41st Street Des Moines, IA 50311-2516 The ACL Group, Inc. mailto:[EMAIL PROTECTED]

Re: Authorization question and subdirectories

2001-05-16 Thread Chris Strom
Mike Cameron [EMAIL PROTECTED] writes: Is it possible to have the same PerlAuthzHandler use different require's on a subdirectory once a user has been authorized for a parent directory? Here is what i would like to be acle to do: Location / SetHandler perl-script AuthType MyAuth

Re: Authorization question and subdirectories

2001-05-16 Thread sterling
On 16 May 2001, Chris Strom wrote: Mike Cameron [EMAIL PROTECTED] writes: Is it possible to have the same PerlAuthzHandler use different require's on a subdirectory once a user has been authorized for a parent directory? Here is what i would like to be acle to do: Location /

Re: Authorization question and subdirectories

2001-05-16 Thread Mike Cameron
I got it working alright with the Directory directive as follows Directory /home/user/html/ SetHandler perl-script AuthType Consignline AuthName NONE PerlAuthenHandler Consignline::Shop::User PerlAuthzHandler Consignline::Shop::User-authorize require valid-user

Re: Authorization question and subdirectories

2001-05-16 Thread Chris Strom
sterling [EMAIL PROTECTED] writes: On 16 May 2001, Chris Strom wrote: Mike Cameron [EMAIL PROTECTED] writes: Is it possible to have the same PerlAuthzHandler use different require's on a subdirectory once a user has been authorized for a parent directory? Here is what i

Authorization question and subdirectories

2001-05-15 Thread Mike Cameron
Is it possible to have the same PerlAuthzHandler use different require's on a subdirectory once a user has been authorized for a parent directory? Here is what i would like to be acle to do: Location / SetHandler perl-script AuthType MyAuth AuthName MyAuth PerlAuthenHandler MyAuth-authenticate

Segfault question and possible workaround

2001-05-08 Thread karnurme
Hello! Some help and ideas are once again needed... I'm quite a newbie with mod_perl, so there may be a totally reasonable explanation to segfaults that follow from a few reloads. It seems to me that subrequest and/or stat do not work together as I thought. ## [Tue May 8

[OT] mod_perl 2 question...

2001-04-26 Thread Issac Goldstand
I was just looking at Doug's overview of mod_perl 2, and was specifically intrigued by the PerlInterpLifetime directive, which got me sorta excited. It would appear to me, based on that, that by setting PerlInterpretLifetime connection, you could have a good chance at getting good

Re: [OT] mod_perl 2 question...

2001-04-26 Thread barries
Not OT at all... On Thu, Apr 26, 2001 at 06:24:41PM +0200, Issac Goldstand wrote: Can any of the mod_perl 2 people provide some feedbak on this, as I'm sure you guys have looked at this much deeper than I have. Well, I'm not a mod_perl 2 person, but I can say that PerlInterpScope (it's been

Global Variables Question

2001-04-25 Thread Warren D. Johnson
Hello All, I apologize if this is in a FAQ somewhere. I have a script, lets call it test.pl. Test.pl requires in config.pl. Test.pl uses variables (via use vars) from config.pl. These variables are defined and given values in config.pl. AFter the first usage of test.pl, the variables we are

Re: Global Variables Question

2001-04-25 Thread Mike Cameron
http://perl.apache.org/guide/porting.html#Configuration_Files_Writing_Dy Guide Good! Warren D. Johnson wrote: Hello All, I apologize if this is in a FAQ somewhere. I have a script, lets call it test.pl. Test.pl requires in config.pl. Test.pl uses variables (via use vars) from

simple question on installing and configuring

2001-04-18 Thread Emma Wermström (EMW)
Hi! I want to add mod_perl to my apache server. However, I already have my server up and running and when I do: perl Makefile.PL I get a request for my apache source directory. I don't know where it is located so I just put: /usr/local/etc/apache. Now the procedure continues but I get an

Re: simple question on installing and configuring

2001-04-18 Thread Stas Bekman
On Wed, 18 Apr 2001, [iso-8859-1] Emma Wermström (EMW) wrote: Lots of questions! I'd be grateful for at least one answer. Thanks, Lots of answers: http://perl.apache.org/guide/ _ Stas Bekman JAm_pH -- Just

Re: modperl security model question

2001-04-17 Thread Issac Goldstand
darren chamberlain wrote: Be sure to check that $line is defined: Even better: perl use IO::File; my $input = IO::File-new("/tmp/tmppswd") || die "Couldn't open /tmp/foo.pl"; my $line = $input-getline() || 'some safe default value, like ""'; die "\$line is

Re: modperl security model question

2001-04-17 Thread G.W. Haywood
Hi all, On Mon, 16 Apr 2001, darren chamberlain wrote: Thomas K. Burkholder ([EMAIL PROTECTED]) said [snip] my $input = IO::File-new("/tmp/tmppswd") || die "Couldn't open /tmp/foo.pl"; Probably doesn't matter in this case, but I'd try to get used to using the "or" operator instead of the

Re: modperl security model question

2001-04-16 Thread Issac Goldstand
PGP Key 0xE0FA561B - Fingerprint: 7E18 C018 D623 A57B 7F37 D902 8C84 7675 E0FA 561B - Original Message - From: "sterling" [EMAIL PROTECTED] To: "Thomas K. Burkholder" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, April 15, 2001 6:06 PM Subject: Re: modperl sec

Re: modperl security model question

2001-04-16 Thread Thomas K. Burkholder
ED] Cc: [EMAIL PROTECTED] Sent: Sunday, April 15, 2001 6:06 PM Subject: Re: modperl security model question On Sun, 15 Apr 2001, Thomas K. Burkholder wrote: Thanks again for the help - I have another one- My application consists of perl modules with file permissions set only to a p

Re: modperl question

2001-04-16 Thread Daniel
John V. Jaskolski wrote: I want to write a Web Hosting Control Panel for virtually hosting web sites (100 to 1000 per server). I am debating whether to write it in Perl, mod_perl or C. I want to write it in mod_perl because it would be faster than Perl and easier to write than C.

Re: modperl security model question

2001-04-16 Thread darren chamberlain
Be sure to check that $line is defined: Thomas K. Burkholder ([EMAIL PROTECTED]) said something to this effect on 04/16/2001: Note, /tmp/tmppswd is read-only by the installer of the product, but I should be root in access.conf (right?) so I should be able to read it anyway. perl use

Mea Culpa [Was: Re: modperl security model question]

2001-04-16 Thread Thomas K. Burkholder
It's defined all right, it gets printed to STDERR. The problem was that the file I was actually using was a perl file '/tmp/foo.pl', just because it didn't matter what was in the file while I tried to make it work. But, wait, it does matter, because the first thing in the file was "use

modperl security model question

2001-04-15 Thread Thomas K. Burkholder
Thanks again for the help - I have another one- My application consists of perl modules with file permissions set only to a particular user 'burkhold'. The database password is kept in plaintext in one of those modules. I use the User: and Group: directives in access.conf to cause the uid of

Re: modperl security model question

2001-04-15 Thread sterling
On Sun, 15 Apr 2001, Thomas K. Burkholder wrote: Thanks again for the help - I have another one- My application consists of perl modules with file permissions set only to a particular user 'burkhold'. The database password is kept in plaintext in one of those modules. I use the User: and

modperl question

2001-04-13 Thread John V. Jaskolski
I want to write a Web Hosting Control Panel for virtually hosting web sites (100 to 1000 per server). I am debating whether to write it in Perl, mod_perl or C. I want to write it in mod_perl because it would be faster than Perl and easier to write than C. However, In his article on modperl and

Re: Question and problem with graphics and Apache:ASP running.

2001-04-06 Thread Joshua Chamas
Steve Hurley wrote: When I turn on Apache:ASP and try to load a few html files it messes up the graphics at the top. Now if I turn off the ASP, graphics load fine... Page with banner graphics split up: http://www.clark.cc.oh.us/asp/student.html page with one banner graphic...:

Session question

2001-04-01 Thread Nikolaus Rath
Hello! I am developing an module wich will provide a valid Session-ID for each configured location/directory. But there is a problem. If there is a sub request without valid Session-ID (because the initial request didn't need one), but the requested Location requires one, what should the

Storable (lock_store lock_retrieve) question

2001-04-01 Thread Mike Cameron
I am currently using Storables lock_store and lock_retrieve to maintain a persistent data structure. I use a session_id as a key and each data structure has a last modified time that I use to expire it. I was under the impression that these two functions would be safe for concurrent access, but

Storable question (More info)

2001-04-01 Thread Mike Cameron
Sorry, I am running mod_perl 1.24_01, Apache 1.3.19, on Redhat 7.0 Storable 1.011

Re: Storable (lock_store lock_retrieve) question

2001-04-01 Thread Perrin Harkins
I am currently using Storables lock_store and lock_retrieve to maintain a persistent data structure. I use a session_id as a key and each data structure has a last modified time that I use to expire it. I was under the impression that these two functions would be safe for concurrent

Re: Storable (lock_store lock_retrieve) question

2001-04-01 Thread Mike Cameron
Perrin Harkins wrote: I am currently using Storables lock_store and lock_retrieve to maintain a persistent data structure. I use a session_id as a key and each data structure has a last modified time that I use to expire it. I was under the impression that these two functions would

Re: [NQ] Newbie Question about mod_perl

2001-03-20 Thread Pierre Phaneuf
"Differentiated Software Solutions Pvt. Ltd.," wrote: I have written two mod_perl programs whose output is same (through browser). I want to know what are the difference between them! If there is any difference then what are the pros and cons in using both of them? The second program is

[OT?] %ENV question, mod_rewrite vs. mod_perl?

2001-03-19 Thread Paul Evad
I'm new to mod_perl, so please bear with me a bit. I'm digging through as much information as I can find and have a few questions. I've used mod_rewrite for a lot of URI re-mapping solutions, but this particular job I'm doing is a bit of a challenge. I have an existing perl script (non

Re: [OT?] %ENV question, mod_rewrite vs. mod_perl?

2001-03-19 Thread Sean Chittenden
] X-Sender: [EMAIL PROTECTED] Date: Mon, 19 Mar 2001 19:42:14 -0800 To: [EMAIL PROTECTED] From: Paul Evad [EMAIL PROTECTED] Subject: [OT?] %ENV question, mod_rewrite vs. mod_perl? X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I'm new to mod_perl, so please bear with me a bit. I'm digging

[NQ] Newbie Question about mod_perl

2001-03-19 Thread Differentiated Software Solutions Pvt. Ltd.,
";} Thanks, Muthu S Ganesh P.S. [NQ] - Newbie Question Differentiated Software Solutions Pvt. Ltd.,90, 3rd Cross,2nd Main, Ganga Nagar,Bangalore - 560 032Phone : 91 80 3631445Visit us at www.diffsoft.com

Another (quick) question

2001-03-16 Thread Gareth Westwood
Dear All, could someone tell me what permissions are required on .asp files at the moment I have them set to 664 but I did wonder if they get read, or executed. TIA -- Gareth Westwood, _ All those who believe in telekinesis, raise my hand. I almost had a psychic girlfriend but

RE: Easy Newbie mod_perl installation question

2001-03-09 Thread Peter Brown
John Walker writes: layouts seem to be defined in: ../apache_1.3.x/config.layout you can also make your own config layout file and point the configure script at it this is something i discovered v. useful :) for example this in the layout file Layout FunkyLayout prefix:

RE: Easy Newbie mod_perl installation question

2001-03-08 Thread John Walker
layouts seem to be defined in: ../apache_1.3.x/config.layout John -Original Message- From: Andy Emmerich [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 2:48 AM To: [EMAIL PROTECTED] Subject: Easy Newbie mod_perl installation question When mod_perl's Makefile builds

Easy Newbie mod_perl installation question

2001-03-07 Thread Andy Emmerich
When mod_perl's Makefile builds the new httpd in the /src directory, where does it get the apache layout from? Currently, my build with modperl is looking for httpd.conf in /usr/local/apache, which is not my apache source directory. I've put the actual directory in every place I can, from

RE: push_handlers question

2001-03-05 Thread Geoffrey Young
-Original Message- From: Mike Cameron [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 04, 2001 11:59 PM Cc: modperl Subject: push_handlers question I am trying to sub class Apache::AuthCookieURL and would like to use $r-push_handlers(PerlAuthenHandler = My::Class-authenticate

Re: push_handlers question

2001-03-05 Thread Mike Cameron
. Mike Geoffrey Young wrote: -Original Message- From: Mike Cameron [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 04, 2001 11:59 PM Cc: modperl Subject: push_handlers question I am trying to sub class Apache::AuthCookieURL and would like to use $r-push_handlers

RE: push_handlers question

2001-03-05 Thread Geoffrey Young
-Original Message- From: Mike Cameron [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 10:18 AM Cc: '[EMAIL PROTECTED]' Subject: Re: push_handlers question Thanks for the suggestion, but what i really want to know is why is the request object passed if I call

RE: push_handlers question

2001-03-05 Thread Geoffrey Young
-Original Message- From: Geoffrey Young [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 9:58 AM To: 'Mike Cameron' Cc: '[EMAIL PROTECTED]' Subject: RE: push_handlers question -Original Message- From: Mike Cameron [mailto:[EMAIL PROTECTED]] Sent

RE: push_handlers question

2001-03-05 Thread Robert Landrum
At 10:36 AM -0500 3/5/01, Geoffrey Young wrote: Thanks for the suggestion, but what i really want to know is why is the request object passed if I call the module directly from http.conf and not when I use the push handlers method? Are the two methods not functionally equivalent?

RE: push_handlers question

2001-03-05 Thread Geoffrey Young
-Original Message- From: Robert Landrum [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 11:19 AM To: Geoffrey Young; 'Mike Cameron' Cc: [EMAIL PROTECTED] Subject: RE: push_handlers question At 10:36 AM -0500 3/5/01, Geoffrey Young wrote: Thanks for the suggestion

Re: push_handlers question

2001-03-05 Thread Mike Cameron
Thanks all. My real question was not so much HOW to fix but more WHY do i need to fix. I did not realize that using push_handlers would not send the Apache request to the method handler. Geoffrey Young wrote: -Original Message- From: Robert Landrum [mailto:[EMAIL PROTECTED

push_handlers question

2001-03-04 Thread Mike Cameron
I am trying to sub class Apache::AuthCookieURL and would like to use $r-push_handlers(PerlAuthenHandler = My::Class-authenticate); the push_handler is set in a handler called from httpd.conf on the PerlInitHandler phase but the authenticate routine does not seem to be getting the apache request

Re: apache question...

2001-03-01 Thread Robert Landrum
RedirectMatch ^/index.html http://new.server.com/index.html Rob At 8:33 PM -0700 2/28/01, Joseph Crotty wrote: I am set up on apache_1.3.14/mod_perl currently, however, have an older non-mod_perl apache_1.3.6. The old apache's index.html needs to redirect to the index.html on the new

apache question...

2001-02-28 Thread Joseph Crotty
I am set up on apache_1.3.14/mod_perl currently, however, have an older non-mod_perl apache_1.3.6. The old apache's index.html needs to redirect to the index.html on the new apache/mod_perl. The old and new apache servers are on different unix boxes. Anyone think of an elegant block directive

Re: apache question...

2001-02-28 Thread ___cliff rayman___
i would use mod_rewrite, but, since this is a mod_perl forum, i have to suggest that u write a mod_perl transhandler that does a redirect. -- ___cliff [EMAIL PROTECTED]http://www.genwax.com/ Joseph Crotty wrote: I am set up on apache_1.3.14/mod_perl currently, however, have an older

Re: Stop button (was: Re: General Question)

2001-02-27 Thread Steve Hay
Bill Moseley wrote: At 02:02 PM 02/26/01 +, Steve Hay wrote: I have a script which I wish to run under either mod_perl or CGI which does little more than display content and I would like it to stop when the user presses Stop, but I can't get it working. You need to do different things

Re: Stop button (was: Re: General Question)

2001-02-26 Thread Steve Hay
Hi, Stas Bekman wrote: Apache 1.3.6 and up -- STOP pressed: the code keeps on running until it tries to read from or write to the socket. the moment this happens, the script will stop the execution, and run cleanup phase. I think it's the same under mod_perl and mod_cgi. Am I right? I

Re: Stop button (was: Re: General Question)

2001-02-26 Thread Bill Moseley
At 02:02 PM 02/26/01 +, Steve Hay wrote: I have a script which I wish to run under either mod_perl or CGI which does little more than display content and I would like it to stop when the user presses Stop, but I can't get it working. You need to do different things under mod_perl and

RE: [OT] (apache question) Working around MaxClients?

2001-02-23 Thread Stathy Touloumis
You could defined a different port in your img tags. Then you can start thttpd to bind to that port. You shouldn't have a problem binding to ports higher that 1024(?) I think. Unless they have done something to prevent this which is doubtful. Example: img

(apache question) Working around MaxClients?

2001-02-22 Thread Philip Mak
Hello, I have a high traffic website (looks like 200 GB output per month, something around 10-20 hits per day) hosted on a commercial service. The service does not limit my bandwidth usage, but they limit the number of concurrent Apache process that I can have to 41. This causes the

[OT] RE: (apache question) Working around MaxClients?

2001-02-22 Thread Stathy Touloumis
Why don't you setup apache to do proxying? I have a high traffic website (looks like 200 GB output per month, something around 10-20 hits per day) hosted on a commercial service. The service does not limit my bandwidth usage, but they limit the number of concurrent Apache process

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