Here's a simple handler that will set the AuthType and AuthName
dynamically and handle the authentication for you. This handler will
prompt you for a password when you try to acess /manual with the
AuthName, "The Manual" and prompt with the AuthName "The Icons" when you
try to access /icons. These
Souds like you need to include the library where ASP.pm is located in your
PATH.
Shold be something like
G:\Program Files\Apache Group\Perl\site\5.6.0\lib\Apache
Rod
- Original Message -
From: "Phong Le Quoc" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 27, 2000 7
Please explain again how to get my AuthHandler called without setting
AuthName or AuthType in httpd.conf.
Thanks.
-Todd
On Wed, 27 Sep 2000, Carlos Ramirez wrote:
> By choosing to use your custom AuthHandler, you basically override Apache's way of
> handling the particular phase, in this case
Hi Guys
I am in serious diffs here attempting to port a legacy system. We use a
custom tag system with template pages and a custom parser. This has been
working for several years in a modd_cgi environment, but due to
performance problems is being ported to mod_perl. The parser has been
ported and
On Wed, Sep 27, 2000 at 04:12:23PM -0700, Clayton Mitchell wrote:
> In a handler I want to process all requests and parse the document
> requested and spit it out after marking it up.
>
> I have put in place this code, but I don't see how to access the actual
> requested document.
>
> I'm hoping
Sorry to ask such a newbie question, but I can't figure this out.
In a handler I want to process all requests and parse the document
requested and spit it out after marking it up.
I have put in place this code, but I don't see how to access the actual
requested document.
I'm hoping there's alre
On 20 Sep 2000 [EMAIL PROTECTED] wrote:
> I did the same thing (static linking) and it now also works.
>
> FYI, I was using the Apache httpd out of the box from Redhat. It had
> been compiled with http_core, mod_so and no other modules. All modules
> (including mod_perl) were dynamically loade
On Wed, 20 Sep 2000, Tobias Dittrich wrote:
> Hi,
>
> I am running Apache Server with mutiple hosts (IP as well as name based) on
> a SuSe Linux 6.4 machine. Some of the hosts are running modperl scripts as
> well as perl scripts at the same time and they do share the same global
> variables (su
On Thu, 14 Sep 2000, Ben Turner wrote:
>
> hi all,
>
> this afternoon i compiled a fresh httpd (apache 1.3.12), together with
> mod_perl 1.24. i'm on Solaris 8, running perl 5.6.0.
>
> after compiling httpd, i'm getting segfaults whenever i do a normal http
> request. for instance:
stacktrace
On Wed, 13 Sep 2000, Eamon Daly wrote:
> We've been using mod_perl/DBI for our entire website for just
> under a year now (over 1.5M pages a day-- I owe the mod_perl
> folks a hell of a lot of beer), and have suddenly started
> seeing a small number of "Bad free() ignored" lines appear in
> the e
By choosing to use your custom AuthHandler, you basically override Apache's
way of handling the particular phase, in this case the authentication phase.
So you must handle prompting the user and also checking the password.
You might want to read the Apache Guide (http://perl.apache.org/) on
how
On Wed, 13 Sep 2000 [EMAIL PROTECTED] wrote:
>
> Hi all,
>
> I have some problems with installig mod_perl,
> environment:
> Redhat 6.1
> perl 5.005_03 (i386 from RPM)
> mod_perl-1.24 (source)
> apache-1.3.12 (source)
>
> In file included from mod_perl.h:92,
> from mod_perl
On Mon, 11 Sep 2000, [iso-8859-1] François Chenais wrote:
> Hello
>
> I have a Segmentation fault error with mod perl !
> Any idea ?
> (gdb) run /opt/apache/lib/perl/WCM.pl
> Starting program: /usr/bin/perl /opt/apache/lib/perl/WCM.pl
...
> Program received signal SIGSEGV, Segmentation fault.
At 11:52 AM -0700 9/27/2000, Doug MacEachern wrote:
>On Mon, 4 Sep 2000, Michael Blakeley wrote:
>
>> I've been running with AP616 and Taint On for three days now, and it
>> seems to have fixed my problems. I hope so. I really hope so.
>
>still looking good? would be good to know if this isn't
On Wed, 30 Aug 2000, erich oliphant wrote:
> Hi,
> I have a script that bombs under modperl when it tries to 'use POSIX'. I
> get the same message when I try to preload it in the httpd.conf. Here's the
> error:
> --
> [Tue Aug 29 15:59:21 2000] [error] Can't load
> '/usr/local/lib/perl5/5.6.
Thanks for the help. I was hoping that Apache would check the password for
me but this should work.
Now, how do I get Apache to run my PerlAuthenHandler without setting the
AuthType or AuthName in httpd.conf?
Do I need to do the Authentication in a PerlHandler?
-Todd
On Wed, 27 Sep 2000, Carl
I am having some problems with Apache::Include.
When I include more than one file with it, the httpd seg faults.
The script can be as simple as this:
#!/usr/bin/perl
use Apache::Include ();
print "Content-type: text/html\n\n";
Apache::Include->virtual('/perl-bin/helloworld');
Apache::Include->vi
I installed Apache::ASP. When test with a simple asp
page. I got an internal server error and the error_log
says:
[Wed Sep 27 02:11:07 2000] [error] Can't locate
Apache/ASP.pm in @INC (@INC contains: G:/Program
Files/Apache Group/Perl/5.6.0/lib/MSWin32-x86
G:/Program Files/Apache Group/Perl/5.6
I am having some problems with Apache::Include.
When I include more than one file with it, the httpd seg faults.
The script can be as simple as this:
#!/usr/bin/perl
use Apache::Include ();
print "Content-type: text/html\n\n";
Apache::Include->virtual('/perl-bin/helloworld');
Apache::Include->vi
1. Oh, I mis-interpreted your question. I thought you already had a list
of virtual directories with the
AuthNames defined.
You can set the AuthName by sending them in the server response header
field:
WWW-Authenticate Basic $realm
So the first request to /companyA, you AuthHandler will respo
On Wed, 6 Sep 2000, erich oliphant wrote:
> I am replacing a CGI shell script with a modperl script. At one point in
> the shell script subprogram is called. The HTML form that calls the script
> calls it via a POST. As such the params are available via STDIN. The
> subprogram call (which
take 2 on that patch, this one adds a check so ap_setup_client_block() is
only called once. with this part of the fix you can call $r->content
multiple times without hanging:
my $data = $r->content;
$data = $r->content;
however, any calls to $r->content after the first will return undef.
(unles
On Wed, 6 Sep 2000, Reif Peter wrote:
> I am using a self written mod_perl module that does proxy requests. It acts
> as content handler and fetches the requestet documents via LWP::UserAgent.
> The program works fine but when the request is a POST request and the
> response is a redirection (301
Problems with your suggestion:
1. The realm will not be known until I get path_info so
directives will not work.
2. How can I get Perl to do the password lookup in the dynamically
selected AuthUserFile?
Thanks for the help.
-Todd
On Wed, 27 Sep 2000, Carlos Ramirez wrote:
> You can you use
i think you'll find the answer here.
http://www.geocrawler.com/archives/3/182/2000/5/0/3817939/
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
MJ M wrote:
> Hello,
>
> I have recently made the following upgrade:
>
> apache-1.3.6 --> apache-1.3.12
> perl-5.005_02 --> perl-5.6
> mod_perl-1.1
On Mon, 4 Sep 2000, Michael Blakeley wrote:
> I've been running with AP616 and Taint On for three days now, and it
> seems to have fixed my problems. I hope so. I really hope so.
still looking good? would be good to know if this isn't a problem on the
mod_perl side :)
On Fri, 1 Sep 2000, Joseph Sirucka - Netics wrote:
> Hi People
>
> I've been trying to compile mod_perl for solaris 8 recently and I
> recompiled perl 5.6.0 with _ubincompat5005 and -Uuselargefiles.
>
> But no matter what I do with with mod_perl to compile it at
> perl Makefile.PL blah i get th
On 31 Aug 2000 [EMAIL PROTECTED] wrote:
> Btw: I've been playing with the keep-alive stuff you left lying around
> in Connection.xs. The naive implementation I made seems to work fine,
> once the headers are sent to the client. Are you planning to add them
> in the next mod_perl release?
yo
On Thu, 31 Aug 2000, erich oliphant wrote:
> Hi,
> I am porting a shell script CGI to mod_perl. It uses a great many
> environment variables. I'm new to the project so figuring out which
> variables to pass is rather tedious. Does PassEnv support wildcards
> (PassEnv *) or some option to pa
You can you use Location to specify seperate AuthUserFile's like so:
AuthType Basic
AuthName CompanyA
AuthUserFile path/to/CompanyAUsersFile
AuthType Basic
AuthName CompanyN
AuthUserFile path/to/CompanyNUsersFIle
Or you can write your own AuthHandler that lookups up AuthName, AuthUserF
see the message i just posted:
[EMAIL PROTECTED]">http://forum.swarthmore.edu/epigone/modperl/dorsnoidwimp/[EMAIL PROTECTED]
On Sat, 16 Sep 2000, Norbert Csongradi wrote:
> Hi !
>
> I created an encryption filter based on perlfilter
> (CPAN/modules/by-module/Filter by Paul Marquess).
> It's wor
On Wed, 27 Sep 2000, Jiho Hahm wrote:
> Hi, I just packaged up and sent to Doug the changes I made to mod_perl
> and libapreq to make libapreq work on Win32, but I haven't had a chance
> to test it thoroughly. I know there are at least several of you out
> there who want to use Apache::Request o
On Thu, 31 Aug 2000, Derrick wrote:
> Dear all,
> This is my second time sending this email with the same content. If anybody
> know how to fix my problem, please let me know. Thanks.
> I am trying to install mod-perl on my freebsd 4.0 server with stronghold and
> lastest modperl from cvs. I k
On Thu, 31 Aug 2000, Todd Caine wrote:
> Hi, folks.
>
> I'm having a problem building a statically linked perl (yes,
> I know, but I
> need it for XS debugging). MakeMaker is trying to link the
> static binary
> with libapreq.a, which is okay, but libapreq.a doesn't
> export a bootstrap
> symbo
On Thu, 10 Aug 2000, Leonardo Madrigal wrote:
> Hi everyone!
>
> I have a bunch of scripts that i need to protect (source code), i do
> know that Filter::decrypt is not the best tool around for this
> matter...but still i want to use it.
>
> I have those scripts running under Apache::Registry
This is Way Off Topic, but I'm guessing module writers here may be able to
help. I posted this question a few other places first without luck, so I
apologize if it looks familiar.
I'm trying to figure out how to keep MakeMaker from building a Makefile
that access subdirectories. I like keepin
Hi, I just packaged up and sent to Doug the changes I made to mod_perl
and libapreq to make libapreq work on Win32, but I haven't had a chance
to test it thoroughly. I know there are at least several of you out
there who want to use Apache::Request on Win32, so if you want to
volunteer as a teste
i've added an $r->user method as an alias to $r->connection->user,
now that `user' hangs off of the request_rec rather than
request_rec->connection in Apache 2.0
so by the time mod_perl-2.0 is ready to use, auth modules can work with
both versions. for backwards compat you can use something like
On Thu, 3 Aug 2000, Nelson Oliveira wrote:
> 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
>
When I set PerlSendHeader to Off in my perl.conf it doesn't send headers,
which
is good. The bad part is that it seems to break socket persistence for some
reason.
When I have PerlSendHeader set to On, I can open a socket with my test client,
and make multiple queries on the same socket.
Any id
I have read chapter 6 of the modperl book but still don't know how to set
up authenification the way I want. I would like to use Basic
authentification to protect virtual documents. The trick is that I want
to set AuthName and AuthUserFile based on path_info.
For example:
http://virtual/company
Chris Winters wrote:
>
> * Keith G. Murphy ([EMAIL PROTECTED]) [000926 18:43]:
> > I'm running Apache 1.3.9 with mod_perl embedded, on Debian GNU/Linux.
> >
> > I have the following lines towards the end of my httpd.conf:
> >
> > PerlSetEnv PERL5LIB /usr/local/MyPerl/lib
> > PerlRequire startup.p
Stas Bekman wrote:
>
> On Tue, 26 Sep 2000, Keith G. Murphy wrote:
>
> > I'm running Apache 1.3.9 with mod_perl embedded, on Debian GNU/Linux.
> >
> > I have the following lines towards the end of my httpd.conf:
> >
> > PerlSetEnv PERL5LIB /usr/local/MyPerl/lib
> > PerlRequire startup.pl
> > Inc
Matt Sergeant wrote:
>
> On Wed, 27 Sep 2000, Matthew Byng-Maddick wrote:
>
> > > We all have to do our part to evangelize mod_perl more. I think ISPs are
> > > really key here as I think I may have mentioned before. If you get the ISPs
>
> Actually I think the people we need to get involved ar
Hello,
I have recently made the following upgrade:
apache-1.3.6 --> apache-1.3.12
perl-5.005_02 --> perl-5.6
mod_perl-1.18 --> mod_perl-1.24
Except this upgrade, nothing else was changed. Since then, I frequently get
the following message in the Apache error
log (this message never occured be
On Wed, 27 Sep 2000, Matt Sergeant wrote:
> On Wed, 27 Sep 2000, Matthew Byng-Maddick wrote:
> Actually I think the people we need to get involved are the web site
> builders - the larger companies offering dynamic web content creation. We
> also need some more mainstream tools, the oft-requested
On Wed, 27 Sep 2000, Matthew Byng-Maddick wrote:
> > We all have to do our part to evangelize mod_perl more. I think ISPs are
> > really key here as I think I may have mentioned before. If you get the ISPs
Actually I think the people we need to get involved are the web site
builders - the larg
On Wed, 27 Sep 2000, Gunther Birznieks wrote:
> At 10:28 PM 9/26/2000 +0200, Alexander Farber (EED) wrote:
> >Doug MacEachern wrote:
> > > > modperl is the best kept secret on the net. Shame!
> > > seems to generate plenty of list traffic for a "secret" ;)
> >Don't you all think, that mod_perl isn
"One or two mod_perlers could do the
work of a java shop of ten in half the time."
Can we prove this ?
Does anyone have any real evidence to support this claim.
I hope so because I need to defend my use of mod_perl in developing the
intranet site for my company ;-)
49 matches
Mail list logo