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

Re: setHandler question

2012-12-16 Thread Rafael Caceres
is that the proxying runs anyway, and the request ends up in IIS, but without the authentication header. That's what I want to avoid. What you want works for me when reverse proxying to Tomcat or another Apache by adding a require valid-user inside the LocationMatch Regards, Rafael Caceres

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 - Original Message

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
. Is this 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

Re: MP1 - MP2 migration Problems.

2008-02-14 Thread Rafael Caceres
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
! 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 documentation, bake() adds a Set-Cookie

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

2007-09-05 Thread Rafael Caceres
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 -Original Message- From: Rafael Caceres [mailto:[EMAIL PROTECTED

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

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

2007-07-03 Thread Rafael Caceres
. 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
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 memory

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 --disable-ip6, apache 's config

Re: mod_perl2 make test fails various address related tests

2007-01-31 Thread Rafael Caceres
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
) 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 [EMAIL PROTECTED] wrote: When trying to use

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

2005-10-04 Thread Rafael Caceres
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
? 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 -

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 don't

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. I've attempted using mod_proxy: VirtualHost

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: VirtualHost 1.2.3.4:80 ServerName insidelan.server.com ProxyPass /