Re: Moving ExecCGI to mod_perl - performance and custom 'modules' [EXT]

2021-02-09 Thread Rafael Caceres
Another thing that can be done is keep the app server + DB inside your LAN and place a reverse proxy on your DMZ, that adds some level of protection. Rafael On Feb 9, 2021, 2:08 PM -0500, Clive Eisen , wrote: On 9 Feb 2021, at 18:45, James Smith wrote: It doesn't matter what db - and whether

Re: setHandler question

2012-12-16 Thread Rafael Caceres
do /not/ want Apache to proxy the call to IIS. I want to reset the response handler so that it is no longer mod_proxy, but mod_perl, and my own PerlResponseHandler (which sends back the login page "/public/login.html", after munching on it). But what happens is that the proxying runs an

Re: acces control via cookies for webdirectories again

2012-03-15 Thread Rafael Caceres
Timon, I'd suggest you take a look at Apache2::AuthTicket, and either use it 'as is' or add ad-hoc info to the cookie at creation time. Handler setup would be there and you could also be sure that the id cookie has not been tampered with. Regards, Rafael Caceres - O

Looking for an Apache::Sandwich replacement for mod_perl2 / Apache2

2010-08-26 Thread Rafael Caceres
Hi, I've been trying to move a site which uses Apache::Sandwich to Apache2/mod_perl2. I'm having trouble replicating the functionality on mod_perl2. Is anyone aware of such a replacement module, or one that could be modified for this purpose? Regards, Rafael Caceres

Is Apache2::Layout compatible with Apache 2.2.XX ?

2010-03-25 Thread Rafael Caceres
module compatible with apache 2.2.x ? Regards, Rafael Caceres

Trivial changes to the Apache configuration result in segfaults for TWiki (installed as a mod_perl based application)

2009-09-04 Thread Rafael Caceres
Hello All, I'm having a very strange problem with a mod_perl application: TWiki. Unrelated changes to the httpd.conf like adding an Alias or an Location section, or even adding or removing a comment result in segfaults in that application. Other applications, either cgi or Apache::Registry based a

Re: MP1 -> MP2 migration Problems.

2008-02-14 Thread Rafael Caceres
x27;m at a loss here > But it may simplify your migration problems, and you can always tune > this later. > > André > Regards, Rafael Caceres

Re: [MP2] [QUESTION] authentication modules (reuse of mod_auth_basic, mod_auth_digest, mod_auth_ntlm) and cookies

2008-01-29 Thread Rafael Caceres
> solution is that I can reuse the existing Apache modules (basic, ntlm, > digest, ...), concentrating on my session tracking module. (I read the > mod_perl2 documentation and mod_perl2 offers only Basic and Digest > authentication. It does not offer NTLM authentication). > > Last but not least, my session tracking module has to be developed in > Perl ! > > Thanks > > Gaetan Regards, Rafael Caceres

Re: Un-baking a baked cookie

2008-01-07 Thread Rafael Caceres
Colin, At least with CGI.pm, what I do is 'bake' an empty cookie. That has the desired effect. Rafael Caceres On Fri, 2008-01-04 at 21:47 -0500, Colin Wetherbee wrote: > Good evening. > > Is it possible to un-bake a baked cookie? > > From the Apache2::Cookie document

RE: seg faults when running modperl and GD::Graph

2007-09-05 Thread Rafael Caceres
> So I guess I have mod_php5. > > Do I have to recompile, or do you think I might find a php without GD as > a pre-compiled ubuntu package? > > I actually don't think I need php on this system, would removing it have > the same effect? > > Matt > >

Re: seg faults when running modperl and GD::Graph

2007-09-04 Thread Rafael Caceres
If you have PHP (with mod_php) enabled on that server, that's the culprit and it can be fixed by compiling PHP without GD support. On Tue, 2007-09-04 at 13:12 -0700, Matt Williamson wrote: > I noticed that my server is segfaulting when I run a script using > GD::Graph > > e.g. > > [Fri Aug 31 09

Re: Trying to install mod_perl 2.0 on SUSE Linux 2.6 (Dual Processor)

2007-07-03 Thread Rafael Caceres
g (); > > use APR::Table (); > > use ModPerl::Registry (); > > use Apache2::Const -compile => ':common'; > use APR::Const -compile => ':common'; > > 1; > > Not even too sure what else I need to add. In fact, I am not even too > sure how Apache starts up. There's two scripts /etc/init.d/apache and > /etc/init.d/apache2, but there is nothing in /etc/init.d/rc.3 that calls > either of those scripts. > > -- > David Weintraub > [EMAIL PROTECTED] Regards, Rafael Caceres

Re: Growing Up

2007-04-17 Thread Rafael Caceres
a mod_perl server to serve them. In fact, I'm not sure what the effect would be in that scenario if a proxy was used: would it serve the static file regardless of the access control?, does it depend on the expiration data on the headers sent through the proxy when the acess controled static file was sent? Rafael Caceres Analizado por ThMailServer para Linux.

Re: Apache::DBI questions

2007-03-29 Thread Rafael Caceres
On Thu, 2007-03-29 at 10:57 -0400, Jonathan Vanasco wrote: > On Mar 29, 2007, at 9:27 AM, Kelvin Wu wrote: > > > 1. Do I still need to use 'use Apache::DBI;' in my script (or in > > startup.pl) if I already set 'PerlModule Apache::DBI' in httpd.conf? Putting it in startup.pl makes sure that memo

Re: Perl Authentication Handler and Cookie Issue

2007-02-20 Thread Rafael Caceres
Sumit, Fetching the cookie has nothing to do with the Perl handlers. They are setting the cookie. You could check this with a small program such as: #!/point/to/your/perl -T include CGI; use vars qw{$query}; # use vars qw{$cookie}; $query = new CGI; $cookie = $query->cookie("YOUR COOKIE NAME") ||

Re: mod_perl2 make test fails various address related tests

2007-02-05 Thread Rafael Caceres
On Wed, 2007-01-31 at 10:19 -0800, Philip M. Gollucci wrote: > Rafael Caceres wrote: > > I'm doing a first pass at building mod_perl 2.0.3 for apache 2.0.59 with > > a SUSE Linux Enterprise Server 9. > > The server is configured not to use IPv6, apr was configured with

Re: mod_perl2 make test fails various address related tests

2007-01-31 Thread Rafael Caceres
ttp and/or mod_perl to use and report ipv4 addresses? Any pointers will be appreciated. Thanks, Rafael Caceres Analizado por ThMailServer para Linux.

Re: Apache segfaults with Oracle AS10g (9.0.4.0) when attempting to use mod_perl

2005-10-05 Thread Rafael Caceres
debug) and apache coredumps. Regards, Rafael Caceres On Wed, 2005-10-05 at 10:02 +0530, Maruthi Vara Prasad Chirravuri wrote: > Hi, > > Can u send the /var/log/httpd/error.log and /var/log/messages output. > > Ch. Maruthi Vara Prasad. > > On 10/5/05, Rafael Caceres <

Apache segfaults with Oracle AS10g (9.0.4.0) when attempting to use mod_perl

2005-10-04 Thread Rafael Caceres
and mod_perl usage is critical for our SingleSignOn system. Any help is appreciated, Rafael Caceres

setting REMOTE_USER with Apache::AuthCookie for use on a 2nd server through mod_rewrite

2005-05-19 Thread Rafael Caceres
following config: .. #Set $r->connection->user (REMOTE_USER) PerlFixupHandler Authcookie::Based->recognize_user RewriteEngine on RewriteRule ^/appname http:external.web.server/appname [P] to cause the external app to recognize the user when it executes. Is this possible? Rafael Caceres

Logs showing DBD::Oracle errors from nonexistant and/or unconnected apps

2004-09-15 Thread Rafael Caceres
Hi, About a month ago, we started having our Apache (1.3.29,mod_perl 1.29) logs showing many DBD::Oracle errors (basically ORA-01001:Invalid Cursor, ORA-01007: variable not in select list, ORA-01461: can bind a LONG value only for insert in a LONG column, ORA-03120: two-task conversion routine - i

Re: Why I use mod_perl (PR stuff)

2004-06-09 Thread Rafael Caceres
ite the code. (I > will admit that even this is stetching the Perl support a bit and > required that I write some code myself which I have yet to release on > CPAN [trying to think of a suitable name atm]). I'm familiar with POD, but how can you embed tests, or do you mean only doc

Re: Apache::AuthCookie LOGIN action, where / is protected

2004-03-15 Thread Rafael Caceres
gin_screen > > > and all of this is within a container. > > ( I never saw a response to the list, and I'm abandoning my use of > Apache::AuthCookieDBI because I can't get it configured correctly. I > did post to the list for assistance, but no responses ... ) That would be too bad, it's a very nice solution. > > --brian Regards, Rafael Caceres -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Re: Apache::AuthCookie LOGIN action, where / is protected

2004-03-12 Thread Rafael Caceres
Elizabeth, You have to setup the use of the login form like so: AuthType Your::Authtype AuthName YourName SetHandler perl-script PerlHandler Your::Authtype->login_screen Regards, Rafael Caceres On Fri, 2004-03-12 at 17:08, Elizabeth Cortell wrote: > I have a question for exper

Re: Perl 5.8.0 to 5.8.1 under RH 9 - mod_perl problem

2004-01-27 Thread Rafael Caceres
On Tue, 2004-01-27 at 11:24, Perrin Harkins wrote: > > > Seems like a lot of upgrading just to > > go from 5.8.0 to 5.8.1, but I guess a lot of bug fixes > > and enhancements were added. > > There were a few. The one that mattered the most to me is that the > locale issues are fixed so that you

Re: Different results using mod_proxy or mod_rewrite vs direct server - followup

2004-01-16 Thread Rafael Caceres
On Mon, 2004-01-12 at 17:55, Stas Bekman wrote: > Rafael Caceres wrote: > > I'm setting up a HTTP/HTPPS reverse proxy server with apache on my DMZ. > > The proxy will access an internal server (insidelan.server.com) to > > provide content to outside users. > >

Different results using mod_proxy or mod_rewrite vs direct server

2004-01-07 Thread Rafael Caceres
I'm setting up a HTTP/HTPPS reverse proxy server with apache on my DMZ. The proxy will access an internal server (insidelan.server.com) to provide content to outside users. I've attempted using mod_proxy: ServerName insidelan.server.com ProxyPass / http://insidelan.server.com/ ProxyPassRever