Restricting dir contents per user

2000-10-09 Thread rendhalver
i sent this before but got no reply anyone have any idea if this can be done ?? hi guys got a query that may be easy to solve maybe not i am working on a project in mod_perl and php we are intending to use mod_dav as a publishing tool i have written a custom auth module for determining publish

Re: mod_perl and ActiveState perl (v5.6.0 618)

2000-10-09 Thread oliver
On Fri, 6 Oct 2000 15:48:20 -0500 (CDT), Randy Kobes wrote: It would be good to try to track this down ... - if you use a non-mod_perl apache config file, but simply add in a line to load ApacheModulePerl.dll, does the problem occur? Using the a stripped down httpd.conf, with just the line:

[mod_perl for ISPs] The User-mode Linux Kernel

2000-10-09 Thread Stas Bekman
In the light of the guide's section "mod_perl for ISPs" http://perl.apache.org/guide/multiuser.html There is a new project called: The User-mode Linux Kernel http://user-mode-linux.sourceforge.net/ Quote User-Mode Linux is a safe, secure way of running Linux versions and Linux processes. Run

How tp Prevent This

2000-10-09 Thread Sambit Nanda
Hi Friends I Applied AuthenCache to My Apache 1.3.11 + SSL + PERL + Etc, web Server My server is also having AuthenSmb with it. What i found When any user sign in the user name and password goes to log file. So in my log file some line gets appended whenever any user sign in. like this

Re: mod_perl and ActiveState perl (v5.6.0 618)

2000-10-09 Thread Randy Kobes
On Mon, 9 Oct 2000, oliver wrote: On Fri, 6 Oct 2000 15:48:20 -0500 (CDT), Randy Kobes wrote: It would be good to try to track this down ... - if you use a non-mod_perl apache config file, but simply add in a line to load ApacheModulePerl.dll, does the problem occur? Using the a

PerlHandler configuration question.

2000-10-09 Thread Todd Chapman
I am servicing requests from a virtual document tree. Most of the time I want the request to be serviced by a PerlHandler module I wrote. However, if the requested filename is 'cgifile' I would rather have Apache::Registry handle the request, but since this is a virtual document tree the CGI

RE: How tp Prevent This

2000-10-09 Thread Jason Bodnar
That'll be fixed in the next version of AuthenCache. Hopefully, due out sometime this week now that I am unemployed. On 09-Oct-2000 Sambit Nanda wrote: Hi Friends I Applied AuthenCache to My Apache 1.3.11 + SSL + PERL + Etc, web Server My server is also having AuthenSmb with it. What i

How i will set The Environment ??

2000-10-09 Thread Sambit Nanda
Hi Group Sorry to bother u again. But due to my poor knowledge i am looking for the help . I am having Web Server on solaris 2.7 SPARC , running Apache 1.3.11 + PERL + SSL + Etc. .. i am trying to install Apache::AuthCookie . when i do perl Makefile.PL it give some information on

PerlWarn On being ignored on win32

2000-10-09 Thread Franco . Radice
Hi, I have problems having mod_perl show his warnings: setting PerlWarn to On, nothing appears into the ErrorLog. I tried to change che LogLevel down to "debug": other messages do appear, but not the perl warnings. I'm using Perl 5.6.0, mod_perl 1.24, apache 1.3.12 as localhost. The same script

[mod_rewrite] Remember to set your logLevel down!

2000-10-09 Thread martin langhoff
hi, I've got a 2 tier apache setup running a lightweight apache with mod_rewrite proxying *.pl requests to the heavyweight apache. I'm posting this to share a bit of practical info on how to build such a setup on a per-file basis, as the Guide only deals with per domain/directory

Re: test fails with [warn] [notice] child_init for process...

2000-10-09 Thread Shimon Rura
I had similar symptoms this summer while trying to build a mod_perl-enabled apache 1.3.12 on an HP-UX 10.20 box (this was with perl 5.6.0 and mod_perl probably 1.2.4). I don't think anything useful showed up in error_log, but I serendipitously found later that the test httpd *worked* when I ran

Apache::ASP - RH install tip

2000-10-09 Thread Tyler Vallillee
A tip that may fix somebody else's problems. My system is RH 6.2 and I installed Apache and mod_perl from RPM's (please no flames :) Upon installing Apache::ASP I got the dreaded SCALAR error in my error log when testing the site/eg directory: - no valid request object

[Apache::ASP] $Request-QueryString-('foo')-Item() support

2000-10-09 Thread joel w. reed
I'm trying to write an ASP app that runs under PerlScript and Apache::ASP. i've found that with ActivePerl 618 -- $Request-QueryString-('foo') return a reference to a Win32::OLE hash. to get a string from the hash you must write -- $Request-QueryString-('foo')-Item() or you must use

Re: [Apache::ASP] $Request-QueryString-('foo')-Item() support

2000-10-09 Thread Joshua Chamas
$Request-QueryString-('foo')-Item() isn't valid perl syntax, is it? Are you going for $Request-QueryString('foo')-Item() support here? There is already a Collection class that is used to emulate this kind of behavior, which can possibly be extended to meet this need. One of the behaviors

Re: Apache::ASP - RH install tip

2000-10-09 Thread Joshua Chamas
I'll add this fix to the error messaging for Apache::ASP. Thanks for figuring out an alternative solution. -- Joshua Tyler Vallillee wrote: A tip that may fix somebody else's problems. My system is RH 6.2 and I installed Apache and mod_perl from RPM's (please no flames :) Upon

having several mod_perl virtualhosts on the same machine

2000-10-09 Thread Frédéric Schwien
Hi, i'am encouring problems with a machine that is hosting several completly independant modperl featured host. It is crashing without any apparent reason (nothing in the logs), and it seems to be a lack of memory (1 GB !). The only visual aspect is that it becomes impossible to login in

Re: [Apache::ASP] $Request-QueryString-('foo')-Item() support

2000-10-09 Thread Greg Williams
At 14:23 -0700 2000/10/09, Joshua Chamas wrote: $Request-QueryString-('foo')-Item() isn't valid perl syntax, is it? perl -c $Request-QueryString-('foo')-Item() __END__ - syntax OK ;-) .g -- Greg Williams, Cnation, (310) 228-6924 "Wow, no intel, no microsoft, sounds like a computer that

XML::Parse segmentation fault

2000-10-09 Thread Herrington, Jack
This code works as a perl script executed off the command line: use XML::Parser; my $parser = new XML::Parser(); $parser-parse( "form/form" ); This code fails with a segmentation fault when called from mod_perl: package CBL::mod_perl::test1; use strict;

Re: Bug#74416: apache-perl: Apache::MyConfig should provide path to `apxs' (/usr/bin/apxs) in %Setup

2000-10-09 Thread Daniel Jacobowitz
[Please keep the CC: to bugs.debian.org] On Mon, Oct 09, 2000 at 10:59:29PM +0200, [EMAIL PROTECTED] wrote: Package: apache-perl Version: 1.3.9-13.1-1.21.2309-1 Severity: normal I've tried to create a package `libapache-request-perl' (Module Apache::Request). (Such a package doesn't

RE: :Parse segmentation fault

2000-10-09 Thread Shane Adams
Title: RE: :Parse segmentation fault Yes. We found a problem in Expat.pm line 451 (in sub parse). The following chunk of code (latest version from cpan) sub parse { my $self = shift; my $arg = shift; croak Parse already in progress (Expat) if $self-{_State_}; $self-{_State_} = 1; my

RE: :Parse segmentation fault

2000-10-09 Thread Herrington, Jack
Title: RE: :Parse segmentation fault I did a little more digging around and found that you could also avoid the problem by turning off EXPAT in apache with: Rule EXPAT=no Which fix is more preferable? -Original Message-From: Shane Adams [mailto:[EMAIL PROTECTED]]Sent:

RE: :Parse segmentation fault

2000-10-09 Thread Shane Adams
Title: RE: :Parse segmentation fault Hmmm well I *have* to have Xml parsing. Not sure if what you are suggesting totally turns it off or just does something else? -Original Message-From: Herrington, Jack [mailto:[EMAIL PROTECTED]]Sent: Monday, October 09, 2000 3:49 PMTo:

RE: :Parse segmentation fault

2000-10-09 Thread Herrington, Jack
Title: RE: :Parse segmentation fault This allows for XML parsing with no change to the Perl code. I'm just not sure what I am losing in Apache (which is where I make the change). What does losing EXPAT do to Apache? -Original Message-From: Shane Adams [mailto:[EMAIL

RE: :Parse segmentation fault

2000-10-09 Thread Shane Adams
Title: RE: :Parse segmentation fault no clue. I emailed your comment to a friend at work and see what he can make of it. He's the fellow that found the cause of the segfault in the first place. Shane -Original Message-From: Herrington, Jack [mailto:[EMAIL PROTECTED]]Sent:

Bug in mod_perl

2000-10-09 Thread Dave Rolsky
Try the following handler: package Foo; use Apache::Request; sub handler { my $r = shift; my (@vars) = ( 'abc', "abc\0def", "def" ); $r-send_http_header; $r-print("$_\n") foreach @vars; } 1; I'm using mod_perl 1.24/Apache 1.3.12/Perl 5.00503 and find that I receive no

Third post. PLease help. PerlHandler configuration question.

2000-10-09 Thread Todd Chapman
I need to get this problem solved for a project I am working on. Any help is appreciated. Thanks. -Todd -- Forwarded message -- I am servicing requests from a virtual document tree. Most of the time I want the request to be serviced by a PerlHandler module I wrote. However,

Re: Bug in mod_perl

2000-10-09 Thread Tom Brown
Interesting, the Mason bug report I just filed is obviously mis-filed. Apache::Registry scripts suffer the same behaviour. On Mon, 9 Oct 2000, Dave Rolsky wrote: Try the following handler: package Foo; use Apache::Request; sub handler { my $r = shift; my (@vars) = (

Re: Bug in mod_perl

2000-10-09 Thread Greg Williams
I'm using mod_perl 1.24/Apache 1.3.12/Perl 5.00503 and find that I receive no output after the \0. Is this a mod_perl or Apache bug? Or is it a client bug (using Netscape 4.75) or is it the expected behavior. It would be expected, I'd assume. perl5-porters discussed this back in January when

Re: [Apache::ASP] $Request-QueryString-('foo')-Item() support

2000-10-09 Thread Joshua Chamas
Greg Williams wrote: At 14:23 -0700 2000/10/09, Joshua Chamas wrote: $Request-QueryString-('foo')-Item() isn't valid perl syntax, is it? perl -c $Request-QueryString-('foo')-Item() __END__ - syntax OK When I execute $Request-Form-('test')-Item() on a real life code sample, even after

Re: Third post. PLease help. PerlHandler configuration question.

2000-10-09 Thread Todd Chapman
That only solves half the problem. Since it is a virtual directory, how will Apache::Registry know where 'cgifile' really exists so it can run it? For example: http://www.mydoamin.com/dirA/dirB/cgifile dirA and dirB don't really exist. If 'cgifile' is stored somewhere else how will

Re: [Apache::ASP] $Request-QueryString-('foo')-Item() support

2000-10-09 Thread joel w. reed
On Oct 09, [EMAIL PROTECTED] contorted a few electrons to say... Joshua $Request-QueryString-('foo')-Item() isn't valid perl syntax, Joshua is it? Are you going for $Request-QueryString('foo')-Item() Joshua support here? yes $Request-QueryString('foo')-Item() seems to be the way AP618 wants

Re: [Apache::ASP] $Request-QueryString-('foo')-Item() support

2000-10-09 Thread Joshua Chamas
So what you are saying is that either this: my $uid = $Request-QueryString('foo')-Item(); or this $Request-QueryString-Item('foo')-Item() works natively in PerlScript. I see, so with the CollectionItem Apache::ASP config, I will enable the latter to work too. The other

Re: Third post. PLease help. PerlHandler configuration question.

2000-10-09 Thread Todd Chapman
Thanks. It seems like I would want to write a PerlTransHandler. However I don't want to change the filename until after the authorization phase. Can I change the uri to filename mapping at the end of the authorization phase but before the content handler phase? Thanks. -Todd On Mon, 9 Oct

Re: [Apache::ASP] $Request-QueryString-('foo')-Item() support

2000-10-09 Thread Daniel Chetlin
On Mon, Oct 09, 2000 at 05:03:44PM -0700, Joshua Chamas wrote: When I execute $Request-Form-('test')-Item() on a real life code sample, even after building in support for $Request-Form('test')-Item(), I get this error: Not a CODE reference at (eval 14) line 10. I have seen this error

Re: Third post. PLease help. PerlHandler configuration question.

2000-10-09 Thread Perrin Harkins
On Mon, 9 Oct 2000, Todd Chapman wrote: That only solves half the problem. Since it is a virtual directory, how will Apache::Registry know where 'cgifile' really exists so it can run it? Either put it under your docroot or use the standard Alias stuff: Alias /perl/ /home/httpd/perl/

Re: Bug in mod_perl

2000-10-09 Thread Ken Williams
[EMAIL PROTECTED] (Greg Williams) wrote: I'm using mod_perl 1.24/Apache 1.3.12/Perl 5.00503 and find that I receive no output after the \0. Is this a mod_perl or Apache bug? Or is it a client bug (using Netscape 4.75) or is it the expected behavior. It would be expected, I'd assume.