Re: [users@httpd] ProxyPass to an IPv6 link-local address

2025-07-19 Thread Lexi Winter
Dino Ciuffetti: > 18 luglio 2025 01:03, "Lexi Winter" wrote: > > the problem here is it does not seem to understand how to parse the > > scope id, which is separated from the address by '%'. > > Yes, exactly. That’s the core issue. The APR library, together with > mod_proxy_http and proxy_util, c

Re: [users@httpd] ProxyPass to an IPv6 link-local address

2025-07-17 Thread Dino Ciuffetti
18 luglio 2025 01:03, "Lexi Winter" wrote: > ProxyPass http://[fd00::1]:80/ > > the problem here is it does not seem to understand how to parse the > scope id, which is separated from the address by '%'. Yes, exactly. That’s the core issue. The APR library, together with mod_proxy_http and pro

Re: [users@httpd] ProxyPass to an IPv6 link-local address

2025-07-17 Thread Lexi Winter
Paul: > Have you tried without the "[ ]" square brackets in the Location directive? thank you for the suggestion, but this does not work either: ProxyPass http://fe80::2%vm.cgit:80/ the error being: ProxyPass Unable to parse URL: http://fe80::2%vm.cgit:80/ > RFC 1738 is

Re: [users@httpd] ProxyPass to an IPv6 link-local address

2025-07-17 Thread Paul
On 7/17/25 17:04, Lexi Winter wrote: hello, i am having trouble trying to use ProxyPass to proxy a request to an HTTP backend on an IPv6 link-local address. for example, using this: ProxyPass "http://[fe80::2%vm.cgit]:80"; returns an error: AH01083: error parsing URL http://[fe80::

[users@httpd] ProxyPass to an IPv6 link-local address

2025-07-17 Thread Lexi Winter
hello, i am having trouble trying to use ProxyPass to proxy a request to an HTTP backend on an IPv6 link-local address. for example, using this: ProxyPass "http://[fe80::2%vm.cgit]:80"; returns an error: AH01083: error parsing URL http://[fe80::2%vm.cgit]:80: Invalid host/port i was

[users@httpd] proxypass to next proxy

2024-05-06 Thread Marc
On some production environment I am using this: ProxyPass http://test.example.com/test But on development I can't access test.example.com, traffic needs to be routed through another proxy on a different port. How should I rewrite this so requests for /test -> test.example.com go via pr

Re: [users@httpd] ProxyPass option mapping=servlet hurts mod_rewrite

2022-03-06 Thread Yann Ylavic
Hi Hendrik; > > > RewriteRule "^/alpha/gobeta/(.*)$" http://server2.localnet:8080/beta/$1 > > [P] > If the RewriteRule is specified with the option [P] it works correctly. The > request > https://example.ort/alpha/gobeta/anypath is sent to the beta backend. > > > Also, it seems to me that "/al

Re: [users@httpd] ProxyPass option mapping=servlet hurts mod_rewrite

2022-03-03 Thread Hendrik Harms
Hi Yann, > RewriteRule "^/alpha/gobeta/(.*)$" http://server2.localnet:8080/beta/$1 [P] If the RewriteRule is specified with the option [P] it works correctly. The request https://example.ort/alpha/gobeta/anypath is sent to the beta backend. > Also, it seems to me that "/alpha/gobeta/.." is not

Re: [users@httpd] ProxyPass option mapping=servlet hurts mod_rewrite

2022-03-03 Thread Yann Ylavic
On Thu, Mar 3, 2022 at 12:24 PM Yann Ylavic wrote: > > Hi Hendrik; > > > > > after reading your commit comment in https://svn.apache.org/r1898509 I > > realised that one important test case is missing: > > What happens if mod_rewrite manipulates the URL of a target that is proxied > > with the

Re: [users@httpd] ProxyPass option mapping=servlet hurts mod_rewrite

2022-03-03 Thread Yann Ylavic
Hi Hendrik; > > after reading your commit comment in https://svn.apache.org/r1898509 I > realised that one important test case is missing: > What happens if mod_rewrite manipulates the URL of a target that is proxied > with the option mapping=servlet? > > From my point of view this test case fa

Re: [users@httpd] ProxyPass option mapping=servlet hurts mod_rewrite

2022-03-02 Thread Hendrik Harms
Hi Yann, after reading your commit comment in https://svn.apache.org/r1898509 I realised that one important test case is missing: What happens if mod_rewrite manipulates the URL of a target that is proxied with the option mapping=servlet? >From my point of view this test case fails. :-( Prox

Re: [users@httpd] ProxyPass option mapping=servlet hurts mod_rewrite

2022-03-01 Thread Yann Ylavic
Hi, > > I have applied your patch to my httpd-2.4.52 and created two test cases. > One with a simple RewriteRule and a second one using a RewriteMap. > Both are working fine. :-) Thanks for testing! Now checked in https://svn.apache.org/r1898509 Regards; Yann. --

Re: [users@httpd] ProxyPass option mapping=servlet hurts mod_rewrite

2022-03-01 Thread Hendrik Harms
Hi Yann Anyway, could you please try the attached patch and see if it works for you? > I have applied your patch to my httpd-2.4.52 and created two test cases. One with a simple RewriteRule and a second one using a RewriteMap. Both are working fine. :-) Test logs attached: mod_rewrite_vs_proxy_p

Re: [users@httpd] ProxyPass option mapping=servlet hurts mod_rewrite

2022-02-28 Thread Yann Ylavic
Hi Hendrik, > > Is this a bug or do I have to use the "mapping=servlet" option very carefully? I'd say both.. mod_proxy mapping= acts very early in request processing and kind of "appropriates" the request URI to mod_proxy, confusing mod_rewrite, so it's probably a bug because your use case is le

[users@httpd] ProxyPass option mapping=servlet hurts mod_rewrite

2022-02-28 Thread Hendrik Harms
Hi httpd users, After adding the mapping=servlet option in the ProxyPass configuration, my RewriteRule no longer works as desired. Example: Hostname: example.org ProxyPass /alpha http://server1.localnet:8080/alpha ProxyPass /beta http://server2.localnet:8080/beta mapping=servlet

[users@httpd] ProxyPass OK, but not ProxyPassMatch for favicon.ico

2021-01-03 Thread Scott A. Wozny
I’m configuring a reverse proxy in stages. Initially, I just wanted to see if the proxying would work, so In a virtual server, I set up a Proxy balancer://webfarm with a couple BalancerMembers inside and an lbmethod of byrequests. Then I used a: ProxyPass / balancer://webfarm to make sure I

Re: [users@httpd] ProxyPass ordering

2017-10-23 Thread Victor Engle
Thanks for the answers. Testing proved that putting the proxypass directives inside location blocks caused a problem with ordering On Mon, Oct 23, 2017 at 6:57 AM Daniel wrote: > Indeed. > > ProxyPass goes most specific first. > Example of sorting: > ProxyPass /something ... > ProxyPass / > > W

Re: [users@httpd] ProxyPass ordering

2017-10-23 Thread Daniel
Indeed. ProxyPass goes most specific first. Example of sorting: ProxyPass /something ... ProxyPass / While Location should go more global first. Example or sorting: Location / Location /something As a general rule of thumb, when directive itself specifies url-path don't use location, in this cas

Re: [users@httpd] ProxyPass ordering

2017-10-04 Thread Eric Covener
My recollection is that the ordering is NOT handled similarly when in Location. Each directive will replace the last. On Wed, Oct 4, 2017 at 8:04 AM, Victor Engle wrote: > I have a site where multiple locations are mapped to different Proxy > balancers named balancer1, balancer2, balancer3 etc. O

[users@httpd] ProxyPass ordering

2017-10-04 Thread Victor Engle
I have a site where multiple locations are mapped to different Proxy balancers named balancer1, balancer2, balancer3 etc. One of the locations mapped is root, "/", and according to the documentation, if that ProxyPass mapping comes last in the config, it should work as expected. Instead, with Apach

[users@httpd] ProxyPass, root "/" directory and DirectoryIndex

2017-08-30 Thread Gustau Perez
Hi, During the setup of an Apache (2.4.18) proxy pass, I noticed that when requesting the root “/“, Apache assumes that the resource asked is /index.html. In our test environment the machine beg the proxy by default serves index.php I found out the way to change is by tweaking the Direct

Re: [users@httpd] ProxyPass with Location in 2.4.25

2017-05-10 Thread Eric Covener
On Tue, May 9, 2017 at 4:08 AM, Michael Haas wrote: > Is this a intended change? There was a 2.4.25 regression, you commented on the bug. The change is reverted and will be in the next release. https://bz.apache.org/bugzilla/show_bug.cgi?id=60458 In the interim, I think all-or-nothing for Locati

Re: [users@httpd] ProxyPass with Location in 2.4.25

2017-05-10 Thread Daniel
Most specific proxypass directives take precedence over the most "global" ones, while with Location is the opposite, you must define the most global paths first and then the most specific. So with ProxyPass the correct order or definition would be (if you define /something later it will be ignored

Re: [users@httpd] ProxyPass with Location in 2.4.25

2017-05-09 Thread Michael Haas
i only updated apache + openssl from source. The only thing i found what changed in 2.4.25 with proxypass and location is this https://bz.apache.org/bugzilla/show_bug.cgi?id=60458 And i think this is the same problem which i have http://stackoverflow.com/questions/43606856/apache2-configuration-vir

Re: [users@httpd] ProxyPass with Location in 2.4.25

2017-05-09 Thread Nick Kew
On Tue, 9 May 2017 10:08:36 +0200 Michael Haas wrote: > With 2.4.25 all requests are routet through the last ProxyPass, the > Location directive is ignored so the rewrite from the context is not > happening. > If i put the last ProxyPass in a Location directive like "^/(?!service)"> it's again

[users@httpd] ProxyPass with Location in 2.4.25

2017-05-09 Thread Michael Haas
Hello, we upgraded from 2.4.18 to 2.4.25 and now our configuration isn't working anymore. ProxyPreserveHost On BalancerMember http://xxx.xx.xx.xx:8080 route=vm_0 ping=5 BalancerMember http://xxx.xx.xx.xx:8080 route=vm_1 ping=5 ProxyPass balancer://ppp/system stick

[users@httpd] ProxyPass and ProxyPassReverse not working for URLs other than /

2017-04-07 Thread Ajay Garg
Hi All. When I have the following configuration : # ProxyPass / http://127.0.0.1:9000/ ProxyPassReverse / http://127.0.0.1:9000/ # and I type http://1.2.3.4 in the b

Re: [users@httpd] ProxyPass ! directive

2017-03-13 Thread Matthew Broadhead
thanks for your help. i don't think the problem is the syntax of the configuration. i have submitted a bug on bz.apache.org and have already been in communication with a developer there who has helped me figure it out. in case it helps someone else it looks like it might be a clash with mod_

Re: [users@httpd] ProxyPass ! directive

2017-03-13 Thread Filipe Cifali
The docs say you should use ProxyPass "!" Or ProxyPass "/.well-known/" "!" I do think the second one is more clear, but they both use double quotes on the ! marker, have you tried to put the double quotes? BUT reading a bit more I found this: For the same reasons, exclusions must come *befo

Re: [users@httpd] ProxyPass ! directive

2017-03-13 Thread Matthew Broadhead
hi, i know this is a community list but i have had this problem for a long time and it seems really fundamental. is there any way i can get some help on this? shall i file a bug report at JIRA or something? On 10/03/2017 17:43, Matthew Broadhead wrote: i moved the LogLevel directive to http

Re: [users@httpd] ProxyPass ! directive

2017-03-10 Thread Matthew Broadhead
i moved the LogLevel directive to httpd.conf and now i get this [Fri Mar 10 16:41:21.491354 2017] [proxy:debug] [pid 18744] proxy_util.c(1936): AH00931: initialized single connection worker in child 18744 for (*) [Fri Mar 10 16:41:21.496525 2017] [proxy:debug] [pid 18745] proxy_util.c(1885): AH

Re: [users@httpd] ProxyPass ! directive

2017-03-10 Thread Matthew Broadhead
i also added this in the virtual host LogLevel info proxy:debug but it makes no difference to the output in error_log On 10/03/2017 16:48, Eric Covener wrote: On Fri, Mar 10, 2017 at 10:43 AM, Matthew Broadhead wrote: yes it is definitely because of that line. i also just tried ProxyPass ajp

Re: [users@httpd] ProxyPass ! directive

2017-03-10 Thread Matthew Broadhead
i was looking at this message http://markmail.org/message/ne2rdzm5westbcvb well it doesn't work either way in my case. is there any way to test mod_proxy to find out why it isn't working? when i first moved to CentOS 7 i used an old configuration which worked perfectly on CentOS 6 but i have

Re: [users@httpd] ProxyPass ! directive

2017-03-10 Thread Eric Covener
On Fri, Mar 10, 2017 at 10:43 AM, Matthew Broadhead wrote: > yes it is definitely because of that line. i also just tried > > ProxyPass ajp://www.nbmlaw.co.uk:8010/ > > > ProxyPass ! > > and that has exactly the same effect That syntax is known to not work. Once you proxy within

Re: [users@httpd] ProxyPass ! directive

2017-03-10 Thread Matthew Broadhead
yes it is definitely because of that line. i also just tried ProxyPass ajp://www.nbmlaw.co.uk:8010/ ProxyPass ! and that has exactly the same effect On 10/03/2017 16:30, Eric Covener wrote: On Fri, Mar 10, 2017 at 10:24 AM, Matthew Broadhead wrote: Declaring the following directives in a

Re: [users@httpd] ProxyPass ! directive

2017-03-10 Thread Eric Covener
On Fri, Mar 10, 2017 at 10:24 AM, Matthew Broadhead wrote: > Declaring the following directives in a virtual host > ProxyPass "/.well-known/" ! # don't pass lets encrypt folder > ProxyPass "/" ajp://localhost:8010/ # pass root to tomcat server > should result in .well-known folder

[users@httpd] ProxyPass ! directive

2017-03-10 Thread Matthew Broadhead
Operating System: CentOS7 Operating System Version number: centos-release-7-3.1611.el7.centos.x86_64 Httpd Version: httpd-2.4.6-45.el7.centos.x86_64 Issue: Declaring the following directives in a virtual host ProxyPass "/.well-known/" ! # don't pass lets encrypt folder ProxyPass "/" aj

Re: [users@httpd] proxypass does'nt seem to work on apache 2.4.25

2017-02-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stéphane, On 2/17/17 11:06 AM, Stéphane Laurencelle wrote: > i try to implment the proxypass and proxypassreverse in apache 2.4 > vhost file on oel 6.8 to redirect does to tomcat apps web page but > nothing seem to work like in apache 2.2.x > > is

[users@httpd] proxypass does'nt seem to work on apache 2.4.25

2017-02-17 Thread Stéphane Laurencelle
Hello, i try to implment the proxypass and proxypassreverse in apache 2.4 vhost file on oel 6.8 to redirect does to tomcat apps web page but nothing seem to work like in apache 2.2.x is there some new stuff i need to configure to make it works ! hope you can help me on this ! Stéphane Stéph

Re: [users@httpd] ProxyPass not working?

2016-12-10 Thread Erik Dobák
hen you should set it up >>>> statically using the hosts file. >>>> >>>> Anyway , if you want to do this kind of work , you should first have a >>>> basic understanding of networking and apache configuration. >>>> >>>> >>>> >

Re: [users@httpd] ProxyPass not working?

2016-11-25 Thread Lou DeGenaro
t;>> >>> If you don’t have DNS configured correctly then you should set it up >>> statically using the hosts file. >>> >>> Anyway , if you want to do this kind of work , you should first have a >>> basic understanding of networking and apache conf

Re: [users@httpd] ProxyPass not working?

2016-11-25 Thread Daniel
f networking and apache configuration. >> >> >> >> >> >> *From:* Lou DeGenaro [mailto:lou.degen...@gmail.com] >> *Sent:* Friday, November 25, 2016 4:34 PM >> >> *To:* users@httpd.apache.org >> *Subject:* Re: [users@httpd] ProxyPass not w

Re: [users@httpd] ProxyPass not working?

2016-11-25 Thread Lou DeGenaro
basic understanding of networking and apache configuration. > > > > > > *From:* Lou DeGenaro [mailto:lou.degen...@gmail.com] > *Sent:* Friday, November 25, 2016 4:34 PM > > *To:* users@httpd.apache.org > *Subject:* Re: [users@httpd] ProxyPass not working? > >

RE: [users@httpd] ProxyPass not working?

2016-11-25 Thread Alexandru Duzsardi
users@httpd.apache.org Subject: Re: [users@httpd] ProxyPass not working? HTTP Status 404 - /lophyda.comlophyda.com/ <http://lophyda.comlophyda.com/> root@HAL9000:/etc/apache2/sites-enabled# cat lophyda.com.conf ServerName lophyda.com <http://lophyda.com> ProxyPass / http://localhos

Re: [users@httpd] ProxyPass not working?

2016-11-25 Thread Lou DeGenaro
oxyPass http://localhost:8080/lophyda.com > > > > LogLevel warn > > > > > > > *From:* Lou DeGenaro [mailto:lou.degen...@gmail.com] > *Sent:* Friday, November 25, 2016 3:24 PM > *To:* users@httpd.apache.org > *Subject:* Re: [users@httpd] ProxyPass no

RE: [users@httpd] ProxyPass not working?

2016-11-25 Thread Alexandru Duzsardi
PM To: users@httpd.apache.org Subject: Re: [users@httpd] ProxyPass not working? Still trying. On ubuntu 16.04. I have tomcat installed. Visiting localhost:8080 yields normal tomcat welcome page. Visiting localhost:8080/lophyda.com <http://lophyda.com> yields my website welcome page, as

Re: [users@httpd] ProxyPass not working?

2016-11-25 Thread Lou DeGenaro
Still trying. On ubuntu 16.04. I have tomcat installed. Visiting localhost:8080 yields normal tomcat welcome page. Visiting localhost:8080/lophyda.com yields my website welcome page, as expected. I have apache2 installed. Visiting localhost:80 yields normal apache welcome page. Visiting lophy

Re: [users@httpd] ProxyPass not working?

2016-11-10 Thread Eric Covener
On Thu, Nov 10, 2016 at 6:21 PM, Lou DeGenaro wrote: > On Thu, Nov 10, 2016 at 7:05 AM, Daniel wrote: >> >> when you visit localhost/degenaro.com it will be delivered to >> (/etc/apache2/sites-enabled/000-default.conf:1) >> >> if you want to be delivered to >> (/etc/apache2/sites-enabled/degenar

Re: [users@httpd] ProxyPass not working?

2016-11-10 Thread Lou DeGenaro
Why? I see: port 80 namevhost degenaro.com (/etc/apache2/sites-enabled/ degenaro.com.conf:1) On Thu, Nov 10, 2016 at 7:05 AM, Daniel wrote: > when you visit localhost/degenaro.com it will be delivered to > (/etc/apache2/sites-enabled/000-default.conf:1) > > if you want to be delivered to > (/e

Re: [users@httpd] ProxyPass not working?

2016-11-10 Thread Daniel
when you visit localhost/degenaro.com it will be delivered to (/etc/apache2/sites-enabled/000-default.conf:1) if you want to be delivered to (/etc/apache2/sites-enabled/degenaro.com.conf:1) you must request using the appropiate name. 2016-11-10 11:38 GMT+01:00 Lou DeGenaro : > root@HAL9000:/etc/

Re: [users@httpd] ProxyPass not working?

2016-11-10 Thread Lou DeGenaro
root@HAL9000:/etc/apache2/sites-enabled# apachectl -S VirtualHost configuration: *:80 is a NameVirtualHost default server 192.168.1.80 (/etc/apache2/sites-enabled/000-default.conf:1) port 80 namevhost 192.168.1.80 (/etc/apache2/sites-enabled/000-default.conf:1)

Re: [users@httpd] ProxyPass not working?

2016-11-10 Thread Lou DeGenaro
It is enabled. See immediately preceding reply. On Wed, Nov 9, 2016 at 7:03 PM, Yehuda Katz wrote: > I hit send too fast. > > Also, Ubuntu/Debian by default load config from /etc/apache2/sites-enabled. > You can use a2ensite or just create a symlink from sites-available. > > - Y > > On Wed, Nov

Re: [users@httpd] ProxyPass not working?

2016-11-10 Thread Lou DeGenaro
I did have a typo...how embarrassing. But fixing it, restarting apache did not help. root@HAL9000:/etc/apache2/sites-enabled# cat degenaro.com.conf ProxyRequests off ProxyPreserveHost on ServerName degenaro.com ServerAdmin lou@localhost ProxyPass /degenaro.com ajp://localhos

Re: [users@httpd] ProxyPass not working?

2016-11-09 Thread Eric Covener
> > > ServerName degenaro.com > > I've restated the apache server, and visit http://localhost/degenaro.com/ > and see this in my browser: > ​ Request likely not going to the virtual host you configured. See apachectl -S for a summary.​

Re: [users@httpd] ProxyPass not working?

2016-11-09 Thread Yehuda Katz
I hit send too fast. Also, Ubuntu/Debian by default load config from /etc/apache2/sites-enabled. You can use a2ensite or just create a symlink from sites-available. - Y On Wed, Nov 9, 2016 at 7:01 PM, Yehuda Katz wrote: > Can you confirm you don't have a typo? Your ProxyPass has a slash and th

Re: [users@httpd] ProxyPass not working?

2016-11-09 Thread Yehuda Katz
Can you confirm you don't have a typo? Your ProxyPass has a slash and the URL you posted has a dot. - Y On Wed, Nov 9, 2016 at 6:46 PM, Lou DeGenaro wrote: > I'm running apache2 and have defined the following: > > lou@HAL9000:/etc/apache2/sites-available$ cat degenaro.com.conf > > ProxyReq

[users@httpd] ProxyPass not working?

2016-11-09 Thread Lou DeGenaro
I'm running apache2 and have defined the following: lou@HAL9000:/etc/apache2/sites-available$ cat degenaro.com.conf ProxyRequests off ProxyPreserveHost on ServerName degenaro.com ServerAdmin lou@localhost ProxyPass /degenaro/com ajp://localhost:8080/degenaro.com ProxyPass

[users@httpd] ProxyPass ttl and error messages on backend server

2016-08-03 Thread Matthias Leopold
hi, i'm running typo3 behind a reverse proxy. both frontend and backend servers are apache httpd on linux. now we moved the backend server from apache 2.2 mod_php PHP 5.3 Typo3 4.5 to apache 2.4 php-fpm PHP 5.6 Typo3 7.2 this brought unexpected woes with the reverse proxy, which had to be

Re: [users@httpd] ProxyPass ttl not working?

2016-07-28 Thread Matthias Leopold
Am 2016-07-27 um 14:01 schrieb Matthias Leopold: Hi, i'm reverse proxying from an apache 2.2 to an apache 2.4 server (both RHEL). proxy VirtualHost is SSL (SSLProxyEngine On, SSLProxyVerify none) on the proxy i'm seeing errors like proxy: Error reading from remote server returned by xxx (700

Re: [users@httpd] ProxyPass ttl not working?

2016-07-27 Thread Matthias Leopold
Am 2016-07-27 um 14:13 schrieb Nick Kew: On Wed, 27 Jul 2016 14:01:09 +0200 Matthias Leopold wrote: Check what headers are actually being exchanged between the proxy and backend (and from the Client). The keepalive timeouts are only relevant if all parties agree to them. ProxyPass https://

Re: [users@httpd] ProxyPass ttl not working?

2016-07-27 Thread Nick Kew
On Wed, 27 Jul 2016 14:01:09 +0200 Matthias Leopold wrote: Check what headers are actually being exchanged between the proxy and backend (and from the Client). The keepalive timeouts are only relevant if all parties agree to them. > ProxyPass https://xxx ttl=20 Https? Do you get the same with

[users@httpd] ProxyPass ttl not working?

2016-07-27 Thread Matthias Leopold
Hi, i'm reverse proxying from an apache 2.2 to an apache 2.4 server (both RHEL). proxy VirtualHost is SSL (SSLProxyEngine On, SSLProxyVerify none) on the proxy i'm seeing errors like proxy: Error reading from remote server returned by xxx (70014)End of file found: proxy: error reading status li

Re: [users@httpd] ProxyPass ! directive seems to have no effect

2016-03-21 Thread Luca Toscano
Hi Matthew, are you upgrading from 2.2 to 2.4? Moreover, I'd use https://httpd.apache.org/docs/2.4/mod/core.html#loglevel for mod_proxy to get more data about what's happening. The httpd version is also a bit old (upstream is 2.4.18 now and Debian for example has 2.4.10 in stable). Luca 2016-03

Re: [users@httpd] ProxyPass ! directive seems to have no effect

2016-03-21 Thread Matthew Broadhead
hi, i am still experiencing this problem. does anyone know what might possibly cause this? - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] ProxyPass ! directive seems to have no effect

2016-03-20 Thread Matthew Broadhead
FYI server: centos-release-7-2.1511.el7.centos.2.10.x86_64 httpd: httpd-2.4.6-40.el7.centos.x86_64 - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

[users@httpd] ProxyPass ! directive seems to have no effect

2016-03-19 Thread Matthew Broadhead
I am in the middle of migrating a server and my old virtual host config which worked fine was like this |ProxyPass /images ! ProxyPass / ajp://domain.tld:8010/ nocanon | It passes ok to Tomcat but the ! directive is being ignored. There are no errors thrown. What might be causing this?

Re: [users@httpd] ProxyPass + Redirect

2015-12-28 Thread Christopher Schultz
Yann, On 12/17/15 3:51 AM, Yann Ylavic wrote: > On Thu, Dec 17, 2015 at 8:14 AM, Marat Khalili wrote: >> Crude, but what about: >> >> ProxyPassMatch "^/foo/(.+)$" "http://localhost:8009/foo/$1"; > > or (along the lines): > ProxyPassMatch ^/foo/((?!index\.html$).+)$ http://localhost:8009/

Re: [users@httpd] ProxyPass + Redirect

2015-12-17 Thread Yann Ylavic
On Thu, Dec 17, 2015 at 8:14 AM, Marat Khalili wrote: > Crude, but what about: > > ProxyPassMatch "^/foo/(.+)$" "http://localhost:8009/foo/$1"; or (along the lines): ProxyPassMatch ^/foo/((?!index\.html$).+)$ http://localhost:8009/foo/$1 Regards, Yann. --

Re: [users@httpd] ProxyPass + Redirect

2015-12-16 Thread Marat Khalili
Crude, but what about: ProxyPassMatch "^/foo/(.+)$" "http://localhost:8009/foo/$1"; ? (not sure about + escaping, can be \+) -- With Best Regards, Marat Khalili On 17/12/15 01:34, Christopher Schultz wrote: All, I've got a reverse-proxy in front of Tomcat that I'd like to configure. Wh

Re: [users@httpd] ProxyPass + Redirect

2015-12-16 Thread Christopher Schultz
Bill, On 12/16/15 5:45 PM, William A Rowe Jr wrote: > On Wed, Dec 16, 2015 at 4:34 PM, Christopher Schultz > mailto:ch...@christopherschultz.net>> wrote: > > >RedirectMatch ^/foo(/)?$ /foo/someplace_specific.html >RedirectMatch ^/foo/index.html$ /foo/someplace_specific.html >

Re: [users@httpd] ProxyPass + Redirect

2015-12-16 Thread William A Rowe Jr
On Wed, Dec 16, 2015 at 4:34 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > >RedirectMatch ^/foo(/)?$ /foo/someplace_specific.html >RedirectMatch ^/foo/index.html$ /foo/someplace_specific.html >ProxyPass /foo/index.html ! >ProxyPass /foo/ http://localhost:8009/foo

[users@httpd] ProxyPass + Redirect

2015-12-16 Thread Christopher Schultz
All, I've got a reverse-proxy in front of Tomcat that I'd like to configure. When using mod_jk, we have a configuration like this: RedirectMatch ^/foo(/)?$ /foo/someplace_specific.html RedirectMatch ^/foo/index.html$ /foo/someplace_specific.html JkMount /foo/*.do myWorker This works swi

[users@httpd] proxypass strip the URL

2015-05-04 Thread pradeepkumar tanguturi
HI I am have an issue when the apache 2.2 proxypass the URL with filename has "=". when is proxypass it strip the any character before "=" character E.g  https://apple.com/test/file=test1.xml it pass as  https://apple.com/test/test1.xml. it stripping all the character before it pass. Any help wil

Re: [users@httpd] Proxypass Status - ignore errors.

2015-01-07 Thread Jeff MacDonald
AH HA! It appears after some reading that “retry” might be more appropriate to use. But I’m still open to discussion about “status” Jeff. — Jeff MacDonald > On Jan 7, 2015, at 4:15 PM, Jeff MacDonald wrote: > > Hi, > > My situation is as follows. My apache server proxies several java ap

[users@httpd] Proxypass Status - ignore errors.

2015-01-07 Thread Jeff MacDonald
Hi, My situation is as follows. My apache server proxies several java apps that live on a JBoss server. Yesterday ONE of the apps went unresponsive for about 3 minutes. The interesting thing was, if I went around the proxy it worked absolutely fine. Which made me suspect Apache. The logs had s

Re: [users@httpd] ProxyPass based on time of day

2014-12-02 Thread Zimmi
Le 03.12.2014 00:11, congo a écrit : Hello chiefs, i recall reading about httpd proxy setup where a vhost would use one proxypass before noon and another after noon (for instance). i.e. proxypassing based on what hour it is of the day... however i cant recall where i saw this config, and mayb

[users@httpd] ProxyPass based on time of day

2014-12-02 Thread congo
Hello chiefs, i recall reading about httpd proxy setup where a vhost would use one proxypass before noon and another after noon (for instance). i.e. proxypassing based on what hour it is of the day... however i cant recall where i saw this config, and maybe theres a small chance that its

Re: [users@httpd] ProxyPass and HA Singleton Applications

2014-07-08 Thread Jim Jagielski
What about using the 'lbset' parameter then? On Jul 3, 2014, at 8:58 AM, Federico Calì wrote: > Hi Eric, > > thanks for the hint but I think it's not what I need. > Defining the standby node(s) in the balancer definition I might loss > functionality for these reasons: > > - the JBoss cluster

Re: [users@httpd] ProxyPass and HA Singleton Applications

2014-07-03 Thread Federico Calì
Absolutely correct, I think that problem may be caused by the JBoss GC (stop the world) activity. When it occurs on HA Singleton MASTER node it makes the web-applications not availables, and the node is considered "off-line" for 1 minute by the apache. No problem arises for "standard cluster a

Re: [users@httpd] ProxyPass and HA Singleton Applications

2014-07-03 Thread Federico Calì
Hi Roman, my scenario is similar what you describe, but whit a little difference: I have one or more contexts served by all of the nodes in the cluster, and another contexts served only by the Master node. The Master node manages the contexts deployed in HA Singleton. Only one Master node is act

Re: [users@httpd] ProxyPass and HA Singleton Applications

2014-07-03 Thread Roman Jurkov
Federico, 503 would be due to a node being not responsive, you can configure your cluster to disable a node after one or more failures with mod_cluster. now back to mod_proxy_balancer and mod_proxy, if i understand correctly, you have a scenario where you have one or more contexts served by all

Re: [users@httpd] ProxyPass and HA Singleton Applications

2014-07-03 Thread Jeff Trawick
On Thu, Jul 3, 2014 at 9:57 AM, Federico Calì wrote: > Hi Roman, > the mod_cluster is what we have actually in production. > I want to change it, because the communication > between Jboss and front-end sometimes fails with error 503. > I would like to use ProxyPass in order to investigate i

Re: [users@httpd] ProxyPass and HA Singleton Applications

2014-07-03 Thread Federico Calì
Hi Roman, the mod_cluster is what we have actually in production. I want to change it, because the communication between Jboss and front-end sometimes fails with error 503. I would like to use ProxyPass in order to investigate if these kinds of errors will remain. Federico Il 03/07/2014

Re: [users@httpd] ProxyPass and HA Singleton Applications

2014-07-03 Thread Roman Jurkov
Federico, since you are using JBoss, i would suggest to look into mod_cluster instead. http://mod-cluster.jboss.org -Roman. On Jul 3, 2014, at 8:58 AM, Federico Calì wrote: > Hi Eric, > > thanks for the hint but I think it's not what I need. > Defining the standby node(s) in the balancer def

Re: [users@httpd] ProxyPass and HA Singleton Applications

2014-07-03 Thread Federico Calì
Hi Eric, thanks for the hint but I think it's not what I need. Defining the standby node(s) in the balancer definition I might loss functionality for these reasons: - the JBoss cluster has both web applications deployed in HA Singleton that deployed in "statndard classic" [ie running on all n

Re: [users@httpd] ProxyPass and HA Singleton Applications

2014-07-03 Thread Eric Covener
On Thu, Jul 3, 2014 at 6:47 AM, Federico Calì wrote: > I'd like use Apache ProxyPass, with balancer directives, to refer these web > applications, > but I need that no requests are sent to the "stand-by" back-end node. http://httpd.apache.org/docs/2.2/mod/mod_proxy.html Search for "standby" --

[users@httpd] ProxyPass and HA Singleton Applications

2014-07-03 Thread Federico Calì
Hi, I've an Apache/2.2.15 in front a JBoss Cluster (based on 2 nodes) in which web applications are deployed in HA Singleton mode. In this case the web applications are always running on a specific node but/and in case of failure the cluster actives them on the other node. I'd like use Apache Pr

[users@httpd] ProxyPass directive fails on IPv6 address:

2014-06-29 Thread Nader Zeid
I'm using Apache to front-end some servers listening on loopback but the ProxyPass directive doesn't like IPv6 addresses. I spin up a server on IPv6 address [::1]:8001, confirmed working using cURL and shown here on nestat: tcp0 0 ::1:8001:::* LISTEN 1348/./

[users@httpd] ProxyPass from MySQL LookUp (on Start)

2014-05-22 Thread Matt .
Hi Guys, I'm looking for a solution where I can create ProxyPass for domainnames to a subdomain. Let's say I host subdomain.domain.com and someone wants to use his own managed domainname for this own subdomain.domain.com the most ideal is to have a vhost/proxypass for his domainnamename on my web

[users@httpd] ProxyPass with ENV var

2014-01-14 Thread spring
Hi, is it possible to setup a reverse proxy (ProxyPass, ProxyPassReverse) which forwards to an URL from an ENV var? e.g. ProxyPass / %{ENV:BACKEND_URL} Thank you - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org Fo

Re: [users@httpd] ProxyPass without slash not working

2013-10-10 Thread Tiago Braga
Sorry, I put the wrong example, below the correct: ProxyPassMatch ^/(.*) http://static.host.com.br/html/directory ProxyPassReverse / /html/directory/ But, When the url is /anythig It's redirected to /anything/ with 302. But I would like with 301. How

Re: [users@httpd] ProxyPass without slash not working

2013-10-10 Thread Tiago Braga
I did the below rules: ProxyPassMatch ^/(.*) http://static.comprafacil.com.br/html/comprafacilempresas ProxyPassReverse / /html/comprafacilempresas/ And it's working! Thanks! On Thu, Oct 10, 2013 at 5:13 PM, Tiago Braga wrote: > On Thu, Oct 10, 2013 at 4:13 PM, trifo wrote: > >> maybe a work

Re: [users@httpd] ProxyPass without slash not working

2013-10-10 Thread Tiago Braga
On Thu, Oct 10, 2013 at 4:13 PM, trifo wrote: > maybe a workaround to add the trailing slash automagically using reweite > rule? > I has tried and not works. > --Trifo > > ≈( Telefonról küldve )≈ > On Oct 10, 2013 6:39 PM, "Tiago Braga" wrote: > >> >> >> >> On Thu, Oct 10, 2013 at 1:11 PM, Er

Re: [users@httpd] ProxyPass without slash not working

2013-10-10 Thread trifo
maybe a workaround to add the trailing slash automagically using reweite rule? --Trifo ≈( Telefonról küldve )≈ On Oct 10, 2013 6:39 PM, "Tiago Braga" wrote: > > > > On Thu, Oct 10, 2013 at 1:11 PM, Eric Covener wrote: > >> On Thu, Oct 10, 2013 at 12:03 PM, Tiago Braga >> wrote: >> > Looking t

Re: [users@httpd] ProxyPass without slash not working

2013-10-10 Thread Tiago Braga
On Thu, Oct 10, 2013 at 1:11 PM, Eric Covener wrote: > On Thu, Oct 10, 2013 at 12:03 PM, Tiago Braga > wrote: > > Looking the log and I see an thing: > > > > 127.0.0.1 - - [10/Oct/2013:13:00:46 -0300] "GET /teste HTTP/1.1" 302 301 > "-" > > "lwp-request/5.827 libwww-perl/5.833" > > 127.0.0.1 - -

Re: [users@httpd] ProxyPass without slash not working

2013-10-10 Thread Eric Covener
On Thu, Oct 10, 2013 at 12:03 PM, Tiago Braga wrote: > Looking the log and I see an thing: > > 127.0.0.1 - - [10/Oct/2013:13:00:46 -0300] "GET /teste HTTP/1.1" 302 301 "-" > "lwp-request/5.827 libwww-perl/5.833" > 127.0.0.1 - - [10/Oct/2013:13:00:46 -0300] "GET /html/directory/test/ > HTTP/1.1" 40

Re: [users@httpd] ProxyPass without slash not working

2013-10-10 Thread Tiago Braga
Looking the log and I see an thing: 127.0.0.1 - - [10/Oct/2013:13:00:46 -0300] "GET /teste HTTP/1.1" 302 301 "-" "lwp-request/5.827 libwww-perl/5.833" 127.0.0.1 - - [10/Oct/2013:13:00:46 -0300] "GET /html/directory/test/ HTTP/1.1" 404 594 "-" "lwp-request/5.827 libwww-perl/5.833" Why do it occurs

Re: [users@httpd] ProxyPass without slash not working

2013-10-09 Thread Tiago Braga
Jim, Do you know what version that fixed? And what the bug? Thanks! On Wed, Oct 9, 2013 at 10:47 AM, Jim Jagielski wrote: > iirc, this is fixed/addressed in later versions... > > > On Oct 9, 2013, at 8:28 AM, Tiago Braga wrote: > > > Hello! > > > > I'm using the httpd Apache/2.2.15 in Linux

Re: [users@httpd] ProxyPass without slash not working

2013-10-09 Thread Jim Jagielski
iirc, this is fixed/addressed in later versions... On Oct 9, 2013, at 8:28 AM, Tiago Braga wrote: > Hello! > > I'm using the httpd Apache/2.2.15 in Linux RedHat with mod_proxy. > > I have the below configuration: > > > ServerName www.host.com.br > ProxyPass / http://static.host.com.

Re: [users@httpd] ProxyPass without slash not working

2013-10-09 Thread Tiago Braga
Vivek, Yes, the setting was in conf/httpd.conf, but i put in my vhost e not working too. ProxyRequests off ProxyPass / http://static.host.com.br/html/directory/ ProxyPassReverse / http://static.host.com.br/html/directory/ On Wed, Oct 9, 2013 at 10:27 AM, Vivek Nambiar wrote: > Tiago, > > Did yo

  1   2   >