Stu,
You don't need mod_perl to run PERL programs with Apache
It's not clear what the problem is, but it sounds like you can get PERL
programs to run if they are called .cgi but not .pl
If so, try adding this line to httpd.conf
AddHandler cgi-script .pl
regards
John
stu seven [EMAIL
Hi Stu,
On Sat, 2 Feb 2002, stu seven wrote:
1) Is installing mod_perl necessary to running perl scripts
No, but there are good reasons for using mod_perl to do it.
2) [snip]can I add the PerlSendHeader On to Apache without
running mod_perl ?
No, it will cause Apache to grumble about
The Sapphire Cat wrote:
Documentation for these functions reads as follows:
$r-get_basic_auth_pw
If the current request is protected by Basic authentication, this
method will return 0, otherwise -1. [snip]
ok, that's unclear (and not 100% correct, either). I'd change it to:
If the
1 - Why was no documentation for this method found in the manpage for
Apache::Request? Where should I have looked for docs on this?
perldoc Apache
There are some Apache API docs on ap_sub_req_lookup_uri here:
http://httpd.apache.org/docs/misc/API.html#req_orig
Though they may not
-Original Message-
From: princepawn
To: [EMAIL PROTECTED]
Sent: 8/26/01 1:29 PM
Subject: questions on $r-lookup_uri
1 - Why was no documentation for this method found in the manpage for
Apache::Request? Where should I have looked for docs on this?
man Apache
2 - I did manage to
It's pretty easy to get mod_perl running on Apache for windows because one
of the list members regularly makes a full binary distro available of
apache/mod_perl/perl all bundled together.
I think there is a link from the perl.apache.org homepage but I am not
sure. I've set it up before
I'd convert each 'module' into a real Perl module( YourPackage::Search.pm
etc ) and then configure it at the directory level.
Location /search
SetHandler perl-script
PerlHandler YourPackageSpace::Search
/Location
Or you can just take your script and throw it into a single module's
Purcell, Scott [EMAIL PROTECTED] wrote:
I was hoping to hear some simple input from people who have
architected good, sound sites, and was hoping for some good feedback, or
some old sample code that I can study and find out how the other half live.
Well, I can give some things I've tried to live
Is there a good tutorial or book on the subject of constructing Perl
modules? I too have done some of this and would like to create actual
modules instead of required subroutines.
Ron
John Armstrong wrote:
I'd convert each 'module' into a real Perl module( YourPackage::Search.pm
etc ) and
The Eagle book ( linked to from http://perl.apache.org/ ) is a good
resource.
Generally speaking though you can get what you need to start in the guide (
http://perl.apache.org/guide/ ), its pretty simple to get started.
John-
On 6/11/01 12:42 PM, Ron Beck [EMAIL PROTECTED] wrote:
Is there
Cc: '[EMAIL PROTECTED]'
Subject: Re: Questions Concerning Large Web-Site
Is there a good tutorial or book on the subject of constructing Perl
modules? I too have done some of this and would like to create actual
modules instead of required subroutines.
Ron
John Armstrong wrote:
I'd convert
[EMAIL PROTECTED] (Ron Beck) wrote:
Is there a good tutorial or book on the subject of constructing Perl
modules? I too have done some of this and would like to create actual
modules instead of required subroutines.
I've written one, at http://www.mathforum.com/~ken/perl_modules.html
It's
On Mon, 11 Jun 2001, Ron Beck wrote:
Is there a good tutorial or book on the subject of constructing Perl
modules? I too have done some of this and would like to create actual
modules instead of required subroutines.
There's a good intro (though I'm biased) on http://take23.org/
--
There is a tutorial here http://savage.net.au/Perl-tutorials.html#tut-1
on a Perl program which generates the source of a module, installs and tests it.
Cheers
Ron Savage
[EMAIL PROTECTED]
http://savage.net.au/index.html
[snip]
Is there a good tutorial or book on the subject of constructing
Hi
First of all, I ask my apologises with the list. In the text:
could I do it (I don't like the list, but I couldn't find this information
in the documentation).
I wanted to say: I don't want to bother the list with my question, but I
couldn't find this information in the documentation :-)
On Tue, 23 May 2000, Michael Schout wrote:
On Sun, Jun 29, 2036 at 12:21:26AM +, Edgardo Szulsztein wrote:
Hi again
It worked great. Thanks for the help!
Now, I would like to make it work with the postgresql database server. How
could I do it (I don't like the list, but I
Hi again
It worked great. Thanks for the help!
Now, I would like to make it work with the postgresql database server. How
could I do it (I don't like the list, but I couldn't find this information in
the documentation).
Regards
"Bruce W. Hoylman" [EMAIL PROTECTED] wrote:
"Edgardo" ==
On 22 May 2000, Edgardo Szulsztein wrote:
Now, I would like to make it work with the postgresql database server. How
could I do it (I don't like the list, but I couldn't find this information in
the documentation).
See the Apache::iNcom::Session module on CPAN. It does exactly this.
-
"Edgardo" == Edgardo Szulsztein [EMAIL PROTECTED] writes:
Edgardo Then, I tried to use FileStore, and it worked
Edgardo fine. However, it stores the sessions files in the /tmp
Edgardo directory. How could I change the location of the sessions
Edgardo file in the httpd.conf
Hi,
a couple of questions.
I can't get the $ENV{REMOTE_USER} var., after succesfull
authentification - there is nothing in it.
Here is the configuration :
VirtualHost 127.0.0.1
...blah
.blah ...
Directory /work/volunteer/members
AuthDBUserFile /work/.volunteers.db
1) http://perl.apache.org/guide/security.html#Authentication_code_snippets
2) http://perl.apache.org/guide/snippets.html#Handling_cookies
3) http://perl.apache.org/guide/porting.html#Using_Apache_StatINC_for_Develo
HTH
--Geoff
-Original Message-
From: raptor [SMTP:[EMAIL
21 matches
Mail list logo