RE: Chaining and redirection

1999-10-01 Thread Gerald Richter
> > Requesting y.html returns just '1 2', no redirection is taking place. > > I have also tried $r->internal_redirect and > $r->internal_redirect_handler also in combination with Apache::exit() > all with the same result. > > It works when setting PerlHandler only to Apache::Embperl in the first >

RE: embperl make test problem

1999-10-01 Thread Gerald Richter
> > Syntax error on line 41 of > /opt/local/download/perlmodule/HTML-Embperl-1.2b9/test/conf/httpd.conf: > "use" not allowed in expression at > /opt/local/download/perlmodule/HTML-Embperl-1.2b9/test/conf/startup.pl > line 13, at end of line > BEGIN not safe after errors--compilation aborted at > /

Re: Problems Using DBI / DBD::mysql Within Apache::ASP / mod_perl

1999-10-01 Thread Nedim Cholich
There is a mysql database whose tables you need to set up prior to connecting. They store all the permissions based on user/host/db... But all of this is in the mysql docs. --- Nedim Cholich, CTO [EMAIL PROTECTED] www.nschool.com - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAI

Re: Authen::Smb

1999-10-01 Thread Matt Arnold
> I can't even get Authen::Smb to work on its own. I wrote (more like copied) > a simple test script right out of the perldoc for Authen::Smb and I only get > error level one. Is there something that this depends on that I'm unaware > of??? Thanks. > > Derric L. Tubbs > [EMAIL PROTECTED] Consi

Re: modules to be left enabled in a mod_perl back-end server?

1999-10-01 Thread Stephen Zander
> "Stephen" == Stephen Zander <[EMAIL PROTECTED]> writes: Stephen> Is the SetHandler functionaity of mod_mime available from Stephen> within mod_perl somehow? This was the one ovbious Stephen> problem I could see with removing everything. Nevermind. The Eagle book, chapter 8 p40

child segmentation faults

1999-10-01 Thread Wim Kerkhoff
Hi, Every once in a while I see lines like these in the error log: [Fri Oct 1 16:05:42 1999] [notice] child pid 3317 exit signal Segmentation Fault (11) This is with: Apache 1.3.9 mod_perl/1.21 DBD-Oracle-1.03 DBI-1.13 Solaris_2.7 oracle-8.1.5 Thanks, Wim Kerkhoff [EMAIL PRO

Re: Problems Using DBI / DBD::mysql Within Apache::ASP / mod_perl

1999-10-01 Thread Joshua Chamas
[EMAIL PROTECTED] wrote: > > Apache mod_perl List, > > I am attempting to use DBI / DBD::mysql within Apache::ASP under mod_perl > and am constantly receiving the following error: > > Access denied for user: 'dealerdb@localhost' (Using password: YES) > > Should I be using a different m

Re: modules to be left enabled in a mod_perl back-end server?

1999-10-01 Thread Stephen Zander
> "Doug" == Doug MacEachern <[EMAIL PROTECTED]> writes: Doug> I do know that imdb (at one point at least) had nearly every Doug> standard module disabled, leaving just mod_perl, mod_mime Doug> and maybe a logging module. Is the SetHandler functionaity of mod_mime available from wi

Re: Authen::Smb

1999-10-01 Thread Joshua Gerth
Hi Derric, > I'm trying to get authentication working with Apache::AuthenSmb, which > depends on Authen::Smb which doesn't mention depending on anything. All > seems to install fine but I'm having no luck. > > I can't even get Authen::Smb to work on its own. I wrote (more like copied) > a sim

Re: embperl make test problem

1999-10-01 Thread Mark Mills
> > This may seem obvious but try `which perl` as the make process user, from > > that directory. > > > > Does IRIX still hide perl in /usr/sbin? the old 5.003 might still be first > > in the path. It bit me before on a origin... > > apple 14# which perl > /usr/sbin/perl > esip 15# whereis per

Problems Using DBI / DBD::mysql Within Apache::ASP / mod_perl

1999-10-01 Thread wrl
Apache mod_perl List, I am attempting to use DBI / DBD::mysql within Apache::ASP under mod_perl and am constantly receiving the following error: Access denied for user: 'dealerdb@localhost' (Using password: YES) Should I be using a different module than `use DBI;`? Any help, suggestion

Authen::Smb

1999-10-01 Thread Tubbs, Derric L
I'm trying to get authentication working with Apache::AuthenSmb, which depends on Authen::Smb which doesn't mention depending on anything. All seems to install fine but I'm having no luck. I can't even get Authen::Smb to work on its own. I wrote (more like copied) a simple test script right out

Re: Another IE5 complaint

1999-10-01 Thread jcr
I used mod_rewrite to map favicon.ico to a 0 byte file. On Fri, 1 Oct 1999, Joe Pearson wrote: > Hi all, > > Maybe everyone already knows this, but I just discovered that > whenever a IE5 user visits a page in their "Favorites", IE5 also trys > to GET favicon.ico from the same site. Therefor I

RE: embperl make test problem

1999-10-01 Thread Jearanai Vongsaard
On Fri, 1 Oct 1999, Mark Mills wrote: > >- The following addresses had permanent fatal errors - > > modeperl > doh, that was dumb of me =) > > This may seem obvious but try `which perl` as the make process user, from > that directory. > > Does IRIX still hide perl in /usr/sbin? th

Re: Another IE5 complaint

1999-10-01 Thread Pouneh Mortazavi
see http://www.wired.com/news/news/technology/story/19160.html On Fri, 1 Oct 1999, Joe Pearson wrote: > Hi all, > > Maybe everyone already knows this, but I just discovered that > whenever a IE5 user visits a page in their "Favorites", IE5 also trys > to GET favicon.ico from the same site. The

Another IE5 complaint

1999-10-01 Thread Joe Pearson
Hi all, Maybe everyone already knows this, but I just discovered that whenever a IE5 user visits a page in their "Favorites", IE5 also trys to GET favicon.ico from the same site. Therefor I have hundreds of "File does not exist:" errors in my log file. Thanks Bill. ---

RE: embperl make test problem

1999-10-01 Thread Mark Mills
>- The following addresses had permanent fatal errors - > modeperl doh, that was dumb of me =) This may seem obvious but try `which perl` as the make process user, from that directory. Does IRIX still hide perl in /usr/sbin? the old 5.003 might still be first in the path. It bit m

embperl make test problem

1999-10-01 Thread Jearanai Vongsaard
My machine is origin200 run on IRIX6.4. I did install apache 1.3.9 and modperl 1.21. Now I try to install embperl which I can pass all makefile but I get an error in make test process. I don't know why it cannot start my httpd which I can run it in the apache directoty. Here is the details: Than

Re: I'm on the modperl mailing list now...

1999-10-01 Thread Alex Menendez
John, Doug explained to me that the mod_perl Makefile.PL adds some info from Perl's Config.pm, which includes libraries that Perl needs. If your systems Perl was installed from an rpm (which mine was), it is very likely that Perl was configured to include a library (such as gdbm) that is not actu

Re: Performance problems

1999-10-01 Thread Leslie Mikesell
According to ricarDo oliveiRa: > I have a site running Apache-1.3.6, PHP-3.0.9, mod_perl-1.20 on Solaris with > a Sybase Database. And it has some performance flaws. This site has > thousands of hits per day (not sure of how many, though) and it should be > faster (few images, no animations whats

Re: external module and mod_perl

1999-10-01 Thread Leslie Mikesell
According to Dustin Tenney: > > mod_perl ties the Perl STDOUT filehandle to Apache i/o, but this is > > different from C stdout, which cannot easily hooked to Apache i/o without > > a subprocess pipe (as mod_cgi does). I don't know of a decent workaround. > > do you have access to the library so

Re: Performance problems

1999-10-01 Thread Stas Bekman
On Fri, 1 Oct 1999, ricarDo oliveiRa wrote: > Hi there, > > I have a site running Apache-1.3.6, PHP-3.0.9, mod_perl-1.20 on Solaris with > a Sybase Database. And it has some performance flaws. This site has > thousands of hits per day (not sure of how many, though) and it should be > faster (few

Performance problems

1999-10-01 Thread ricarDo oliveiRa
Hi there, I have a site running Apache-1.3.6, PHP-3.0.9, mod_perl-1.20 on Solaris with a Sybase Database. And it has some performance flaws. This site has thousands of hits per day (not sure of how many, though) and it should be faster (few images, no animations whatsoever). Can anybody tell me

Re: Chaining and redirection

1999-10-01 Thread Cliff Rayman
the exit is broken in some contexts. if this is part of a subroutine or called from an execute that may be the problem. I am setting a global exit variable until this is fixed. i.e GWC.htm [$ sub mysub $] [- unless(dothis()){ $GWC::xitflg==1; exit -] [$ endsub $] somepage.htm [- Execu

Re: Segfault in Apache 1.3.9 due to DynaLoader.pm?

1999-10-01 Thread Keith G. Murphy
Doug MacEachern wrote: > > how did you build mod_perl? as dso? if so, try build static. Didn't build it at all. It was a binary deb from Debian. I'm currently trying to build it from source, but having trouble pointing it to the apache source tree. Thanks for the replies, though, folks. I

Perl implementation for ap_proxy_hash

1999-10-01 Thread Ilya Obshadko
Hello, Here's an interesing question. I need to implement an ap_proxy_hash (the function that translates URL into cache file name on disk) in perl (to get a working mechanizm for forced expiration of some URLs). AFAIK there is no mod_perl interface to mod_proxy, so it's necessary t

Keep-Alive and mod_perl

1999-10-01 Thread Brian Aker
Here is what I have: I have an applet the communicates using its very own protocol to a server via port . It keeps the port open while talking to the server. What I want to do is switch this to port 80 over HTTP. The catch is I want to use the port statically, so this means keep-alive. Is th

Re: Chaining and redirection

1999-10-01 Thread Dirk Lutzebaeck
Cliff Rayman writes: > if you are going to redirect in embperl then you need to put an exit after > $r->status(REDIRECT). > just setting that variable does not cause embperl to exit. so, > > [- > use Apache; > use Apache::Constants qw(REDIRECT); > > $r = Apache->request; > >

Re: Chaining and redirection

1999-10-01 Thread Cliff Rayman
if you are going to redirect in embperl then you need to put an exit after $r->status(REDIRECT). just setting that variable does not cause embperl to exit. so, [- use Apache; use Apache::Constants qw(REDIRECT); $r = Apache->request; $r->header_out("Location" => "x.html"); $r->status(