A simple system call like system("app & > /dev/nuil ") in a CGI aborts the CGI
without leaving any status in the error_log. Did anyone experence anything
like this?
The Apache 2 server is a standard FC5 rpm installation. I tried installing
mod_perl-1.29's Apache::Registry to run Apache::DB->i
I could overcome the problem by having PerlOptions +GlobalRequest
in the httpd.conf
Also I could get the REMOTE_USER as well.
Let me know if need further information on this.
Thanks
Tracy12 wrote:
>
> Yes CAS CAS authentication is done via a webform, it is working fine.
>
> I already sta
Yes CAS CAS authentication is done via a webform, it is working fine.
I already started coding what we discussed, but came up with this error, I
am using Apache 2.2 with mod_perl2.0
In the log it says that Global $r object is not available.
My perl auth handler looks as follows
sub authen_ha
Tracy12 wrote:
1) As we dont use the apache basic authentication but our CAS
authentication. If the authentication is not successful how can we redirect
to the CAS login page.
Ah-ha... So CAS authentication is done via a webform of some type,
which means that it uses cookies. Am I correct i
Thanks Perrin and Rob,
Let me summarise what I have gathered from the responses that you all have
provided also with my little knowledge about mod_perl/apache2
Instead of writing a PerlHandler and redirecting to a particular URL, we
should write a PerlAuthenHandler
e.g httpd.conf should be
Perrin Harkins wrote:
After successful authentication we need to pass the
control to another application(which is running on the same apache server)
which depend on the REMOTE_USER value which we set.
That will work fine, as long as your auth handler runs in the same
request as the thing that w
On Thu, 2007-01-11 at 15:01 -0800, Tracy12 wrote:
> My intention is not to use the authentication provided by the apache, but
> uses a authentication mechanism by CAS (Central Autthentication Service)
> running else where
If you intend to use HTTP basic auth (with the popup window that asks
for y
My intention is not to use the authentication provided by the apache, but
uses a authentication mechanism by CAS (Central Autthentication Service)
running else where, After successful authentication we need to pass the
control to another application(which is running on the same apache server)
whi
I've been trying to install mod_perl-2.0.3
My system is
Machine hardware: sun4us
OS version: 5.9
Processor type: sparc
Sun Studio 11
Sun Studio 11 C Compiler
Sun Studio 11 C++ Compiler
Sun Studio 11 Tools.h++ 7.1
Sun Studio 11 C++ Standard 64-bit Clas
Tracy12 wrote:
Thanks,
If this is the case, How can we preserve the REMOTE_USER value and
forward/redirect to the other application
( running on same Apache Server) which is based on the REMOTE_USER
environment variable, which is set in my perl module in the first
application.
I was under th
On Thu, 2007-01-11 at 14:06 -0800, Tracy12 wrote:
> If this is the case, How can we preserve the REMOTE_USER value and
> forward/redirect to the other application
> ( running on same Apache Server) which is based on the REMOTE_USER
> environment variable, which is set in my perl module in the firs
Thanks,
If this is the case, How can we preserve the REMOTE_USER value and
forward/redirect to the other application
( running on same Apache Server) which is based on the REMOTE_USER
environment variable, which is set in my perl module in the first
application.
I was under the impression $ENV
On Thu, 2007-01-11 at 15:44 -0500, Mark Stosberg wrote:
> I'm researching how to best integrate caching with a mod_perl website.
> For some important cases I want to do some customized stat tracking for
> particular queries, although they otherwise return the same content,
> which would otherwise b
my suggestion would be this:
use a lightweight proxy on port 80. i like nginx.
have the proxy handle as much stat tracking as possible -- write
to a logfile something like "%{cookieID}\t%{request_arg}\t%
{trackedData}"
then just batch that overnight.
if you do that for static pages,
Hello,
I'm researching how to best integrate caching with a mod_perl website.
For some important cases I want to do some customized stat tracking for
particular queries, although they otherwise return the same content,
which would otherwise be directly cacheable.
The approach that seems to fit t
On 1/11/07, Phil Whelan <[EMAIL PROTECTED]> wrote:
Hi Marc,
Do you have a example of the configuration and code you are using?
Cheers,
Phil
Sure,
Here's the code :
--
sub input : FilterConnectionHandler {
my $s = Apache2::ServerUtil->server;
Hi Marc,
Do you have a example of the configuration and code you are using?
Cheers,
Phil
On 11/01/07, Marc Boorshtein <[EMAIL PROTECTED]> wrote:
Hello,
I've biult a perl connection filter that I've configured with
PerlFilterInputHandler, but for some reason it keeps getting called
for output.
Hello,
I've biult a perl connection filter that I've configured with
PerlFilterInputHandler, but for some reason it keeps getting called
for output. Am I missing something?
Thanks
Marc
Hi Tracy12,
$r->content_type('text/html');
$r->header_out->set(Location => $urlNew);
return Apache2::Const::REDIRECT;
When you do the above, you're actually returning context to the
client, giving them the decision to follow the redirect information or
not. They most probably will (especially
19 matches
Mail list logo