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
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
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
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
module compatible with apache 2.2.x ?
Regards,
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
x27;m at a loss here
> But it may simplify your migration problems, and you can always tune
> this later.
>
> André
>
Regards,
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
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
> 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
>
>
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
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
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.
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
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") ||
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
ttp and/or mod_perl to use and report ipv4
addresses?
Any pointers will be appreciated.
Thanks,
Rafael Caceres
Analizado por ThMailServer para Linux.
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 <
and mod_perl usage is critical for our SingleSignOn system.
Any help is appreciated,
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
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
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
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
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
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
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'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
27 matches
Mail list logo