Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Yehuda Katz
Just to close the discussion here: Chris sent me the real domain name and I had a look: The issue is actually that the ProxyPassReverse is not correct. Requests for the main page come back with a 302 pointing to /share/ and all assets used also have /share/ at the beginning of their path. I will h

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Chris Arnold
Sent from my iPhone > On Oct 31, 2013, at 10:06 PM, "Yehuda Katz" wrote: > > When you say "And this gives me a 403 access denied.", you need to also > include the exact URL that you entered in the browser (minus the hostname if > you want). Sorry, https://share.example.com > > If you have t

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Yehuda Katz
When you say "And this gives me a 403 access denied.", you need to also include the exact URL that you entered in the browser (minus the hostname if you want). If you have the rewrite rule: *RewriteRule ^/(.*) https://192.168.123.3:8443/$1 [P]* and you navigate to https://share.example.com/, you s

Re: [users@httpd] building a web farm

2013-10-31 Thread trifo
Thanks for the replies. Well, I forget to mention that we run on AIX, not on Linux. And so it is. The files MUST be consistent in any moment of time. There is a period of time when a lot of pages are changing in every 5 minutes. Well, rsync is used to push the changes, mixed with some other tools

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Chris Arnold
>Are you accessing this URL from a web browser or a dedicated program? >The implication is that your client might be requesting (or the web >application redirecting to) https://share.example.com/share/ which you are >rewriting to already include the >/share/, therefore, the doubled share. Acce

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Yehuda Katz
Are you accessing this URL from a web browser or a dedicated program? The implication is that your client might be requesting (or the web application redirecting to) https://share.example.com/share/ which you are rewriting to already include the /share/, therefore, the doubled share. - Y On Thu,

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Chris Arnold
>What about when you go to https://share.example.com/share/ ? If i remember right, this gave the same error. As i try different things and think about this, i am going to need multiple clients to access this web app securely like so https://share.anydomain.tld and will need apache to send tho

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Yehuda Katz
What about when you go to https://share.example.com/share/? - Y On Thu, Oct 31, 2013 at 12:59 PM, Chris Arnold wrote: > *>*Is HTTPD giving that error or Tomcat? > > HTTPD > > >What does the log say is the reason? > > Directory index forbidden by directive: /srv/www/htdocs >

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Chris Arnold
> Is HTTPD giving that error or Tomcat? HTTPD >What does the log say is the reason? Directory index forbidden by directive: /srv/www/htdocs

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Yehuda Katz
Is HTTPD giving that error or Tomcat? What does the log say is the reason? - Y On Thu, Oct 31, 2013 at 12:15 PM, Chris Arnold wrote: > >>What URL are you using to access this vhost? > >> >If you want to access https://example.com/share/ and have that hit the >> proxy, you would need to make t

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Chris Arnold
>>What URL are you using to access this vhost? >If you want to access https://example.com/share/ and have that hit the proxy, >you would need to make the proxy config ProxyPass /share/ https://192.168.123.3:8443/share/ https://share.example.com which will end up being https://share.ex

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Yehuda Katz
On Thu, Oct 31, 2013 at 11:42 AM, Chris Arnold wrote: > The trailing slash is important. >> > ProxyPass / https://192.168.123.3:8443/share > > >This is telling Apache to strip off the slash when it does the proxy. > This is probably not what you want to do. > > I removed the trailing slash > I me

[users@httpd] Is there a server optimizing tool to use with Apache

2013-10-31 Thread Rose, John B
Is there an optimization tool like "idsktune" specific for Apache Web Server? http://docs.oracle.com/cd/E19199-01/816-6400-10/idsktune.html Thanks

[users@httpd] Apache with MQ

2013-10-31 Thread Guilherme Teles
Dear all, I´m building an infrastructure with 4 servers. 2 Frontend, and 2 Backend servers. My backend servers contain Linux Suse 11 SP3, With MQ 7 and Broker 7.0. My Frontend servers have Suse 11 SP3 with Apache 2.2.12. Right now, i could use Apache as Proxy for webservices as URL´s. But my doubt

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Tom Evans
On Thu, Oct 31, 2013 at 3:06 PM, Chris Arnold wrote: >>First of all, is "/folder/", "/path/" or "/share/"? You seem to have >>used them all so far.. please be careful when anonymizing your config >>that you aren't removing information that is necessary to determine >>what is wrong > > This rea

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Chris Arnold
The trailing slash is important. ProxyPass / https://192.168.123.3:8443/share >This is telling Apache to strip off the slash when it does the proxy. This is >probably not what you want to do. I removed the trailing slash >What URL are you using to access this vhost? >If you want t

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Yehuda Katz
On Thu, Oct 31, 2013 at 11:08 AM, Chris Arnold wrote: > >Did you have a trailing slash in the ProxyPass? > >I would expect that it would have tried to get /share*/*share/. > > Yes, i had a trailing slash and it did in fact tried to get /share/share. > When i remove the trailing slash it gives me /

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Chris Arnold
>Did you have a trailing slash in the ProxyPass? >I would expect that it would have tried to get /share / share/. Yes, i had a trailing slash and it did in fact tried to get /share/share. When i remove the trailing slash it gives me /shareshare

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Chris Arnold
>First of all, is "/folder/", "/path/" or "/share/"? You seem to have >used them all so far.. please be careful when anonymizing your config >that you aren't removing information that is necessary to determine >what is wrong This really shouldn't matter what it is /folder /path/ or /share as l

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Tom Evans
On Thu, Oct 31, 2013 at 2:20 PM, Chris Arnold wrote: > On Wed, Oct 30, 2013 at 9:24 PM, Chris Arnold > wrote: >> >> Apache/2.2.12 (Linux/SUSE). We have a web app that runs under tomcat >> (8080). We have apache using mod_proxy (80 and 443). According to the tomcat >> mailing list: > > >> >> What

Re: [users@httpd] building a web farm

2013-10-31 Thread Mark H. Wood
On Thu, Oct 31, 2013 at 09:54:14AM +0100, trifo wrote: > I am running a web site using Apache httpd on several server nodes to > provide high availability and performance. At present, the web content > resides on a clustered filesystem (GPFS) to ensure that all the nodes serve > the same content in

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Yehuda Katz
Did you have a trailing slash in the ProxyPass? I would expect that it would have tried to get /share*/*share/. - Y On Thu, Oct 31, 2013 at 10:20 AM, Chris Arnold wrote: > On Wed, Oct 30, 2013 at 9:24 PM, Chris Arnold > wrote: > >> Apache/2.2.12 (Linux/SUSE). We have a web app that runs under t

Re: [users@httpd] Another mod_proxy Question/Issue

2013-10-31 Thread Chris Arnold
On Wed, Oct 30, 2013 at 9:24 PM, Chris Arnold < carn...@electrichendrix.com > wrote: Apache/2.2.12 (Linux/SUSE). We have a web app that runs under tomcat (8080). We have apache using mod_proxy (80 and 443). According to the tomcat mailing list: What we need is for apache to proxy, rewrit

Re: [users@httpd] building a web farm

2013-10-31 Thread Yehuda Katz
On Thu, Oct 31, 2013 at 4:54 AM, trifo wrote: > I am running a web site using Apache httpd on several server nodes to > provide high availability and performance. At present, the web content > resides on a clustered filesystem (GPFS) to ensure that all the nodes serve > the same content in any mo

[users@httpd] building a web farm

2013-10-31 Thread trifo
Hi Folks, I am running a web site using Apache httpd on several server nodes to provide high availability and performance. At present, the web content resides on a clustered filesystem (GPFS) to ensure that all the nodes serve the same content in any moment. Well, GPFS is quite an expensive produ