Hello -
This has got to be very common:
I've got a list of directories:
http://www.example.com/foo
http://www.example.com/bar
http://www.example.com/.
These directories don't exist in the web root but map to the real location
on the file system:
/var/customers/12345
9 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Tue, Mar 25, 2008 at 8:56 PM, Will Fould <[EMAIL PROTECTED]> wrote:
> > Can a LocationMatch "wildcard" trigger on a normal 404 or is there a
> better
> > way to do this?
>
> There are many ways. Here
I have an application that handles virtual directory requests:
e.g. http://www.example.com/part
where 'part' does not really exist.
It does it like this:
SetHandler perl-script
PerlOptions +GlobalRequest
PerlResponseHandler myPartHandler::myPartHandler
Hello
A lot of hype has surrounded quad core vs dual core processors.
We're buying a handful of new machines and I'm trying to make the best
weighted decision for our budget.
My very brief research indicates that ironically, a slightly faster dual
core (for example, a recent Opteron 22xx process
I was getting blank pages until switching SetHandler back to perl-script.
(Eureka! Yet more evidence that MP does quietly handle loose compliance
until you turn it off !)
Thanks again Perrin for shedding light and sharing wisdom.
-w
On Dec 22, 2007 10:53 PM, <[EMAIL PROTECTED]> wrote:
> Quo
On Dec 22, 2007 1:47 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Dec 22, 2007 4:40 PM, Will Fould <[EMAIL PROTECTED]> wrote:
> > "Global $r object is not available. Set:\n\tPerlOptions
> +GlobalRequest\nin
> > httpd.conf"
>
> And did you try wha
;);
FYI - package mhn uses
use Apache2::RequestUtil ();
use Apache2::RequestRec ();
use Apache2::RequestIO ();
use Apache2::Const -compile => qw(:common);
Any ideas? I'm likely overlooking something very basic here.
-W
On Dec 22, 2007 12:44 PM, Colin Wetherbee &l
Greeting: I've got a style-related question:
We have dozens of application packages running neatly under MP2 but that all
still use 'print' and also call other packages to print needed headers, etc.
I've created a single handler package (called 'mnh') that now answers all
requests using the reque
on rep).
Perhaps a page on the Flex.org site would do a LOT of good for this
community which is certainly much larger than the Perl Marketing department
indicates ; ).
Any other reference sites or tools?
On Dec 2, 2007 3:06 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Dec 1, 2007
>On Sat, Dec 01, 2007 at 12:22:57PM -0800, Will Fould wrote:
>>
>> ... page on the flex.org website ...
>>
On Dec 1, 2007 4:33 PM, Joel Bernstein <[EMAIL PROTECTED]> wrote:
> On Sat, Dec 01, 2007 at 12:22:57PM -0800, Will Fould wrote:
> > Is anyone on this
Is anyone on this list using (or considering using) a modperl service to
handle a Flex client? I'm considering using flex to replace a couple of
web-based admin -type tools (preference-type settings for a modperl
application) with a flex-client application rather than to go the ajax route
(which I
I realise this may not be the most appropriate list for this question:
I need to internally enumerate (delimit) href name/value pairs.
Is there are "standardly acceptable" way to do this?
http://www.example.com/?fruit::1=grape&fruit::2=apple&fruit::3=banana&color::1=purple&color::2=red&color::3=
Hi. I'm trying to estimate (forecast) perl memory requirements for storing
simple lists (hashes) in memory.
If my lists use integers as keys and all values are either integers or
simple scalar strings (of maximum size each), can the total memory size be
estimated by simply factoring the total num
d to query for just those keys and directly modify their own hashes
accordingly to keep current.
(*) I'm not too clear about this, but it seems like the real 'holy-grail'
would be to do this within apache in a scoreboard like way.
-w
On 5/19/07, Perrin Harkins <[EMAIL PRO
what a better solution might be.
On 5/7/07, Perrin Harkins <[EMAIL PROTECTED]> wrote:
On 5/7/07, Will Fould <[EMAIL PROTECTED]> wrote:
> C/Would anyone recommend any of the IPC::*** shared memory packages for
what
> I'm doing?
No, they have terrible performance for any si
simpler by checking last mod time on a shared file
Good idea.
C/Would anyone recommend any of the IPC::*** shared memory packages for what
I'm doing?
On 5/7/07, Perrin Harkins <[EMAIL PROTECTED]> wrote:
On 5/7/07, Will Fould <[EMAIL PROTECTED]> wrote:
> Can apache pr
Thanks guys. (I'm sure Perrin is tired of answering these same old question
in all of it's forms.)
The lists are functionally similar to Unix security lists (group id=name,
etc). With thousands of users, these key lists are getting larger and the
time to re-build them will continue to grow but
t
the lists (besides the lists being the result of a munge), is that they are
rather large.
On 5/4/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
On May 4, 2007, at 8:50 PM, Will Fould wrote:
> Can lists and other global objects created at apache startup be
> altered as an *indirect
Can lists and other global objects created at apache startup be altered as
an *indirect* result of child processes (i.e. some type of
semaphore/listener scheme?).
Thanks
Hi,
I have a service that is currently running a basic LAMP stack with mod_perl
and life has been good!
The site running has been getting very busy and I've ordered a second
machine with intention to move the database off that machine and start the
growing up process.
I am looking for next step
I have a strange issue with a particular script that sometimes (often)
generates a 302 to another script without a clear reason why.
Oddly enough, I simply placed a few "warn('blah')" code snippets to crudely
determine from the error log where it was happening in production (because I
cannot repl
uess that a lot of folks have skeltons like this in their closet.; )On 11/12/06, Frank Wiles <
[EMAIL PROTECTED]> wrote:On Sat, 11 Nov 2006 23:01:30 -0800"Will Fould" <
[EMAIL PROTECTED]> wrote:> I've found conflicting information about this.>> modperl: Is there a
I've found conflicting information about this.modperl: Is there a performance impact to breaking up a single 350k file (monolithic package) into multiple files (still the same package name)?I guess I'm asking: Are larger files inherently slower, even when pre-compiled? (Obviously, I'm not a comput
(MP2-Apache2)I have a fast growing number of virtual (non-existant) subdirectories under document root: /apple /foo /grape /bareach one corresponds to a dynamic document.
Until now, I've just used: Redirect permanent /apple http://www.example.com/content.cgi?content=apple foo Redi
, Philip M. Gollucci <
[EMAIL PROTECTED]> wrote:>Will Fould wrote:> package mypackage;
> my($myvar)=();> my $r=Apache2::RequestUtil->request;> $myvar=$r->dir_config('BAR');From what I can see, you're only issue is that you've duplicate
I had a typo on my previous post -- below has been corrected:--I have 2 virtuals configured for the same server: FOO and BAR:One has directive: PerlSetVar BAR /www/bar/bar_file
The other has:
PerlSetVar FOO /www/foo/foo_fileWhen I run (/www/bar/bar_scripts/test.cgi):
I have 2 virtuals configured for the same server: FOO and BAR:One has directive: PerlSetVar BAR /www/bar/bar_fileThe other has:
PerlSetVar FOO /www/foo/foo_fileWhen I run (/www/bar/bar_scripts/test.cgi):
package mypackage;
my($myvar)=();
my $r=Apache2::RequestUtil->request;
$
Hello -- I'm have a 'contamination' issue using PerlSetVar in a virtual environment. I'm wondering if my trouble is from my use of 'require' or from using non-unique PerlSetVar variable names (although, under separate virtual
containers). While we can continue to run separate Apache instances for
Thanks guys - this is helpful.In reality, and running the ways things are, I already need to restart (or ::Reload) to introduce changes (moved to that paradigm last year) -- but I guess that beyond the efficiencies you point out here in using proper API (for handler, print, etc) and the rationale h
Hi,I afraid this is a naive question but here it goes:I've fixed a lot of old CGI scripts over the past year and all new stuff to work in our MP2 environment and everything seems to be running excellent -- I mean GREAT, really.
We now use: SetHandler perl-script
at this point, the application is on a single machine, but I'm being tasked with moving our database onto another machine and implement load balancing b/w 2 webservers.
william
On 3/7/06, Will Fould <[EMAIL PROTECTED]> wrote:
an old issue:
"a dream solution would be if all
an old issue:
"a dream solution would be if all child processes could *update* a large global structure."
we have a tool that loads a huge store of data (25-50Mb+) from a database into many perl hashes at start up: each session needs access to all these data but it would be prohibitive to use
32 matches
Mail list logo