AuthcNDS module - some feedback please.

1999-11-30 Thread Scott Fagg
I have cobbled together a working AuthcNDS module that allows me to authenticate users against the netware NDS tree within our office. My apache server is running on a RH5.2 box with some of the Caldera netware RPMs installed. Server Version: Apache/1.3.9 (Unix) mod_fastcgi/2.2.2 PHP/3.0.12 mo

Re: Apache::ASP (Newbie Install Issues)

1999-11-30 Thread Joshua Chamas
"N. Blaine Morgan" wrote: > > ># Generic apache directives to make asp start ticking. > > > > SetHandler perl-script > > PerlHandler Apache::ASP > > PerlSetVar Global /tmp > > > > When I commented out the > # PerlSetVar Global /tmp > > I it worked. > > I thou

Re: Apache::ASP (Newbie Install Issues)

1999-11-30 Thread N. Blaine Morgan
At 07:57 PM 11/30/99 -0800, Joshua Chamas wrote: >The global.asa will be found in Global, which you defined >to be /tmp/asp. If you want the ./site/eg stuff to work, you need >to copy over its .htaccess file, or set your Global to . >for starters. > >For more info, check out perldoc Apache::ASP >

Re: User registration/login module...

1999-11-30 Thread Bill Desjardins
Arnel, I am in the process of writing the same login methods you want. It is mostly done and does not use Apache for basic Auth. The site completely generated from A MySQL database and uses a TransHandler to sort out the authorization. I do the Auth in the TransHandler so I can rewrite the URL as

Re: User registration/login module...

1999-11-30 Thread Ken Williams
I do that with Apache::AuthCookie, and that seems to be the standard thing to do with it. Works fine. I've never used Authen::Ticket, though. [EMAIL PROTECTED] (Arnel Estanislao) wrote: >Hello, > >Is there a "best way" to accomplish the following user registration/login >system: > >- User att

Re: Apache::ASP (Newbie Install Issues)

1999-11-30 Thread Joshua Chamas
"N. Blaine Morgan" wrote: > > > Alias /pasp/ /usr/home/httpd/pasp/ > > DirectoryIndex index.html index.shtml index.cgi > SetHandler perl-script > PerlHandler Apache::ASP > PerlSetVar Global /tmp/asp > > > Ok, now for my current snag.. > > I put the example stuff in /usr/h

User registration/login module...

1999-11-30 Thread Arnel Estanislao
Hello, Is there a "best way" to accomplish the following user registration/login system: - User attempts to visit a password-protected section of the site. - If user is not yet authenticated (using DBI/DBD::Pg), user is redirected to a login/registration page. (We are NOT using Basic authenti

Apache::ASP (Newbie Install Issues)

1999-11-30 Thread N. Blaine Morgan
Ok, I have mod_perl installed I then picked up Apache::ASP from CPAN built it and all the required modules. I have the following entries in my Apache configuration files AllowOverride All DirectoryIndex index.html index.shtml index.cgi Options ExecCGI Alias /pasp/ /usr/home/httpd/pasp/

Re: Modperl script doesn't increment access log

1999-11-30 Thread G.W. Haywood
Hi there, On Tue, 30 Nov 1999, Jim Goodwin wrote: > Because of the nature of mod perl, we only get one 'hit' in the > Stronghold access logs when the .pl scripts are run. Yup, that's right, unless the script doesn't exist, in which case my acces_log looks like this for example: [30/Nov/1999:1

RE: How to pass and process a large array of strings in HTMEmbperl

1999-11-30 Thread Gerald Richter
> > I'm trying to pass a large array of strings to a Embperl document > whose sole > purpose is to display fatal errors. The method errors() returns > an array reference > to an array that contains the following strings: >[..] > I've tried the following: > > href="http://[+$ENV{SERVER_NAME}+]/er

Re: Modperl script doesn't increment access log

1999-11-30 Thread darren chamberlain
Hi Jim, One thing you could try--this is a hack, not a solution--is to use Apache::Log, create a subroutine to be used as a PerlLogHandler, and use $r->push_handler to make sure it gets called. Or create a separate module and set that as the PerlLogHandler in the conf file. Or, even more of a ha

Modperl script doesn't increment access log

1999-11-30 Thread Jim Goodwin
Hello, I posted this previously, but I may not have worded it properly. I'll try again here.. Sorry for the inconvenience - I won't post it again. We are running a Stronghold server 2.4.2 and mod perl 1.19. Our mod perl scripts are run as .pl, and they work fine. Because of the nature of mod p

How to pass and process a large array of strings in HTMEmbperl

1999-11-30 Thread Erich L. Markert
I'm trying to pass a large array of strings to a Embperl document whose sole purpose is to display fatal errors. The method errors() returns an array reference to an array that contains the following strings: Mail address error: Missing street address Mail address error: Missing city/province M

Re: Eagle Book - mod_hello.c, hello.pl :)

1999-11-30 Thread Michael Dearman
Gerd Kortemeyer wrote: > > Michael Dearman <[EMAIL PROTECTED]> wrote: > > > I've come close to figuring this one out buy following some of the > > Hello $ENV{REMOTE_HOST} > > > Stas Bekman wrote: > > > This is an easy prove that %ENV is set (while not all variables are > > present as with mo

Re: Limitations of DBI::ProxyServer (was: pool of DB connections?)

1999-11-30 Thread Jochen Wiedmann
"G.W. Haywood" wrote: > I'd like to see a mode added to DBI::ProxyServer whereby a single > server process serviced multiple clients in a round-robin manner. > Obviously in this mode there's a risk of slow queries cloging up > (blocking) the proxy, but for many applications it would still be > ve

RE: Limitations of DBI::ProxyServer (was: pool of DB connections?)

1999-11-30 Thread Young, Geoffrey S.
Hi all... I never took a look at the DBI::ProxyServer code, but I tried to whip up something similar to the round-robin format that Tim suggests (to little avail). Although my reasons were different than the original start of this thread, there were two bits of functionality I was trying to get

Re: Embperl and header output

1999-11-30 Thread Erich L. Markert
The code works properly it was just a problem with display_errors_as_html() method that was sending data to STDOUT. Thanks to Gerald for showing me the error of my ways... He pointed out that I needed to set the EMBPERL_OPTIONS to redirect output to the Embperl stream... This solved my problem.

Re: Limitations of DBI::ProxyServer (was: pool of DB connections?)

1999-11-30 Thread G.W. Haywood
Hi there, On Mon, 29 Nov 1999, Tim Bunce wrote: > I'd like to see a mode added to DBI::ProxyServer whereby a single > server process serviced multiple clients in a round-robin manner. > Obviously in this mode there's a risk of slow queries cloging up > (blocking) the proxy, but for many applicat

RE: Please Help

1999-11-30 Thread G.W. Haywood
Hi there, Thang, On Mon, 29 Nov 1999, Thang Nguyen wrote: > Yes I've followed your step, but I still got the same problem as before > my dir structure is > /usr/local/apache linked to /usr/local/apache_1.3.9 and > /usr/local/mod_perl linked to /usr/local/apache_1.3.9 Is this really what you h

Re: Embperl and header output

1999-11-30 Thread G.W. Haywood
Hi there, On Mon, 29 Nov 1999, Erich L. Markert wrote: > skeleton copy of the code below. > > [- > use Apache; > use Apache::Constants qw(REDIRECT); > > error checking and form validation going on here... > > $new_applicant and $errors are set appropriately here... > -] > > > Untitled Docum

Re: Eagle Book - mod_hello.c, hello.pl :)

1999-11-30 Thread Gerd Kortemeyer
Michael Dearman <[EMAIL PROTECTED]> wrote: > I've come close to figuring this one out buy following some of the > questions I've seen here. But... > > Hello $ENV{REMOTE_HOST} > > The remote host doesn't show. Printing out the %ENV, it tain't there. > But where does Perl get it. From CGI.pm (which

Re: Eagle Book, Camel Book :)

1999-11-30 Thread G.W. Haywood
Hi all, On Tue, 30 Nov 1999, Ofer Inbar wrote: > "This may seem a bit weird, but that's okay, because it is weird." > -- Larry Wall in perlref(1) man page, Perl 5.001 also Camel Book, 2nd edition, p. 37. Kind regards, Ged Haywood.

Re: Eagle Book - mod_hello.c, hello.pl :)

1999-11-30 Thread Stas Bekman
On Tue, 30 Nov 1999, Ofer Inbar wrote: > Michael Dearman <[EMAIL PROTECTED]> wrote: > > I've come close to figuring this one out buy following some of the > > questions I've seen here. But... > > > > Hello $ENV{REMOTE_HOST} > > > > The remote host doesn't show. Printing out the %ENV, it tain't