mod-proxy

Apache Reverse proxy asking for credentials for every resource of a site

邮差的信 提交于 2021-02-10 18:37:36
问题 Greetings I am new to apache. so please dont be so hard if this is too basic I've been practicing by my self looking for scenarios to solve, but I have this a particular one that I can[t figure out. I manage to set some sore of reverse proxy to forward a website that I have on an intranet.(forward it to external net throug VPN). The thing I can't figure out is that when I acces this site through the proxy, it prompts to enter the user name an pass but it is doing this for every resource that

Apache responses with http/1.0 even if request is http/1.1

落花浮王杯 提交于 2021-02-10 14:23:03
问题 I configured Apache Http server version 2.4 as proxy for backend server (Glassfish App Server actually). MPM is worker . Configuration is mostly default. Configuration for proxy ProxyPass /context/ http://backend.com:8080/context/ keepalive=On ttl=25 timeout=300 max=50 ProxyPassReverse /context/ http://backend.com:8080/context/ I open page in browser and it sends GET http://example.com/context HTTP/1.1 to Apache. Apache returns response HTTP/1.0 200 OK with Connection: close header. But

Application error passthru when using apache mod_proxy

断了今生、忘了曾经 提交于 2021-02-10 06:14:41
问题 Heyas. I'm using mod_proxy with apache2 provide vhost ability to multiple servlet apps running on the local machine. It works fine, for the most part. Requests come into apache then are directed to the application bound on a port on localhost. The app receives the request and responds, which is delivered back to the client by apache. The problem I'm having is that the application delivers 500's on errors, and mod_proxy stomps on them. Often these errors are caused in a ajax request and the

Tomcat behind an apache proxy error on path

夙愿已清 提交于 2021-01-27 13:47:59
问题 I'm trying to configure my apache 2.2 as a proxy to some applications on a server. tomcat-jira : Installed with Jira´s installer; tomcat-dev : Just a container for another applications. First, my httpd.conf is like this: ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /jira http://dev.debian.local:8080/jira ProxyPassReverse /jira http://dev.debian.local:8080/jira ProxyPass /tomcat http://dev.debian.local:8088 ProxyPassReverse /tomcat http:/

ProxyPassReverse doesn't rewrite Location (http header)

泄露秘密 提交于 2020-07-19 06:28:26
问题 I have an apache installed in a frontend server (server1), which is as reverse proxy. I have another server (server2) with tomcat that is running a webapp. I configured my reverse proxy (server1) like that: ProxyPass /app1/ ajp://server2:8009/app1/ ProxyPassReverse /app1/ https://www.external_domain_name.com/ When I connect to: https://www.external_domain_name.com/app1/ my web app is working properly. In some pages, the web app redirects me (302) to another page. Then, I am redirected to :

configuring multiple domains using virtual host with mod proxy in a single httpd instance

我的梦境 提交于 2020-06-17 14:12:40
问题 I have an apache instance running three domains using name based virtual hosting and every domain has resources to reverse proxy them down to an application server. Application server is a JBoss running a since JVM instance (http://x.x.x.x:8080/) The domains along with their resources are, www.abc.com - alpha www.def.com - beta www.ghi.com - gamma - (root URL - no resource) abd.com and def.com domains have one resource whereas ghi.com has two (root (/) and gamma). this is how we have setup

ProxyPass apache https to a node server

左心房为你撑大大i 提交于 2020-05-27 13:10:52
问题 I'm trying to make a apache server a gateway for my node server. My apache will serve the static pages and the node will act as rest api server. Both the node and the apache sits on the same server , ubuntu 64bit ec2. I've tried to do this for https and failed, later i've tried to open up a http port for the proxy pass and it worked ( I've changed the node to be http in order for that to work). my last resort will be turning the node to the web server, but I wish to keep it simple since it