You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "D. Rick Anderson" <ru...@acsnv.com> on 2004/03/11 00:20:43 UTC

[users@httpd] decrypting PGP/GPG on the fly

Is there a way to have Apache decrypt a .gpg file on the fly? As in taking
an encrypted PDF and decrypting it, then sending the unencrypted PDF file
to the client?

I've been digging around in the mail archives and on the internet and
can't seem to find a way to do this.

Thanks,

Rick


-- 
D. Rick Anderson
IT Manager
ACS Management
(702)-939-8300 ext. 5008
ruger@acsnv.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache in front of mult Tomcat w/o load balancing

Posted by Robert Hall <rf...@berkeley.edu>.
Did more digging and experimenting and finally got it to work.  
Basically, apache
was redirecting requests for appA/index.jsp to appB/index.jsp which 
wasn't to be
found on TC II.   The fix involved changing the [uri:] entry for each 
app in
workers2.properties to explicitly refer to index.jsp (instead of *.jsp).

Robert

Robert Hall wrote:

> Hoping someone out there has done this or can point me in the right 
> direction,
> (or tell me to forget it if it cannot be done).
>
> I'd like to have a single instance of apache talking to multiple 
> Tomcat instances
> over JK2 (differnet port #'s of course), but without load balancing.
>
> That is app A would only be running on TC I, and app B would only be 
> running
> on TC II.  Apache would be configured to pass app A URI requests  to 
> TC I,
> app B URI requests to TC II.
>
> Is this possible?
>
> Thanks,
> Robert
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] apache in front of mult Tomcat w/o load balancing

Posted by Robert Hall <rf...@berkeley.edu>.
Hoping someone out there has done this or can point me in the right 
direction,
(or tell me to forget it if it cannot be done).

I'd like to have a single instance of apache talking to multiple Tomcat 
instances
over JK2 (differnet port #'s of course), but without load balancing.

That is app A would only be running on TC I, and app B would only be running
on TC II.  Apache would be configured to pass app A URI requests  to TC I,
app B URI requests to TC II.

Is this possible?

Thanks,
Robert


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] decrypting PGP/GPG on the fly

Posted by Nick Kew <ni...@webthing.com>.
On Wed, 10 Mar 2004, Todd Ellner wrote:

> On Wed, 2004-03-10 at 15:20, D. Rick Anderson wrote:
> > Is there a way to have Apache decrypt a .gpg file on the fly? As in taking
> > an encrypted PDF and decrypting it, then sending the unencrypted PDF file
> > to the client?
> >
> > I've been digging around in the mail archives and on the internet and
> > can't seem to find a way to do this.
>
> Take a look at "Writing Apache Modules in Perl and C" by Stein and
> MacEachern. Chapter 4 (Content Handlers) has what you are looking for.

It would seem to me a lot more appropriate for an output filter (works
with anything) than a content handler (which of course precludes you
using it in a proxy or with dynamically-generated content, for example).
I'd guess that chapter must date from a time when Apache was an
altogether more limited platform.

I would need to RTFM to implement this, but it seems to me that the
only difficult bit is how to deal with security of the keys
(and passphrases if applicable) used for decryption.  But I guess
that would be the same in a filter or a handler.

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] decrypting PGP/GPG on the fly

Posted by Todd Ellner <te...@cedarlake.com>.
On Wed, 2004-03-10 at 15:20, D. Rick Anderson wrote:
> Is there a way to have Apache decrypt a .gpg file on the fly? As in taking
> an encrypted PDF and decrypting it, then sending the unencrypted PDF file
> to the client?
> 
> I've been digging around in the mail archives and on the internet and
> can't seem to find a way to do this.

Take a look at "Writing Apache Modules in Perl and C" by Stein and
MacEachern. Chapter 4 (Content Handlers) has what you are looking for.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org