Thank you much for the quick response.
I tried setting the TMPDIR in startup.pl and in httpd.conf to no avail. The "[libapreq] file upload forbidden" error message is almost certainly coming from ibapreq's apache_request.c, line 591:
if (req->disable_uploads) {
ap_log_rerror(RE
Marcin Kosewski wrote:
Hi Gurus,
I'm using Apache 1.3.33 with mod_perl 1.29. In Apache httpd.conf file I'm
loading external perl directives using:
PerlRequire startup.pl
I've checked, that during apache startup 'startup.pl' runs two times. And
I want, that this script runs only once (because I'
Hi Gurus,
I'm using Apache 1.3.33 with mod_perl 1.29. In Apache httpd.conf file I'm
loading external perl directives using:
PerlRequire startup.pl
I've checked, that during apache startup 'startup.pl' runs two times. And
I want, that this script runs only once (because I'm allocating there
sh
Arshavir Grigorian wrote:
Hello list,
I just tried searching for 'path_info' in the 2.0 docs and got an
internal server error(500).
http://perl.apache.org/search/swish.cgi?query=path_info&sbm=SecI&submit=search
The /x1/log/www/error_log says:
[Wed Nov 17 15:01:50 2004] [error] [client 65.92.240.
Hello list,
I just tried searching for 'path_info' in the 2.0 docs and got an
internal server error(500).
http://perl.apache.org/search/swish.cgi?query=path_info&sbm=SecI&submit=search
Hope it's easy to fix.
Best, Arshavir
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://pe
Sean T Allen wrote:
using 1.99_17...
moved code to a new machine that i built as compared to a pre-existing
machine running... 1.99_07-dev
i have a stripped down CGI reading routine...
eval ( "sysread( \STDIN, \$input, $ENV{ 'CONTENT_LENGTH' } )" );
CGI.pm uses read, not sysread. Where did
> thanks for the info, might be a bit much afford.
Not at all -- you can run them all on a single machine. There should be
no extra cost to this approach except a bit more setup work.
> do you know any way to put some placeholders inside the perl code that
> will be replaced before compilation?
I'm pretty damn sure you did get that right!
That would do EXACTLY what i want it to do!
I'm gonna play around with that approach when i get home tonight.
Thanks!
On Nov 17, 2004, at 2:26 PM, Tom Schindl wrote:
What you really need here when talking about Pattern-Programming is a
"Factory-Class
Jonathan Vanasco wrote:
package Website1;
my $DB = new Website1::DB();
# make a new ref for the website
sub handler
{
my $r = shift;
my $user = new Website::User( \$r, \$DB );
my $page = new Website::Page( \$user , \$DB );
my $html = $page->
Because i'm an idiot and didn't realize that I was doing that!
I'm just used to passing refs everywhere. to get into the whole 'No
More passing large vars around' thing, i just stopped passing
everything but a ref
Silly me!
On Nov 17, 2004, at 1:25 PM, Tom Schindl wrote:
I don't answer your que
jonathan vanasco wrote:
I built for mod_perl1 a customer webapp framework
It functions as 2 perl modules/package sets
/lib/WebAppFramework
/lib/Website
For each website/webapp, i make a new /lib/Website that subclasses the
WebAppFramework (which handles users, email, webpage generation, etc
-- an
using 1.99_17...
moved code to a new machine that i built as compared to a pre-existing
machine running... 1.99_07-dev
i have a stripped down CGI reading routine...
eval ( "sysread( \STDIN, \$input, $ENV{ 'CONTENT_LENGTH' } )" );
doesnt read anything
but
read( STDIN, $input, $EN
Thanks!
Right now, I should have been more clear, though -- I'm am kinda doing
a bit of each approach you mentioned -- but i am in need of a little
more help.
I think what i want is more of your second approach right now...
Let me elaborate for a moment
WebAppFramework::DB.pm
Base C
On Wed, 17 Nov 2004, jonathan vanasco wrote:
> Ideally, I would have the packages in Website and WebAppFramework
> lookup the right DB for the Website
There are many ways to solve this problem. I'll show you 2 ways. I'll
focus just on the database part to keep this as short as possible, but
th
I built for mod_perl1 a customer webapp framework
It functions as 2 perl modules/package sets
/lib/WebAppFramework
/lib/Website
For each website/webapp, i make a new /lib/Website that subclasses the
WebAppFramework (which handles users, email, webpage generation, etc --
and makes heavy use of cpa
--- Tom Schindl <[EMAIL PROTECTED]> wrote:
> Beberle wrote:
>
> >Ok, I've read the documentation and searched the
> >archives for a similar problem but no luck. If
> anyone
> >has any suggestions, I'd be most grateful.
> >
> >Here's my situation:
> >
> >I've got Apache 2.0.46 with mod_perl 1.99
Perrin wrote:
I would echo what Stas said about rethinking your need for this. It's not
something that is easy to support in Perl. However, if you really need to
do it without changing your application code or using virtualhosts, you
would probably have to do it by running multiple mod_perl backe
Gernot Homma wrote:
i think you can use instances instead of classes, under mod_perl 1 i have
the following setup (the code ist just to show how it should work ;.)
under mod_perl, i think you just have to change the name of the
directives(PerlHandler => PerlResponseHandler), but i'm not shure, i
Beberle wrote:
Ok, I've read the documentation and searched the
archives for a similar problem but no luck. If anyone
has any suggestions, I'd be most grateful.
Here's my situation:
I've got Apache 2.0.46 with mod_perl 1.99_09 (called
2.0-tobe in the documentation) both of which were
installed by
Sönke Ruempler wrote:
Stas Bekman wrote on Tuesday, November 16, 2004 10:03 PM:
Right. It's documented here:
http://perl.apache.org/docs/1.0/guide/troubleshooting.html#_ex
it_signal_Segmentation_fault__11___with_mysql
I use PHP 5.0. There is no bundled mysql library with PHP anymore. I use
Ok, I've read the documentation and searched the
archives for a similar problem but no luck. If anyone
has any suggestions, I'd be most grateful.
Here's my situation:
I've got Apache 2.0.46 with mod_perl 1.99_09 (called
2.0-tobe in the documentation) both of which were
installed by the Red Hat
Stas Bekman wrote on Tuesday, November 16, 2004 10:03 PM:
> Right. It's documented here:
> http://perl.apache.org/docs/1.0/guide/troubleshooting.html#_ex
> it_signal_Segmentation_fault__11___with_mysql
I use PHP 5.0. There is no bundled mysql library with PHP anymore. I use
MySQL 4.1.7. But it se
22 matches
Mail list logo