(i.e code changes
don't take effect, version numbers don't change). Is there a way to flush
the INC hash of all the children programmatically, without a restart? I have
looked at Apache::Reload and Apache::StatINC and tried to replicate the
code, but it doesn't seem to be working.
Thanks,
Scott
be more reliable.
Scooter
- --
Scott Penrose
Open source developer
http://linux.dd.com.au/
[EMAIL PROTECTED]
Dismaimer: Open sauce usually ends up never coming out (of the bottle).
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org
iD8DBQE
LightCompression On the problem comes back.
I had tested having this line commented out but it made no difference.
Anyway good that it is working.
Thanks.
Regards
Scott
4. Let us know details of what you finally have.
Thanks,
Slava
- Original Message -
From: Scott Alexander [EMAIL
into one print statement. Makes no
difference.
Scott
users can select the output then I must use a fixup
handler.
Also why does my own Content-type: text/html turn up in output? I guess
dynagzip is setting it's own content-type header.
Scott
Hi Scott,
In my understanding your script responds correctly from the configuration
Directory /usr
On Mon, 26 May 2003, Perrin Harkins wrote:
Scott Alexander wrote:
Yes if I join all my output using
$print = $print . html source
and then one print at the end
AND change my script name from script.pl to script.html it works.
The script I experimented on went from 15000 bytes
to login page ready for next user.
But with IE 6.0 the $r-uri and $r-headers_in-get('Referer') is
different than for NN. It is the next page being called in this case just
/logout so I no longer know what was my db value.
Any ideas how to solve this?
Scott
user
/Directory
Thanks
Scott
#ErrorDocument 403 /bin/admin/error/403.html
ErrorDocument 404 /bin/admin/error/404.html
ErrorDocument 500 /bin/admin/error/500.html
/Directory
Any help is appreciated
Scott
On Thu, 20 Feb 2003, Scott Alexander wrote:
If I set my browser to david:8080/login.pl then everything works okay,
Cookie gets set, and my session is current until I logout.
So the setup is something to do with mod_proxy on the proxy server.
Is it the cookie doesn't get sent back thru
AuthName DBI
require user scott
Here's the relevant entries in my httpd.conf file:
Directory /
Options FollowSymLinks
AllowOverride None
/Directory
Directory /www/htdocs
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Deny from all
/Directory
worked great. Web server works. I can access Posgresql just
fine using Perl DBI.
The .htaccess file in /www/htdocs/tester:
AuthType Basic
AuthName DBI
require user scott
Here's the relevant entries in my httpd.conf file:
Directory /
Options FollowSymLinks
AllowOverride None
/Directory
thanks for the help... I got it running now.
Attention to detail...
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 6:27 PM
To: Blankenship, Scott R
Cc: '[EMAIL PROTECTED]'
Subject: Re: Installation help
Blankenship, Scott R wrote:
I'm
to my perl libraries, but I can't apache
installed. I go to the src directory, do a make, but the make install at the
end says I have to go to the parent directory to install. But, there's no
Makefile in the parent directory...
What am I doing wrong?
Scott Blankenship
Senior Developer
The Relizon
thanks. I downloaded 1.3.27... Still can't get it to install mod_perl into
apache...
-Original Message-
From: Ged Haywood [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 3:39 PM
To: Blankenship, Scott R
Cc: '[EMAIL PROTECTED]'
Subject: Re: Installation help
Hi there,
On Tue
.
-Original Message-
From: Blankenship, Scott R
Sent: Tuesday, January 28, 2003 5:20 PM
To: 'Ged Haywood'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Installation help
thanks. I downloaded 1.3.27... Still can't get it to install mod_perl into
apache...
-Original Message-
From: Ged Haywood
On Wed, 18 Dec 2002, Perrin Harkins wrote:
Scott Alexander wrote:
At the moment I have a front_end server with no php support.
Backend is mod_perl. I'm planning to extend our document management
system to serve www pages.
The html documents are on the mod_perl machine. What happens
on the front_end will it work normally?
Regards and thanks in advance for any help. And sorry if this is way off
topic. I don't know what mailing list to ask this on. I'm doing distance
work and living 150 km above the Arctic Circle
Scott
? Is there anyway to tell mod_perl where perl
is without using the PATH variable?
Any help is GREATLY appreciated!
Thanks!
- Scott
Scott Scecina
In Mind, Inc.
/to/Perl/bin/perl56.dll
before loading mod_perl.so?
--
best regards,
randy kobes
The problem occurs only when run as a service. And, yes, the LoadFile
directive seems to have solved it. I would have *never* come up with that.
Many Thanks!
- Scott
Scott Scecina
In Mind, Inc.
documentroot
which means anyone can have access to them just by guessing the url.
Any ideas how I can have the documents on the front_end and still maintain
some level of security.
/Scott
.
Any other ideas?
Scott
I am having problems reading standard input while running under PerlRun.
I am trying to use text/xml data POSTed to an url, as opposed to form-data.
I get the data when running in CGI mode, but I get zero bytes when
running in PerlRun mode. How do I read the data POSTed to the URL?
I have
Jon wrote:
I guess you've checked that $plainText isn't of length 0?
/Jon
Well, I read standard input into $input, copy it into $plainText and
check the length and it is 0. That is my problem: when I run using
PerlRun it is 0 but I works without a problem when running in CGI mode...
Hi William,
I am using XML::LibXML which uses libxml2 -- not expat -- for the xml
parser, so I don't think it will help me.
Thanks anyway,
Scott
William McKee wrote:
I had lots of problems using XML under Apache until I recompiled Apache
with the --disable-rule=EXPAT rule as partially
I am having troubles using XML::LibXML with PerlRun. The script I am
running runs just fine under CGI, but when using PerlRun, I get the
following message:
PerlRun: `Can't locate object method SendFault via package Entity:
line 19: error: AttValue: ' expected
SupplierRQ ID=7
On Mon, 8 Jul 2002, Ganesan M wrote:
Schoolmaster.net, 167,000 lines of Perl code, another 30,000 lines of C.
Rich.
How do you run 'C' code from Apache/mod_perl?
Using the perl XS interface usually... that's how we access our text
analysis routines which are in C.
Owen
--
USMail:
I think the point is that you have complete non-trivial applications being
written in Perl.
Success is measured in application adoption, not in elegance. I've
worked many places that produced very elegant code, however all of those
places no longer exist. You need more than cool code to
lol... We're running a little over 175000 lines of (mod)perl code,
currently running on a mix of RedHat 7.1, 7.2, 7.3 and Advanced Server.
Next?
On Wed, 2002-07-03 at 09:41, Peter Haworth wrote:
On Wed, 3 Jul 2002 11:40:44 +0100, Jean-Michel Hiver wrote:
perl: Any iussues with perl/modperl?
that helps
to separate the HTML codes from the modules. Having HTML in perl programs
makes a big difference.
Peter Bi
- Original Message -
From: Owen Scott Medd [EMAIL PROTECTED]
To: Peter Haworth [EMAIL PROTECTED]
Cc: Jean-Michel Hiver [EMAIL PROTECTED]; Gerd Knops [EMAIL PROTECTED
-Original Message-
From: Perrin Harkins [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 10:10 AM
To: Purcell, Scott; [EMAIL PROTECTED]
Subject: Re: Speed of downloading problem.
I have Apache/mod_perl installed on a NT box, and I am allowing customers
to
do downloads of High
binary.
Any info would certainly be appreciated.
Scott Purcell
} ;
my $db = $split_line[2] ;
return $db ;
}
and the $db I use to get a db handle
That's how I do it but my application leans towards cgi than mod_perl.
I have 4 different types of systems using the same codebase. Alltogether
13 systems. Works well.
regards
Scott
- i have found
know my
customers, and they will not put in the directory forward slash. How do I
get around this issue?
Thanks
Scott Purcell
(preferrably perl) out there that support this
cleanly. I've worked with Embperl and glanced through the docs of
Mason, AxKit and TT and didn't see anything looking like this.
Cordially,
Scott
and back buttons in mind just like you have to today. It
would be worth it to have the abstraction layer in my opinion. I'd
love to be able to deal with these problems!
Scott
- Perrin
On Fri, 9 Nov 2001, Christopher Hicks wrote:
I've heard lots of people talking about doing Apache configuration via
Perl sections and mod_perl, but I can't find any examples! I've looked
on Sourceforge, the Guide, and dug through google. The Eagle book has the
best stuff I've found so far, but
On Wed, 24 Oct 2001, Tom Mornini wrote:
1 Perl
2$ErrorLog = |/home/tmornini/Source/ewingz/bin/spread_from_stdin.pl ERROR;
3 /Perl
4 ErrorLog |/home/tmornini/Source/ewingz/bin/spread_from_stdin.pl ERROR
[snip]
When I use the Perl section (which I need to allow the path to
On Tue, 16 Oct 2001, Gargi Bodke wrote:
i have been asked to suggest an architecture to seperate the
business logic from the html. how is this done in modperl? i guess
by using functions for the business logic.
is there any other way?
Maybe HTML::Mason, http://www.masonhq.com/
also does
What kind of thread is this?
I ask a question about modperl on NT and I get riddled from the list for
using NT. Then we have a thread that goes for two days about hourly charges?
What's up with this ..This should be for questions about modperl.
Give it a rest, I'm tired of throwing that thread
On Fri, 5 Oct 2001, raptor wrote:
How can I set in perl section, say :
PerlModule Blah.pm
PerlSetVar XXX On
PerlSetVar YYY Off
perl
@PerlModule = qw(Blah); # add others to the list
push @PerlSetVar, [ XXX = 'On' ];
push @PerlSetVar, [ YYY = 'Off' ];
/perl
There's good examples in the eagle
to -db2'
And in /usr/lib/ I created a sym link libdb.a pointing to libdb2.a (the
version I wanted to use and then it worked.
thanks everyone for your help
now back to modperling after a hard disk broke.
Scott
that instead of copying to the htdocs directory, I would like to
be able to href link to them and have them displayed.
So my question is, where in the config (or how do I) configure the
httpd.conf to allow me to use /DISK7 as part of the doc root?
Thanks,
Scott Purcell
directory `/home/software/apache_1.3.20'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/software/apache_1.3.20'
make: *** [apaci_httpd] Error 2
Scott
for mod_perl
It looks like there's a problem in the distribution above. I just
noticed the errors:
modules/perl/mod_perl.config.sh: ./modules/perl/perl_config: No
such file or directory
??
Scott
On 30 Aug 2001, at 23:38, Stas Bekman wrote:
On Thu, 30 Aug 2001, Scott Chapman wrote:
I'm getting
-start_html('hello world'), # start the HTML
$q-h1('hello world'), # level 1 header
$q-end_html; # end the HTML
Scott Purcell
can do to get the sockets to work under mod_perl? Or
should I go back to cgi-bin applications? I am at the end of my rope and
could use some sound information. Anyone out there lend a hand?
Thanks,
Scott Purcell
### simple socket code ###
#! perl
use CGI;
use CGI::Carp qw/fatalsToBrowser
.
When I get a chance I'll see if this works on mod_perl 2.0. If anyone
does get this to work on Solaris 2.8 x86, please let me know.
Thanks, Scott
#!./perl
use DBD::Oracle;
use XML::Parser::Expat;
my $parser = new XML::Parser::Expat;
$parser-parse('foo id=me here emwe/em go /foo');
# perl-5.6.1
Does that work under Unix only? I am on NT and it does not appear to work.
Can someone clarify.
Thanks
Scott
-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 9:38 PM
To: Bryan Coon
Cc: Matt Sergeant; '[EMAIL PROTECTED]'
Subject: Re: Apache
, Scott
On Sun, July 22 13:30 -0700, Scott Kister wrote:
This program core dumps when run under mod_perl on Solaris 2.8 x86.
#!./perl
use Oraperl; # use DBD::Oracle; fails as well
use XML::Parser;
my $parser = new XML::Parser;
$parser-parsestring(''); # fails with valid xml here
apologies if this comes through twice, my first try didn't seem to
make it
This program core dumps when run under mod_perl on Solaris 2.8 x86.
#!./perl
use Oraperl;
use XML::Parser;
my $parser = new XML::Parser;
$parser-parsestring(''); # fails with valid xml here as well
It runs fine on Linux
i have a fairly simple mod-perl script which returns data from a mysql db
on occasion for no apparent reason an internal error screen pops up. if
reloaded the page works just fine.
the logs contain this message:
exit is not exported by the GLOB(0x88414cc) module at (eval 397) line 1
[Wed Jul
operational in about an hour.
Yell if you have any questions, as I have done this twice on NT.
Scott
-Original Message-
From: Randy Kobes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 10:20 AM
To: Jason
Cc: [EMAIL PROTECTED]
Subject: Re: Newbie question
On Thu, 12 Jul 2001, Jason
. Each time a user hits
it, they of course receive the same 4 numbers. Not very random
I am sure I am screwing this up somehow, was anyone able to get this to
work, or able to get 4 random numbers each time they run the snippet of
code?
Thanks
Scott
-Original Message-
From: Gunther
of the examples DO NOT work on my NT mod_perl.
Anyway, I figure there has to be more resources than just that book. Does
anyone know of any? I am looking for examples and techniques to get me
rolling.
Thanks,
Scott Purcell
excess work?
Does anyone know why this is?
If anyone wants just drop the following line under cgi-bin and mod_perl and
you'll see the results.
Please let me know,
Scott
#! perl
use CGI qw/:standard/;
my $q = CGI-new;
print $q-header();
print $q-start_html(hello);
foreach (my $i=1; $i5; $i
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
Title: RE: mod_perl child processes using way too much RAM
Checkout Apache::SizeLimit. You can put something like this in your startup.pl:
use Apache::SizeLimit;
$Apache::SizeLimit::MAX_PROCESS_UNSHARED_SIZE = 2;
$Apache::SizeLimit::CHECK_EVERY_N_REQUESTS = 2;
-Scott
-Original
, and commented out the $use
CGI (since I thought it would be loaded in the startup.pl file).
It does not work. Are the items in the startup.pl file only used with
handlers?
Thanks
Scott
### code below just for reference #
#! /usr/local/bin/perl
#use CGI qw(:standard);
use strict;
my $name
not want to use
work-arounds on this large project. I really need to have the ability to
reload these modules on each hit to the server while developing the core
code set.
I even have the apache book, but I can't find any mention of this there
either.
Please advise.
Scott Purcell
of a simple way to
accomplish this task, please advise.
Thanks
Scott Purcell
downloaded
the cpan package, gziped and extracted tar. The install directions for NT
look a little gray. Maybe there is a step by step guide somewhere? If anyone
knows I would appreciate.
Thanks
Scott Purcell
.
If then I go to one.pl error (it says query.pl not found).
So my question is why this bazaar behavior. If I change the query.pl to a
module and use it in each of the pages it is fine. I just find this behavior
rather funny. If anyone has any insight please update me.
Thanks,
Scott Purcell
, and I hate to leave open-ended issues.
Thanks for your time,
Scott
package q2;
use IO::Socket;
my $sock;
sub tryQuery {
unless ($sock) {
print No sock making itbr\n;
$sock = IO::Socket::INET-new(Proto = 'tcp', PeerAddr =
'208.238.162.204', PeerPort = '8000') or die
had.
Scott Purcell
which works, but I
cannot seem to ask two socket calls back to back? I don't know why. Maybe it
is a learning curve I have to perfect.
Anyway, I figured I would ask people who would know for their input. So if
anyone has any opinions, could you fill me in?
Thanks for your time,
Scott Purcell
of when
doing this kind of persistant socket handle?
Thanks,
Scott Purcell
or perl module alive in cache for a set time?
Thanks
Scott Purcell
(spawning of children) to 1
Thanks
Scott Purcell
:
type:
/path/to/apache/dir/httpd -X
I have been through my install trying to execute a httpd at the command
line, but I am making no connection.
Could someone please explain a litle more in detail what I should do on a NT
system and what the httpd is (exe?);
Thanks
Scott Purcell
this occur. Any links, or examples would be
helpful.
Thanks again,
Scott
the counter.pl text and I am running it out of my cgi-bin. And it
works, but it IS NOT persistant, or cached. I have been going through the
guide, but do not see how to make the counter.pl PERSISTANT and to tie the
script to the Apache::Registry?
Did I miss something here?
Thanks
Scott
. $message;
my $msgsize = length($message);
print $message and $msgsize is message and msgsizebr\n;
print $handle \%BEGIN\t$msgsize\n$message;
}
1;
Scott Purcell
and let me know,
Scott Purcell
with getting this started.
PS I run activeState perl and it is on my C drive of the local machine where
the Apache server lives.
Thanks,
Scott Purcell
,
Scott Purcell
this is not asking too much, Any input would be most helpful.
Sincerely
Scott Purcell
this file is read.
I believe I have it, but since this is my first chunk I wrote for
persistance, I was hoping someone could give it a look.
thanks
Scott Purcell
use vars qw ($q $handle);
use CGI;
use strict;
use IO::Socket;
use VBMain::Config qw(%c);
$q = CGI-new;
print $q-header();
unless
.
What happens to the array at the end?
Should I have a
undef @upper_id ;
at the end ?
If I don't have this does it mean the array just stays in memory until
the child is stopped?
A the moment the max child life is set at 300.
Any help or pointers would be greatly appreciated.
regards
Scott
Should this work in a startup.pl file
my $hostname = $ENV{HOSTNAME} ;
from the prompt I can write echo $HOSTNAME and get the correct
hostname of the server.
But from within startup.pl I don't get it.
Scott
I think you need to compile the perl part of mod_perl with
PERL_STACKED_HANDLERS=1 or EVERYTHING=1
-Original Message-
From: Reid Sutherland [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 11:29 AM
To: [EMAIL PROTECTED]
Subject: undefined symbol: perl_get_cv
Hi,
I
.html page.
With Explorer the user actually has to close all Explorer Windows and start it
again to get another attempt at logging in.
regards
and thanks in advance
Scott
them to login again but can I get pass this stage?
Would using cookies by pass this problem?
regards
Scott
_
scott alexander
tietoverkkosuunnittelija
humak amk - finland
+358(0)407505640
Make sure that your PerlRequire comes BEFORE you actually want to 'use' the
module in your httpd.conf
Alternately, you could unshift(@INC, '/path/to/module') in your startup.pl
-Original Message-
From: Aaron Schlesinger [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 10:07 AM
I am getting errors when I try and run ASP on my Linux box...
Here is what pops up on the web page, I am not sure how to fix it or
what exactly is wrong with it. Any help you can offer will be
appreciated..
#!/usr/local/bin/perl5 asp [0]% ([0]%source)
Thanks,
Paul Scott
[EMAIL PROTECTED]
for getting this module properly
installed? Is there a special way that I need to build Apache/mod_perl?
Help.
Thanks,
Scott
On 11 Jan 2001, at 8:28, Scott Alexander wrote:
My original message was below.
I always understood each Apache child runs for a set number of
times then stops. But I checked my httpd.conf file and the
MaxRequestsPerChild is set to 0
Why would it ever ask for a new connect
I with 256 MB, mysql
3.22.27, Apache 1.3.14, mod_perl 1.24_01 Alll with just standard
installations. I haven't tweaked anything.
Any help would be appreciated.
regards
Scott
_____
scott alexander
tietoverkkosuunnittelija
humak amk - finland
+358(0)407505640
ached it's maximum life ?
How many connections can you have open from DBI to mysql ?
I have 9 db's with 10 children ~ 90 connections .
All use the same user.
Should I increase the memory from 256 MB to ?
I have read http://perl.apache.org/guide/databases.html
Scott
___
?
ie
$user = $ENV{REMOTE_USER} ;
my $location = "/users/". $user ;
my $require = "user " . $user ;
Scott
Perl
#!perl
$Location {"/users/supervisor"} = {
DAV = 'On',
AllowOverride = 'None',
Options = 'None',
AuthName = 'Test',
AuthType = 'Basic',
Auth
.
At the moment users can upload, download to their own directory via
a html interface but to add WebDav functionality would be great!
regards
Scott
Short answer: no.
Long answer: Since the httpd.conf file is read only at startup
(or other well defined times, such as a HUP signal), which
;)
regards
Scott
Perl
#!perl
$Location {"/users/supervisor"} = {
Limit = {"GET POST PUT DELETE "} = {
Require = 'supervisor',
},
} ;
__END__
/Perl
_____
scott alexander
tietoverkkosuunnittelija
humak amk - finland
+358(0)407505640
have any ideas about this?
Scott
Perl
#!perl
$Location {"/users/supervisor"} = {
DAV = 'On',
AllowOverride = 'None',
Options = 'None',
AuthName = '"Test"',
AuthType = 'Basic',
Auth_MySQL_Password_Table = 'users',
Auth_MySQL_Username_Field = 'user',
Auth_
"GET", 'Require' = "valid-user",
#'METHODS' = "POST", 'Require' = "valid-user",
},
} ;
__END__
/Perl
If I uncomment the last methods line then it doesn't work at all. But
with only one methods line like it is now it works.
How do I use
Apache-httpd_conf ?
regards
Scott
_
scott alexander
tietoverkkosuunnittelija
humak amk - finland
+358(0)407505640
a
response to this thread. I should have bought this book along time
ago!
Who chose the title for this book?
Scott
__
scott alexander
humak amk - humak poly technic
tietoverkkosuunnittelija
software developer
+358 (0)40 7505640
,
Scott
Hi,
Is it possible using the magic of mod_perl to set a hash array available for all
scripts without each script having to open the dbm file.
eg Each of my scripts tie a dbm file to a hash array (%output). (about 600
elements)
In some of my scripts I'm using functions recursively. Passing
Hi there,
On Tue, 31 Oct 2000, Scott Alexander wrote:
Is it possible using the magic of mod_perl to set a hash array
available for all scripts without each script having to open the dbm
file.
It's not really a mod_perl specific problem. You need to take care of
the possibility
Anyone got any ideas on how to produce graphs based on a CGI query and
dynamically incorporating the graphs into a web page?
of your resume, desired annual
salary, and a daytime contact number.
Regards,
Erica Scott
Technical Recruiter
Comforce Technical Services
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Tel: (800) 660-9544 x124
Pager: (949) 657-0403
www.comforce.com http://www.comforce.com
1 - 100 of 134 matches
Mail list logo