RE: push_handlers

2002-01-11 Thread Stathy Touloumis
Makes sense, will look over the docs again. Thanks, Stathy Touloumis [EMAIL PROTECTED] wrote: For some reason the call to 'push_handlers' does not seem to register the 'handler' with mod_perl correctly when used in the code below. It seems that only a few initial requests will successfully

More Strange Behavior

2002-01-04 Thread Stathy Touloumis
Hello, I have currently added cutom apache directives using 'Apache::ModuleConfig,Apache::ExtUtils' and have come across some strange behavior when trying to use a custom mod_perl handler that worked fine before. I get this error : [Fri Jan 4 11:39:25 2002] [error] Uncaught exception from user

push_handlers, set_handlers

2002-01-02 Thread Stathy Touloumis
Apache 1.3.22 mod_perl 1.26 I have noticed some strange behavior when attempting to stack handlers below the 'ChildInit' phase. This code executes fine when placed in a server initialization script: Apache-push_handlers( PerlChildInitHandler= \My::Child::handler ); When using the code below in

Apache KeepAlive

2001-12-21 Thread Stathy Touloumis
Has anyone encountered issues when setting 'KeepAlive On' in there apache conf? After an initial request it seems that none of my handlers are called and the apache handlers take control. After a period of time the appropriate handlers seem to operate. If I reload quickly the same issue

Apache KeepAlive

2001-12-21 Thread Stathy Touloumis
It seems to stop occurring if I set MaxRequestPerChild to One as well. Thanks,

RE: How to check the return status?

2001-12-17 Thread Stathy Touloumis
Perhaps something along the lines of : $r-push_handlers( PerlHandler = sub { my $r = shift; my $return = $handle-handler( $r ); if ( $return == Apache::Constants::OK ) { ?? } } ); -Original Message- From: Alexei V. Alexandrov

RE: mod_perl vs. C for high performance Apache modules

2001-12-14 Thread Stathy Touloumis
http://www.perl.com/pub/a/2001/10/17/etoys.html Yea, mod_perl really sucks ; ) I have even worked on poorly architectured and coded sites which still performed fairly well. Recently I did a substantial project for a client in using mod_perl. That client is happy with the work, but an

RE: Auth Handlers

2001-12-13 Thread Stathy Touloumis
He he : ) I think this discussion is being miscommunicated (if that is a relevant word). I do not want authorization to be performed in the typical manner. Perhaps I want the information from a form submit or a cookie. I understand how the Apache authentication configuration works but I want

RE: Auth Handlers

2001-12-12 Thread Stathy Touloumis
What I have down is moved out specific auth handler down the chain into the 'fixup' state but it would be much nicer (and ituitive) to place it in the appropriate position. On Tue, 2001-12-11 at 21:00, Stathy Touloumis wrote: Actually, I DON'T want the browser to prompt for a username/pass

RE: Auth Handlers

2001-12-12 Thread Stathy Touloumis
Right, this is fairly obvious but we are trying to prevent apache from sending the 'login' headers if successful authorization does not occur. It seems to me that to do this the handler will need to be moved up or down the chain which can be unintuitive. Thanks, Has anybody got an idea how

Apache-push_handlers

2001-12-12 Thread Stathy Touloumis
Hi, I was wondering if anyone had experienced some funky behavior when 'pushing' a content handler (PerlHandler). The initial request makes the appropriate content handler call but upon subsequent requests the content handler routine does not get called. This is a snippet of code from a

RE: Auth Handlers

2001-12-11 Thread Stathy Touloumis
]] Sent: Monday, December 10, 2001 7:16 PM To: Stathy Touloumis Cc: mod_perl List Subject: RE: Auth Handlers On Mon, 10 Dec 2001, Stathy Touloumis wrote: Directory /home/stathy/apache/html AuthName Login AuthType Base::Session::Handler require valid-user

RE: Auth Handlers

2001-12-11 Thread Stathy Touloumis
Message- From: Rob Bloodgood [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 12:54 PM To: Stathy Touloumis Cc: mod_perl Subject: RE: Auth Handlers : ) No problem, I guess I am unsure if this is the proper way to setup an Access, Authen, Authz handler. When I use

Auth Handlers

2001-12-10 Thread Stathy Touloumis
I seem to be unable to get my authentication/authorization handler to be called correctly. I have tried numerous directives and it seems to always get passed to the standard apache 'authentication' module. I receive this error : [Mon Dec 10 13:09:35 2001] [crit] [client 192.168.6.59]

RE: Auth Handlers

2001-12-10 Thread Stathy Touloumis
Directory /home/stathy/apache/html AuthName Login AuthType Base::Session::Handler require valid-user PerlAuthenHandler Base::Session::Handler /Directory Send the config?

RE: Dynamic loading of development libraries

2001-03-03 Thread Stathy Touloumis
Or set MaxClients to 1 if you do not have too many developers and/or your development server doesn't suck ; ) There are 2 realistic solutions to your problem : 1. run a web server for each user ( a good solution in my opinion ) 2. wait for Doug to finish up mod_perl 2.0 I know the problem

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

2001-02-23 Thread Stathy Touloumis
r to delay accepting new connections during peak times. My account is a "virtual server"; what this means is that I have access to the Apache httpd.conf files and can restart the Apache daemon, but do not have the priviledge to bind a program to port 80 (so I can't put thttpd on port 80

RE: Odd Caching Bug

2001-02-22 Thread Stathy Touloumis
So, if I understand correctly, the database handle is getting cached more than you think it should, that's right? I was unsure where the caching was occurring. I think MaxRequestsPerChild doesn't actually cut off a connection that is kept alive (with KeepAlive). Ctrl-N in a browser could

[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

Odd Caching Bug

2001-02-21 Thread Stathy Touloumis
Hello, One of the developers I currently am working with has found an odd bug that can be replicated on several workstations. First my configuration : Apache 1.3.17 mod_perl 1.25 Mason (Ancient) Apache::DBI .88 Postgres 7 MaxRequestsPerChild 1 KeepAlive on We have two components that contain

Odd Caching Bug

2001-02-20 Thread Stathy Touloumis
Hello, One of the developers I currently am working with has found an odd bug that can be replicated on several workstations. First my configuration : Apache 1.3.17 mod_perl 1.25 Mason (Ancient) Apache::DBI .88 Postgres 7 MaxRequestsPerChild 1 KeepAlive on We have two components that contain

Setting 'Location' header

2001-02-13 Thread Stathy Touloumis
This code does not seem to work whether in a handler or when using a Mason component. I have tried several variations with different versions of mod_perl to no avail. Can anyone shed some light? my $head = $r-headers_out; $head-set( Location= '/index.html' ); $head-set( Target= '_top' );

Accessing Global Configuration Directives

2001-02-09 Thread Stathy Touloumis
Is it possible to access a global configuration directive without using the request object? Thanks,

RE: server_root question...

2001-02-05 Thread Stathy Touloumis
If you want to use a perl function ( Apache::server_root_relative() ) then you have to use a Perl block. This might work : PerlSetEnv SERVER_ROOT \ Perl Apache::server_root_relative() /Perl But this seems so much easier : Perl $ENV{'SERVER_ROOT'} = Apache::server_root_relative() /Perl Maybe

RE: [OT] Dynamically changing current package

2001-02-02 Thread Stathy Touloumis
Probably just never assumed to be used this way. Do not see to much documentation on using the Symbol table directly. Here is something strange as well. Try copying a package and then creating an object from it . . . Really funky Think I might post this to the p5p list

RE: Development Environment

2001-02-01 Thread Stathy Touloumis
I actually was nearlly successful in accomplishing some sort of mechanism by which developer packages can be mapped to a virtual package which the real package points to (did this make sense?). Anyway, it needed to tap into the symbol table way too extensively and ran into several problems. I

RE: suexec denies execution of scripts

2001-02-01 Thread Stathy Touloumis
Because suexec is build with a predefined path which allows only scripts underneath that path to run in. You need to find out what the 'docroot' is and be sure that your script is underneath this path. There are several other restrictions that need to be done to ensure that cgi's being run

RE: [OT] Dynamically changing current package

2001-02-01 Thread Stathy Touloumis
NewPackage will then contain all things in TestPackage Then you can redefined everything in TestPackage without affecting anything in NewPackage. Actually it will, if you were to delete NewPackage, TestPackage would not contain anything. Modifying 'thingys' in TestPackage would modify

Symbol::delete_package

2001-01-31 Thread Stathy Touloumis
When using Symbol::delete_package to remove a package something odd happens. Other packages seem to disappear or functions are not available. Has anyone experienced this before? I am using this with Mason and after using Symbol::delete_package the Mason handler is no longer available.

Development Environment

2001-01-30 Thread Stathy Touloumis
I was wondering if anyone has successfully setup a development environment to allow for multiple development copies of modules used within Mason components. Also, to have the appropriate changes to the modules shown within the development environment. Thanks, Stathy Touloumis Coder if ( eval