You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pete Stokes <st...@quinn-direct.com> on 2004/04/27 00:35:49 UTC
[users@httpd] Reverse / ProxyPass & static content
Hi.
First, thanx for all the contributions I've had because things are
working very well now. I have one last item I want to try :
I have Apache2 reverse proxying to a Tomcat webapp. I want to serve the
statics from Apache, and I can see a variety of ways, such as
FilesMatch, and now what you have been discussing.
I basically want to get as much speed as poss, so I'm wondering if
rather than having a series of Alias commands (which don't seem to work)
to map a request for /App/images/a.gif to a local
/htdocs/MyApp1/images/a.gif, I can use what you said below to have a
VirtualHost on port 80 to serve the statics.
Can any1 advise the best method to do this ?
Many thanks,
Pete.
Milos Prudek wrote:
>
>> You can very likely get what you want by adding
>> ProxyPass /hell !
>> BEFORE the existing ProxyPass. See:
>
>
> God, I did not notice this in the docs. And it's right there. Thank you
> very much for you kindness. And yes, it works in my specific case.
>
***********************************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses.
***********************************************************************************
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.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] Reverse / ProxyPass & static content
Posted by Joshua Slive <jo...@slive.ca>.
On Mon, 26 Apr 2004, Pete Stokes wrote:
> Hi.
>
> First, thanx for all the contributions I've had because things are
> working very well now. I have one last item I want to try :
>
> I have Apache2 reverse proxying to a Tomcat webapp. I want to serve the
> statics from Apache, and I can see a variety of ways, such as
> FilesMatch, and now what you have been discussing.
>
> I basically want to get as much speed as poss, so I'm wondering if
> rather than having a series of Alias commands (which don't seem to work)
> to map a request for /App/images/a.gif to a local
> /htdocs/MyApp1/images/a.gif, I can use what you said below to have a
> VirtualHost on port 80 to serve the statics.
>
> Can any1 advise the best method to do this ?
I don't really understand your question. Yes, you can use ProxyPass ! to
exclude things from being proxied, and this shouldn't have any drastic
performance effects. If that is not what you want to know, please try
explaining again.
Joshua.
---------------------------------------------------------------------
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