I added $Apache::Registry::NameWithVirtualHost = 1; to my startup script,
but the server still runs the wrong script.
My startup.pl looks like this:
-
#!/usr/bin/perl
use Apache::Registry;
$Apache::Registry::NameWithVirtualHost = 1;
-
Any ideas?
Bird
At 10:13 PM 2001/5/7 -0700, ___cl
parsing the .htaccess files is what I'm trying to avoid. I want the standard apache
module to do that. I just want to control *when*.
Clayton Cottingham aka drfrog wrote:
> hello
>
> is this not something like what Apache::AuthCookie
> or some other Auth scheme does?
> or am i just missing th
hello
is this not something like what Apache::AuthCookie
or some other Auth scheme does?
or am i just missing the boat?
you could use something
like AuthCookie in a dummy situation
get $r->uri
grab the .htaccess from that location and parse?
Time Co-Ordinate Thu, 10 May 2001 23:16:29 -0600,
>
>
> Not really, the current Apache doesn't let you decide on the fly whether
> to challenge the client with basic auth or not unless you use .htaccess.
If I wrote my own PerlAuthHandler, could it then choose whether to pass through
to the standard AuthHandler?
> .htaccess is not used only for
On Thu, 10 May 2001, Mark Holt wrote:
[snipped the situation explanation]
> Now to my question: Is it possible, using mod_perl, to activate
> Apache's standard .htaccess-based authentication scheme on a per-hit
> basis, based on the results of perl code to determine whether the user
> is a payi
[EMAIL PROTECTED] (jason n perkins) wrote:
>php has a function called extract which takes an array (no distinction
>between arrays and hashes in php. in this case in perl, it'd actually
>be a hash). extract takes the key values of the array (and optionally
>prepends a user specified prefix to each
OK, let me be more specific. Here is the problem I face:
Hosting of (potentially) millions of websites in a single framework.
Clients are not given their own VirtualHost tag in the config file
(there are too many), but instead their document root is derived from
their hostname. Clients can fluc
* Dave Rolsky ([EMAIL PROTECTED]) [010510 12:43]:
> ...
> I think the author of SPOPS is also a mod_perl user (I'm pretty sure he's
> posted to the mod_perl list in the past) so I'd expect it to play nice.
Mostly one of the 'silent majority', tho :-) (Plus, we met at last
year's YAPC -- sheesh, t
* Ray Zimmerman ([EMAIL PROTECTED]) [010510 11:39]:
> I'm looking for a good package to use for Object - RDBMS mapping in
> the context of mod_perl and Mason. Something that will handled object
> inheritance and nested objects, etc.
>
> I'm aware of Tangram, Alzabo and SPOPS (not sure all these
On Wed, 9 May 2001, Morbus Iff wrote:
> I'm relatively new to mod_perl... I've got a 700k file that is loaded each
> time I run a CGI script, so I'm hoping to cache the file using mod_perl
> somehow. The file will change occasionally (maybe once a week) - the reload
> of a few seconds isn't wo
On Thu, 10 May 2001, Jeffrey W. Baker wrote:
>
>
> On Thu, 10 May 2001, Issac Goldstand wrote:
>
> > I was just wondering- where exactly is the Perl interpreter in
> > mod_perl 1.25 (for Apache 1.3) and where will it be in mod_perl 2
> > (Apache 2.0)? I assume in Apache 1.3 it's in shared memory
On Thu, May 10, 2001 at 03:28:16PM -0700, Doug MacEachern wrote:
> On Tue, 10 Apr 2001, Paul Lindner wrote:
> >
> > DBG && debug('whoa there boy');
FWIW, you may find the opcode-identical
debug 'whoa there boy' if DBG ;
more readable. Don't go to values other than 0 or 1 (not even "0" or
Difference like this, where cgi & perl scripts work fine, but mod_perl/ASP
doesn't, often has to do with %ENV where mod_perl is concerned.
This is because Apache clears %ENV. The best way I have found to know
what is in your %ENV for Oracle connections is to explicitly set it
before the connect l
Im having an odd (and annoying) problem with text data being returned via
Oracle::DBD (10.7) to an Apache::ASP (2.09) script. Essentially, perl that
returns perfectly valid characters in both cgi and as a .pl file fails to
return valid characters in the context of an Apache::ASP file. The issue,
on 5/9/01 5:45 PM, Morbus Iff at [EMAIL PROTECTED] wrote:
>> Keep in mind, if you load this data during startup (in the parent) it will
>> be shared, but reloading it later will make a separate copy in each child,
>> chewing up a large amount of memory. You might have better luck using dbm
>
> T
On Tue, 10 Apr 2001, Paul Lindner wrote:
> Hi,
>
> As part of my ongoing effort to streamline my mod_perl apps, I've come
> to discover the joy of constant subroutines and perl's ability to
> inline or eliminate code at compile time. I have a solution that
> works, but would be interested in se
It's not hard to do, but it is potentially dangerous since you could
overwrite globals like $/ and change the behavior of your program. In
general, it's best to avoid cluttering the symbol table.
- Perrin
jason n perkins wrote:
>
> php has a function called extract which takes an array (no distinction
> between arrays and hashes in php. in this case in perl, it'd actually be a
> hash). extract takes the key values of the array (and optionally prepends a
> user specified prefix to each of the value
On Thu, 10 May 2001, Issac Goldstand wrote:
> I was just wondering- where exactly is the Perl interpreter in
> mod_perl 1.25 (for Apache 1.3) and where will it be in mod_perl 2
> (Apache 2.0)? I assume in Apache 1.3 it's in shared memory, but I
> want to double check...
This depends strongly
php has a function called extract which takes an array (no distinction
between arrays and hashes in php. in this case in perl, it'd actually be a
hash). extract takes the key values of the array (and optionally prepends a
user specified prefix to each of the values to avoid clobbering other values
I was just wondering- where exactly is the Perl
interpreter in mod_perl 1.25 (for Apache 1.3) and where will it be in mod_perl 2
(Apache 2.0)? I assume in Apache 1.3 it's in shared memory, but I want to
double check...
Issac
Internet is a wonderful mechanism for making a fool
ofyourse
Hi
( 01.05.10 13:07 -0600 ) Mark Holt:
> For my paid users, I would like to offer the option of using
> .htaccess files for password protection, but I can't afford to check these
> files on every hit, only hits to paid sites. I can determine if the user is
> paid with a couple of lines of perl,
On Thu, May 10, 2001 at 07:51:05PM +0100, G.W. Haywood wrote:
> Hi there,
>
> On 10 May 2001, qazi Ahmed wrote:
>
> > I dont have any idea regarding the clock skew detected error.
>
> In this case it just means that 'make' has noticed something odd about
> the various dates and times in your sy
> When I start getting this error, I can shutdown the httpd server, and the
> machine and it will still give this error. If I wait a while(sometimes
hours,
> sometimes days) it will come
> back. Sometimes it is a few hours. Sometimes it is days. I have installed
> Apache::DBI in hopes of a possibl
>> I hope ya understand.
>
>Well, I hope we've all got that off our chests.
I'm really hoping so - I *hate* this sort of stuff.
>Now, have you got enough to get you going OK?
I'm thinking I do, yes. Thanks for asking.
Morbus Iff
.sig on other machine.
http://www.disobey.com/
http://www.ga
Hi there,
On Thu, 10 May 2001, Morbus Iff wrote:
> I hope ya understand.
Well, I hope we've all got that off our chests.
Now, have you got enough to get you going OK?
73,
Ged.
Hi there,
On Thu, 10 May 2001, Harnish, Joe wrote:
> When I start getting this error, I can shutdown the httpd server, and the
> machine and it will still give this error. If I wait a while(sometimes
> hours, sometimes days) it will come
> back. Sometimes it is a few hours. Sometimes it is da
>> Sigh. What the frel is your problem, binky?
>
>Stas' problem, which apparently your researches have not discovered,
>is that he WROTE the guide and when somebody starts spamming fifteen
>hundred mailboxes because he didn't read it he's understandably a
>little irritated.
Oh, no, don't ge
Hi,
I am running a hosting service, and I use mod_perl to filter pages and add
banners. For my paid users, I would like to offer the option of using
.htaccess files for password protection, but I can't afford to check these
files on every hit, only hits to paid sites. I can determine if the user
Hi there,
On 10 May 2001, qazi Ahmed wrote:
> I dont have any idea regarding the clock skew detected error.
In this case it just means that 'make' has noticed something odd about
the various dates and times in your system. It is very important for
several reasons that you keep the computer clo
Hi there,
On Thu, 10 May 2001, Morbus Iff wrote:
> >You didn't search the guide, even if you try to make everyone believe that
>
> Sigh. What the frel is your problem, binky?
Stas' problem, which apparently your researches have not discovered,
is that he WROTE the guide and when somebody start
Ray Zimmerman wrote:
> I'm looking for a good package to use for Object - RDBMS mapping in the
> context of mod_perl and Mason. Something that will handled object
> inheritance and nested objects, etc.
>
One that I've been meaning to try out when I get a chance is GOODS at:
http://www.ispras
>Is there a message after the
> cannot load /apache/modules/ApacheModulePerl into server:
>indicating why the module can't be loaded?
I'm afraid nothing else appears after this line to indicate which can be
the problem...
Apache is on c:\Apache, perl is on c:\perl, ApacheModulePerl.dll is
On Thu, 10 May 2001, Ray Zimmerman wrote:
> I'm aware of Tangram, Alzabo and SPOPS (not sure all these do what I
> need) ... are there any others? Any particular reasons why any of
> these may not play with with mod_perl/Mason?
Well, I wrote Alzabo and it plays just fine with mod_perl and Mason.
I'm looking for a good package to use for Object - RDBMS mapping in
the context of mod_perl and Mason. Something that will handled object
inheritance and nested objects, etc.
I'm aware of Tangram, Alzabo and SPOPS (not sure all these do what I
need) ... are there any others? Any particular rea
At 8:34 AM -0400 5/10/01, Harnish, Joe wrote:
>When I start getting this error, I can shutdown the httpd server, and the
>machine and it will still give this error. If I wait a
>while(sometimes hours, sometimes days) it will come
>back. Sometimes it is a few hours. Sometimes it is days. I hav
Title: Apache Oracle and Perl
When I start getting this error, I can shutdown the httpd server, and the
machine and it will still give this error. If I wait a while(sometimes hours, sometimes days) it will come
back. Sometimes it is a few hours. Sometimes it is days. I have installed
Apach
Morbus Iff <[EMAIL PROTECTED]> writes:
> Well, it's a big deal if you've no "in" with the place you're webhosting
> with, sure... No one wants to be told that some lowly customer wants to
> restart the server that's running 200 other vhosts...
>
> Granted, I work at the damn webhost, but it's go
>>>The above code asigns a signal handler for the USR2 signal.
>>>This signal has been chosen because it's least likely to be
>>>used by the other parts of the server.
>>
>> That, unfortunately doesn't tell me what causes a USR2 signal to be sent to
>> Apache. Or when it's caused. I on
Hi there,
On 10 May 2001, qazi Ahmed wrote:
> but when trying to build, i am getting the errors like:
>
> make[5]: warning: Clock skew detected. Your build may be incomplete
Have you checked your system clock?
Do you really mean 5.005_02?
73,
Ged.
Hi there,
On Wed, 9 May 2001, Greg Wilson wrote:
> Hi. We're getting a segfault when httpd shuts down when using
> mod_perl on Red Hat 6.2
[snip]
> "perl -V" gives:
>
> Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
> Platform:
> osname=linux, osvers=2.2.5-22smp, arch
Hello,
Is there a mod_perl module or Mason component (best) somewhere that
would allow a non-technical user to manage Apache per-directory access
rights (basic auth or otherwise) from a web interface?
Thanks in advance,
--
OENONE: Songez-vous qu'en naissant mes bras vous ont reçue ?
Hi.
I have been trying to install mod_perl from past one day but am turning up with no
results.
The source configuration part of the installation is
working fine,
perl Makefile.PL APACHE_SRC=../apache_1.3.19/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
but when trying to build, i am getting the er
Hi. We're getting a segfault when httpd shuts down
when using mod_perl on Red Hat 6.2, and I'd like to
know whether anyone else has seen this as well. If I
run "httpd -X -f /home/gvwilson/httpd.conf" under gdb,
the stack trace is:
#0 0x4000af21 in _dl_debug_state () at dl-debug.c:56
#1 0x40183
Hey there, wondering if anyone could help me with this.
I'm relatively new to mod_perl... I've got a 700k file that is loaded each
time I run a CGI script, so I'm hoping to cache the file using mod_perl
somehow. The file will change occasionally (maybe once a week) - the reload
of a few second
Hi James
Thanks for the suggestion but a code snippet will really help since i am
a complete new bie out here..
Thanks
Anand
On Tue, May 08, 2001 at 01:53:48PM -0500, James G Smith wrote:
>"Anand Raman" <[EMAIL PROTECTED]> wrote:
>>hi guys
>>I just started off using modperl so excuse me if this
46 matches
Mail list logo