You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jones Scott - sjones <Sc...@acxiom.com> on 2009/02/16 18:19:16 UTC

[users@httpd] how do I redirect wsdl calls to local disk

I am using apache in our DMZ.  It is using mod_jk to redirect all calls
to JBoss 4.0.2

 

I need to redirect the product/1.0?wsdl requests to stay on the apache
server.

 

What is the best approach to do this

***************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be legally
privileged.

If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank You.
****************************************************************************

Re: [users@httpd] how do I redirect wsdl calls to local disk

Posted by Krist van Besien <kr...@gmail.com>.
On Tue, Feb 17, 2009 at 3:22 PM, Jones Scott - sjones
<Sc...@acxiom.com> wrote:
> But I can't seem to get a rewrite rule that will work.  Thus, I posted
> this note for some help

RewriteRules only work on the URL, not on the query string. if you
also want to match the query string you need to add a RewriteCond that
matches the %{QUERY_STRING} variable.

For example (of the top of my head)

RewriteCond %{QUERY_STRING} wsdl
RewriteRule /webapp/webservice /staticfiles/wsdl

Krist

-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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] how do I redirect wsdl calls to local disk

Posted by Karel Kubat <ka...@e-tunity.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Scott,

On Feb 17, 2009, at 3:22 PM, Jones Scott - sjones wrote:

> But I can't seem to get a rewrite rule that will work.  Thus, I posted
> this note for some help
[...]
> I am trying to bypass an error on the JBoss server.  There is an error
> that JBoss 4.0.2 gives after concurrent access to the wsdl.  Most of  
> our
> clients use the WSDL once.  But we have a couple that put it inline  
> with
> their code.  I thought a good short term work around is to have the
> WSDLs static on the apache server.  This is until we can upgrade or  
> get
> a patch

Basically then you don't need to rewrite anything. Probably you want  
to write a small job to fetch the wsdl's off the appserver. You then  
store the files on your webserver in some directory under your  
docroot. I'm not sure what you are exactly asking...
- --
Best regards / met vriendelijke groet, Karel Kubat
Mob +31 6 2956 4861



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAkmayXAACgkQ23FrzRzybNVBlwCeKzan8MP8vSIuz/vhiubITvcG
acAAoJAYKEtYNxuuniLhR8PbLTK7CVVT
=drRU
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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] how do I redirect wsdl calls to local disk

Posted by Jones Scott - sjones <Sc...@acxiom.com>.
But I can't seem to get a rewrite rule that will work.  Thus, I posted
this note for some help

-----Original Message-----
From: Jones Scott - sjones [mailto:Scott.Jones@acxiom.com] 
Sent: Tuesday, February 17, 2009 8:10 AM
To: users@httpd.apache.org
Subject: RE: [users@httpd] how do I redirect wsdl calls to local disk

I am trying to bypass an error on the JBoss server.  There is an error
that JBoss 4.0.2 gives after concurrent access to the wsdl.  Most of our
clients use the WSDL once.  But we have a couple that put it inline with
their code.  I thought a good short term work around is to have the
WSDLs static on the apache server.  This is until we can upgrade or get
a patch

-----Original Message-----
From: Krist van Besien [mailto:krist.vanbesien@gmail.com] 
Sent: Tuesday, February 17, 2009 5:12 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] how do I redirect wsdl calls to local disk

On Mon, Feb 16, 2009 at 6:19 PM, Jones Scott - sjones
<Sc...@acxiom.com> wrote:
> I am using apache in our DMZ.  It is using mod_jk to redirect all
calls to
> JBoss 4.0.2
>
>
>
> I need to redirect the product/1.0?wsdl requests to stay on the apache
> server.

Why do you need that? A wsdl is generated by a webservice, and apache
doesn't run webservices itself.
if you intend to actually put the wsdl file somewhere on your apache
server's filesystem, then you can us maybe some rewrite rule magic.
But what is it you are actually trying to achieve?

Krist


-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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 information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.

If the reader of this message is not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank you.
************************************************************************
*


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


RE: [users@httpd] how do I redirect wsdl calls to local disk

Posted by Jones Scott - sjones <Sc...@acxiom.com>.
I am trying to bypass an error on the JBoss server.  There is an error
that JBoss 4.0.2 gives after concurrent access to the wsdl.  Most of our
clients use the WSDL once.  But we have a couple that put it inline with
their code.  I thought a good short term work around is to have the
WSDLs static on the apache server.  This is until we can upgrade or get
a patch

-----Original Message-----
From: Krist van Besien [mailto:krist.vanbesien@gmail.com] 
Sent: Tuesday, February 17, 2009 5:12 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] how do I redirect wsdl calls to local disk

On Mon, Feb 16, 2009 at 6:19 PM, Jones Scott - sjones
<Sc...@acxiom.com> wrote:
> I am using apache in our DMZ.  It is using mod_jk to redirect all
calls to
> JBoss 4.0.2
>
>
>
> I need to redirect the product/1.0?wsdl requests to stay on the apache
> server.

Why do you need that? A wsdl is generated by a webservice, and apache
doesn't run webservices itself.
if you intend to actually put the wsdl file somewhere on your apache
server's filesystem, then you can us maybe some rewrite rule magic.
But what is it you are actually trying to achieve?

Krist


-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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 information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.

If the reader of this message is not the intended recipient, you are 
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank you.
*************************************************************************


---------------------------------------------------------------------
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] how do I redirect wsdl calls to local disk

Posted by Krist van Besien <kr...@gmail.com>.
On Mon, Feb 16, 2009 at 6:19 PM, Jones Scott - sjones
<Sc...@acxiom.com> wrote:
> I am using apache in our DMZ.  It is using mod_jk to redirect all calls to
> JBoss 4.0.2
>
>
>
> I need to redirect the product/1.0?wsdl requests to stay on the apache
> server.

Why do you need that? A wsdl is generated by a webservice, and apache
doesn't run webservices itself.
if you intend to actually put the wsdl file somewhere on your apache
server's filesystem, then you can us maybe some rewrite rule magic.
But what is it you are actually trying to achieve?

Krist


-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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