On 2 Aug 2000, (Randal L. Schwartz) wrote:
"Ron" == Ron Pero [EMAIL PROTECTED] writes:
Ron A few days ago I sent this suggestion to Drew Taylor, who is
Ron preparing a web page comparing the templating systems. He said he
Ron likes the idea. The Categorical "Congratulations: you wrote a
Sorry, I'm not a master. But I try to answer your question.
This is because your installation not successful. Try to install
mod_perl again with perl-5.6.0. I 've tried it and it worked good.
The script CGI you embedded is not running under mod_perl, but it run as a
common CGI.
The installation
Hello all,
I'm new to the list and I'm hoping that someone could help me and explain
what I'm doing wrong or how to fix this
I recently compiled mod_perl-1.24 and it can run modules that I program.
However I get a segmentation fault (11) when I use a :: to describe where
the module is.
I have installed mod_perl as you said. And I think I have installed it
successfully.
If it were not, when I start apache, it would report error for I added
PerlHandler Apache::PerlRun
Options +ExecCGI
in httpd.conf.
After you install the mod_perl, do you need to configure the
Hello all,
I'm new to the list and I'm hoping that someone could help me and explain
what I'm doing wrong or how to fix this
I recently compiled mod_perl-1.24 and it can run modules that I program.
However I get a segmentation fault (11) when I use a :: to describe where
the module
Kelly White wrote:
I am considering using either HTML::Mason or Apache::Registry for my CGI
scripts, but am not sure which is faster. Would the template/pages be cached
like the scripts are in Registry? Which would be faster? Obviously using
Mason would make cleaner code, but it wouldn't
Ok, I've been banging my head on this one for a while. A friend asked me to
look into this as a favor, and it's turned into two weeks of beating my
head against stuff I don't understand.
I installed his apache (1.3.11), and I even installed it with mod_perl, no
problems.
perl Makefile.PL
had
Hello all,
I have a problem using "acquire_write_lock" under
NT4.0, httpd does not repond after this call. There is no erro in
error_log.
httpd seems to wait something.
Apache_1.3.12
Perl_5.6.0
Apache-Session-1.51
Thank you for help
Olivier
On Thu, 3 Aug 2000, Geoffrey Young wrote:
Which raises an interesting question... Is there any way for
Makefile.PL
to determin if a particular option was enabled at mod_perl build time?
I've tried to do this, but without success. From what I can tell, you need
a live server to tie
Carl,
Thanks a lot! I finally got everything setup and to work. Of course, I
didn't even attempt 'make test' again, but I know for sure that things are
working fine, at least the initial few things.
Thanks again!
Carl, Pramod
Sorry for popping up late, I'm overwhelmed with emails and work,
I have installed the mod_perl
% tar xzvf apache_x.x.x.tar.gz
% tar xzvf mod_perl-x.xx.tar.gz % cd mod_perl-x.xx % perl
Makefile.PL APACHE_SRC=../apache_x.x.x/src \ DO_HTTPD=1
USE_APACI=1 EVERYTHING=1 % make make test make
install % cd ../apache_x.x.x % make install
The report
Yusun,
your questions don't get better if you post them over and over again. Can you
answer the following questions below:
1.) Have you read through the guide at http://perl.apache.org/guide/ ? Millions
of people have spent thousands of hours compiling the information in there. I'm
sure you will
Paul J. Lucas writes:
On Fri, 28 Jul 2000, Malcolm Beattie wrote:
Assuming the kernel only keeps track of the last fault position in the file,
it won't recognise that it's being read linearly (twice :-) and may well not
do the async read ahead and drop behind in page cache that it would
"Randal L. Schwartz" wrote:
"Ron" == Ron Pero [EMAIL PROTECTED] writes:
Ron A few days ago I sent this suggestion to Drew Taylor, who is
Ron preparing a web page comparing the templating systems. He said he
Ron likes the idea. The Categorical "Congratulations: you wrote a
Ron templating
Ken Williams wrote:
[EMAIL PROTECTED] (Gunther Birznieks) wrote:
I am afraid that while I agree, a check system is really quite useful to
me. Some things do need more quantification, but that can be done later.
eg lightweight vs heavyweight is subjective. But it can be broken up into
Are .htaccess files secure? I don't want users to be able to use
perl.../perl sections or any other mod_perl constructs (setting scripts
to run via the Registry, for example) in .htaccess files. However, I need
.htaccess files turned on so users can password protect directories
site-wide (so I
[EMAIL PROTECTED] (Geoffrey Young) wrote:
From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
Which raises an interesting question... Is there any way for
Makefile.PL to determin if a particular option was enabled at
mod_perl build time?
I've tried to do this, but without success. From what I
I think splitting the systems into tiers (simple, average, framework)
will also help to solve this problem. And of course, the feature
checklist will be a continually evolving creature.
Absolutely agree. There is no reason to reinvent the wheel. I don't
see why a complete app server system
On 8/3/2000 9:54 AM, Erich L. Markert at [EMAIL PROTECTED] wrote:
Damn good question...
I know the default apache config has a rule that prevents .htaccess
files from being accessed via a URL but not from within an embedded.
One way around this would be to use a database to handle
[EMAIL PROTECTED] (Rob Giseburt) wrote:
Are .htaccess files secure? I don't want users to be able to use
perl.../perl sections or any other mod_perl constructs (setting scripts
to run via the Registry, for example) in .htaccess files. However, I need
..htaccess files turned on so users can
Ron Pero wrote:
[cut]
* Place the templating systems into a spectrum of categories, from simplest
to most complex/developed.
It would look approximately like this (not attempting to be complete):
-Level one, simplest
* Simple tag/anchor replacement
* Embedded code
___cliff rayman___ wrote:
The perl interpreter has a one global symbol table called the stash where
all global variables are referenced by package and by variable name.
Since the interpreter does not go away when a script is recompiled, neither
does the stash or any of the items contained
On Thu, Aug 03, 2000 at 01:27:17PM +0100, Matt Sergeant wrote:
On Thu, 3 Aug 2000, Geoffrey Young wrote:
you need to specify EVERYTHING=1 or PERL_DIRECTIVE_HANDLERS=1 to enable
Apache::ModuleConfig, ie
perl Makefile.PL EVERYTHING=1
make
etc...
Which raises an interesting
-Original Message-
From: Michael Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 03, 2000 1:23 PM
To: [EMAIL PROTECTED]
Subject: Re: Apache::RefererBlock and ModuleConfig problem?
On Thu, Aug 03, 2000 at 01:27:17PM +0100, Matt Sergeant wrote:
On Thu, 3 Aug 2000,
[EMAIL PROTECTED] (Geoffrey Young) wrote:
-Original Message-
From: Michael Hall [mailto:[EMAIL PROTECTED]]
On Thu, Aug 03, 2000 at 01:27:17PM +0100, Matt Sergeant wrote:
Which raises an interesting question... Is there any way for
Makefile.PL to determin if a particular option
"Keith G. Murphy" wrote:
___cliff rayman___ wrote:
The perl interpreter has a one global symbol table called the stash where
all global variables are referenced by package and by variable name.
Since the interpreter does not go away when a script is recompiled, neither
does the stash
When you use the ADD_MODULE option to pass an additional
module to Apache, in the top Makefile.PL of mod_perl,
like
perl Makefile.PL ADD_MODULE=src/modules/jserv/libjserv.a
this will result in the wrong argument to the configure script
of Apache, like
... configure --enable-module=src
The
I have a general question about websites that use cookies to store session
information:
Why should they expire at all?
Let me give you an example. Yesterday, I was at Amtrak Rail's website to
purchase train tickets. Now, I multitask a lot, and sometimes I might
leave one browser window idle
Philip Mak [EMAIL PROTECTED] asked:
I have a general question about websites that use cookies to store session
information:
Why should they expire at all?
Let me give you an example. Yesterday, I was at Amtrak Rail's website to
purchase train tickets. Now, I multitask a lot, and
why is tie considered not very efficient i use it often.. what is 'a'
much better way?
Many modules which use tie also provide an object oriented interface. It's
more efficient to use the OO interface according to benchmarks I've seen
here.
If you have two modules, one which has an OO
they expire so if you leave the computer and someone else comes into the
office/internet cafe/or even your computer at home, they won't be able to
reestablish your session.
some sites don't expire their cookies (well they do, but like in 4 years,
MSN being the worst).
- Original Message
On Thu, 3 Aug 2000, ___cliff rayman___ wrote:
"Keith G. Murphy" wrote:
___cliff rayman___ wrote:
The perl interpreter has a one global symbol table called the stash where
all global variables are referenced by package and by variable name.
Since the interpreter does not go away
On Thu, 3 Aug 2000, Ken Williams wrote:
[EMAIL PROTECTED] (Geoffrey Young) wrote:
From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
Which raises an interesting question... Is there any way for
Makefile.PL to determin if a particular option was enabled at
mod_perl build time?
I've tried
I've got a section of our site where I want to force the user to
connect via ssl.
Inside of mod_perl, is there a parameter I can grab to see whether
the connection is ssl or not? Or a way to get the port number?
I went through the archives last night and couldn't find anything
near this. Am
Stas Bekman wrote:
On Thu, 3 Aug 2000, ___cliff rayman___ wrote:
"Keith G. Murphy" wrote:
___cliff rayman___ wrote:
The perl interpreter has a one global symbol table called the stash where
all global variables are referenced by package and by variable name.
Since the
[EMAIL PROTECTED] (Stas Bekman) wrote:
On Thu, 3 Aug 2000, Ken Williams wrote:
[EMAIL PROTECTED] (Geoffrey Young) wrote:
From: Matt Sergeant [mailto:[EMAIL PROTECTED]]
Which raises an interesting question... Is there any way for
Makefile.PL to determin if a particular option was enabled
"s" == scotta [EMAIL PROTECTED] writes:
s I've got a section of our site where I want to force the user to
s connect via ssl.
s Inside of mod_perl, is there a parameter I can grab to see whether
s the connection is ssl or not? Or a way to get the port number?
perldoc Apache
then scan for
On Thu, 3 Aug 2000, Perrin Harkins wrote:
On Thu, 3 Aug 2000, Drew Taylor wrote:
Gunther, has anyone found a good home for such a comparison to be
hosted? It would be cool if it were at perl.apache.org, or even better
at www.perl.com or something (since it's not mod_perl specific).
use Apache::URI ();
$r-parsed_uri-scheme;
returns http or https
[EMAIL PROTECTED] wrote:
I've got a section of our site where I want to force the user to
connect via ssl.
Inside of mod_perl, is there a parameter I can grab to see whether
the connection is ssl or not? Or a way to get the
"Keith G. Murphy" wrote:
Are there any browsers that do not actually handle the naked ''
correctly? I confess that I also missed this, though I do understand
the reason: the first one's invalid HTML. It just seems to always work.
Think about this:
A
Stas Bekman wrote:
On Thu, 3 Aug 2000, Perrin Harkins wrote:
On Thu, 3 Aug 2000, Drew Taylor wrote:
Gunther, has anyone found a good home for such a comparison to be
hosted? It would be cool if it were at perl.apache.org, or even better
at www.perl.com or something (since it's
On Thu, 3 Aug 2000, ___cliff rayman___ wrote:
Stas Bekman wrote:
On Thu, 3 Aug 2000, ___cliff rayman___ wrote:
"Keith G. Murphy" wrote:
___cliff rayman___ wrote:
The perl interpreter has a one global symbol table called the stash where
all global variables are
Stas Bekman wrote:
On Thu, 3 Aug 2000, Perrin Harkins wrote:
On Thu, 3 Aug 2000, Drew Taylor wrote:
Gunther, has anyone found a good home for such a comparison to be
hosted? It would be cool if it were at perl.apache.org, or even better
at www.perl.com or something
Ok folks, I am stumped.
I am writing an authentication handler for our site and so far so good-it is
coming on line. It makes sense. What does not make sense is how can
I log myself off without having to exit the browser? If someone can point me
in the right direction I shall be in your debt.
[this goes off the list]
BTW, you probably don't remember me, but we briefly met at ApacheCon and
Do you have a picture online. I'm sure I'll recall once I see you again!
I attended your mod_perl classes there (and enjoyed them). :-)
Thanks a lot!
501 N. College Street
Charlotte, NC
I apologize, I forgot to strip the list's address when sending this.
On Thu, 3 Aug 2000, Stas Bekman wrote:
[this goes off the list]
...snipped...
_
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
On Thu, 3 Aug 2000, ___cliff rayman___ wrote:
use Apache::URI ();
$r-parsed_uri-scheme;
returns http or https
Not really, you can spoof both:
http://thingy.kcilink.com/modperlguide/config/Knowing_the_proxy_pass_ed_Connec.html
[EMAIL PROTECTED] wrote:
I've got a section of our site
On Thu, 3 Aug 2000, Stas Bekman wrote:
use Apache::URI ();
$r-parsed_uri-scheme;
returns http or https
Not really, you can spoof both:
Does the user have to spoof it deliberately in order for the wrong one to
be detected?
If spoofing requires the user to do it on purpose, then in
I authenticate against a database but need to carry more information than
just their name so if I have read the readme at CPAN correctely, this just
may do the trick. Thanks to all who have written me. -ar
depending on how you're handling the session information you may be able
to just delete
On Thu, 3 Aug 2000, Stas Bekman wrote:
On Thu, 3 Aug 2000, ___cliff rayman___ wrote:
use Apache::URI ();
$r-parsed_uri-scheme;
returns http or https
Not really, you can spoof both:
http://thingy.kcilink.com/modperlguide/config/Knowing_the_proxy_pass_ed_Connec.html
[EMAIL
And if you're on one of those systems that let's you log in once and
then add anything you like to your shopping cart (and purchase it,
since your account already has your credit card number), then you might
*want* it to log you out after just a few minutes if you get up for
another espresso and
Angel,
I recommend Apache::AuthCookie. This has worked really well for me, and
allows me to use an HTML form which is much nicer for my users than the
default dialog box.
FWIW - I sub-classed AuthCookie to authenticate against an LDAP directory
(using Net::LDAP)
Ok, so what is the PORT variable and how do i access it?
Scott
On 3 Aug 2000, at 22:08, Stas Bekman wrote:
Not really, you can spoof both:
http://thingy.kcilink.com/modperlguide/config/Knowing_the_proxy_pass_e
d_Connec.html
A simple (well, maybe not exactly) question: is there a way to allow normal users to
run their custom ASP scripts without endangering too much system's security (such as
apache suexec or php's safe mode, or even cgiwrap..)? Thanks in advance,
Andrew Tucker
Stas Bekman wrote:
Sure, no problem. One of the current cvs access holders can commit the
first release for you, and then you will be able to continue by
yourself. Obviously getting all the support that you might need on the
way.
Having recently discovered the joy of CVS, I look forward to
[EMAIL PROTECTED] wrote:
I recommend Apache::AuthCookie. This has worked really well for me, and
allows me to use an HTML form which is much nicer for my users than the
default dialog box.
FWIW - I sub-classed AuthCookie to authenticate against an LDAP directory
(using Net::LDAP) but you
$port=$r-get_server_port();
[EMAIL PROTECTED] wrote:
Ok, so what is the PORT variable and how do i access it?
Scott
On 3 Aug 2000, at 22:08, Stas Bekman wrote:
Not really, you can spoof both:
http://thingy.kcilink.com/modperlguide/config/Knowing_the_proxy_pass_e
d_Connec.html
--
On Thu, 3 Aug 2000, Drew Taylor wrote:
Having recently discovered the joy of CVS, I look forward to it. Awfully
nice to able to roll back to a previous version - although (knock on
wood!) I haven't had to use it yet.
I can help if you get stuck.
I hope that you write the doc is POD :)
I
Hello,
I am having a little problem attempting to install
mod_perl. I build it into apache using APACI
(flexible) perform a 'make' and everything goes fine.
When I type 'make test' then I get the following:
make[1]: Entering directory
`/usr/local/mod_perl-1.24/Util'
make[1]: Leaving
Perrin Harkins wrote:
On Thu, 3 Aug 2000, Drew Taylor wrote:
Having recently discovered the joy of CVS, I look forward to it. Awfully
nice to able to roll back to a previous version - although (knock on
wood!) I haven't had to use it yet.
I can help if you get stuck.
I hope that you
Leo Gonzalez wrote:
Hello,
I am having a little problem attempting to install
mod_perl. I build it into apache using APACI
(flexible) perform a 'make' and everything goes fine.
When I type 'make test' then I get the following:
--snip--
Syntax error on line 3 of
"Drew" == Drew Taylor [EMAIL PROTECTED] writes:
Drew I suppose I could... I was planning on having a nice checklist of
Drew features/systems that would be a pain to do in a fixed width font. An
Drew HTML table would make my life MUCH easier there. Is there something in
Drew POD that makes
At 05:10 PM 8/3/00 -0700, Perrin Harkins wrote:
On Thu, 3 Aug 2000, Drew Taylor wrote:
Having recently discovered the joy of CVS, I look forward to it. Awfully
nice to able to roll back to a previous version - although (knock on
wood!) I haven't had to use it yet.
I can help if you get
Sorry for answering late. I slept for a while.
I have answered the questions you asked.
By the way, did you got to the http://perl.apache.org/guide/ by youselves?
If you did, you should notice, last time, all I wrote such as the install
steps and the CGI script are from there.
The only purpose I
At 05:33 PM 8/3/00 -0700, Randal L. Schwartz wrote:
"Drew" == Drew Taylor [EMAIL PROTECTED] writes:
Drew I suppose I could... I was planning on having a nice checklist of
Drew features/systems that would be a pain to do in a fixed width font. An
Drew HTML table would make my life MUCH easier
I'm experiencing a strange variable scope issue.
Normally, I expect that lexical 'my' vars declared at the package
scope (i.e. at the top of a file), should be visible to subroutines
declared in the same package, and should maintain their values between
calls to those subroutines.
Under
We use mod_proxy to set up a reverse proxy to help regulate
loads on our backend mod_perl servers. Unfortunately,
whenever we change images on these backends, the change
will not be immediately reflected until the proxy cache
expires for that image (every 4 hours).
Currently, in order to
On Sun, 30 Jul 2000, mgraham wrote:
Normally, I expect that lexical 'my' vars declared at the package
scope (i.e. at the top of a file), should be visible to subroutines
declared in the same package, and should maintain their values between
calls to those subroutines.
If you are running
On Thu, 3 Aug 2000, Matthew Lewinski wrote:
We are wondering if there is a way to tell mod_proxy to clear
its cache aside from doing a server restart. We have tried
sending it signals to no avail, and removing the cache files
manually causes the proxy server to hang.
Doesn't the built-in
Here are the build steps done within the mod_perl dir:
perl Makefile.PL APACHE_SRC=../apache_1.3.12/src
USE_APACI=1 NO_HTTPD=1 PREP_HTTPD=1 EVERYTHING=1
make
...everything good!
make test
...Syntax error on line 3 of
/usr/local/mod_perl-1.24/t/conf/httpd.conf:
Invalid command '=pod', perhaps
Perl -V output:
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=linux, osvers=2.2.5-22smp, archname=i386-linux
uname='linux porky.devel.redhat.com 2.2.5-22smp #1 smp wed jun 2
09:11:51 edt 1999 i686 unknown '
hint=recommended, useposix=true,
Thanks! You solve my problem.
I had set
directory /home/*/cgi-bin
SetHandler cgi-script
So, though I set SetHandler perl-script in Location /home/my/cgi-bin, it
still worked as cgi-script.
Now I change the directory to /usr/local/apache/htdocs/test. Then it works
well.
The report is
It's not the cookie that's expiring, per se, but the server side
information that corresponds to the cookie. Indeed the fact that
the site could tell you that the session had expired indicates that
the cookie itself did not expire.
As to why they must/should expire, remember that system
Angel R. Rivera ([EMAIL PROTECTED]) said something to this effect:
Ok folks, I am stumped.
I am writing an authentication handler for our site and so far so good-it is
coming on line. It makes sense. What does not make sense is how can
I log myself off without having to exit the browser?
On Thu, 3 Aug 2000, Philip Mak wrote:
On Thu, 3 Aug 2000, Stas Bekman wrote:
use Apache::URI ();
$r-parsed_uri-scheme;
returns http or https
Not really, you can spoof both:
Does the user have to spoof it deliberately in order for the wrong one to
be detected?
If
75 matches
Mail list logo