The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
226 views

Combining DocumentRoot and proxypass in Apache Web server

I have an application running on tomcat and fronted with Apache. My server name is www.abc.com so in my vHost setting I have DocumentRoot /home/user/www.abc.com ServeName www.abc.com ProxyPass ...
0
votes
1answer
136 views

Apache2 proxypass

i'm trying to figure out why my apache2 reverse proxy doesn't work... hope someone can clarify. i'm using an apache server as a gateway with proxy pass: 10.184.1.2 is the IP. these are PP ...
1
vote
1answer
210 views

Java website on Tomcat PHP website on Apache - how to get PHP web pages into Java web pages?

We have a Java web application deployed on Tomcat. We also setup Apache and mod_proxy_ajp to route web requests (port 80/443) to Tomcat. We would like to deploy a PHP application on the same Apache ...
0
votes
1answer
169 views

Using Jira on subdomain and not 8080

I have Jira installed as a service on my Ubuntu VPS on 8080. I've successfully used ProxyPass and ProxyPassReverse to point http://jira.mydomain.com to http://mydomain.com:8080 However, after login, ...
1
vote
1answer
114 views

ProxyPass: discard body data

I have some rules like <Location /xyz> ProxyPass http://example.com/abc ... </Location> I want to accept requests to http://mypage.lan/xyz/123 and deliver the data of ...
1
vote
0answers
291 views

Mod disk_cache permanent caching images and disabling reacurring header updates

I am trying to get mod disk_cache to permantly cache images retrieved from an image server on the webserver using ProxyPass. While the image is being retrieved correctly from the server and is served ...
0
votes
1answer
752 views

Nginx - assigning non-root location to proxy_pass

What I like to do is to proxy requests from http://example.com/proxy/foo to http://localhost:8060/foo This config proxies http://example.com/proxy/foo to http://localhost:8060/proxy/foo server { ...
1
vote
0answers
122 views

What status code does Apache return when ProxyPass max is exceeded?

From http://httpd.apache.org/docs/2.2/mod/mod_proxy.html max 1...n Maximum number of connections that will be allowed to the backend server. The default for this limit is the number of ...
0
votes
1answer
621 views

Apache ProxyPass/RewriteRule with p flag: Return no content when response has multi-part content type i.e.images

This is a continuation of a previous question which has been implemented with a little change. Following is the structure I am going to talk about. My goal is to create the Tunnel/Proxy. ...
0
votes
1answer
526 views

How to prevent nginx from reverse proxy specific subdirectories

On Apache you can ProxyPass everything except one or more subdirectories (with "!"). ProxyPass /subdir ! ProxyPass / http://localhost:9999/ What is the Nginx equivalent ? My first guess is ...
0
votes
1answer
84 views

SSL certificate for ISAPI redirected Web Site

I have a Win 2003 server and I'm using Ionics Isapi Rewrite Filter to redirect requests made to a Web Site configured in IIS to another Apache2 Server in a server not exposed to the Internet. The Web ...
1
vote
3answers
2k views

Nginx proxy domain to another domain with no change URL

My question is in the subj. I have a one domain, that's nginx's config of it: server { listen 80; server_name connect3.domain.ru www.connect3.domain.ru; access_log ...
4
votes
1answer
2k views

Apache ProxyPass ignore static files

Having an issue with Apache front server connecting to a Jetty application server. I thought that ProxyPass ! in a location block was supposed to NOT pass on processing to the application server, but ...
0
votes
1answer
815 views

Apache forwarding to tomcat shows a blank page

I have an application running on tomcat at http://www.example.com:9090/mycontext. The host name in server.xml points to www.example.com. I do not have localhost anymore. I am using apache to forward ...
1
vote
1answer
2k views

proxypass apache over nonstandard port - how can it be that the 192.168.*:9999 works from the computer itself but not another computer on the network?

httpd.conf vhost looks like this: <VirtualHost *:9999> ServerAdmin admin@example.com ServerName www.example.com ServerAlias example.com # Indexes + Directory Root. ...
0
votes
0answers
200 views

What are the steps to follow to configure Apache proxypass through AJP

I am new to webserver configurations. I am provisioning the new server. Installed apache and Tomcat6 in my new server. Here I need to do proxypass from Apache to Tomcat using AJP. I did the search ...
0
votes
1answer
937 views

Multiple ProxyPass directives for Webmin on Debian Apache Server

I am trying to achieve what is described under: Webmin In A Sub-Directory Via A Proxy on this website Webmin under Apache Guide ...but, with more than one webmin (all on different servers, but ...
1
vote
1answer
209 views

Exclude urls containing a specific port from being passed by Proxy

how can I force ProxyPass / ProxyPassReverse NOT to pass a request if the client provides a certain port? The following passes EVERY request made to the machine correctly: <VirtualHost ...
0
votes
1answer
585 views

Proxy_pass 127.0.0.1 in nginx does not work

I install nginx as a reverse proxy. If I use: proxy_pass http://127.0.0.1:81 it does not work. But if I use: proxy_pass http://domain.com:81 it works. And I can use browser to access to ...
2
votes
1answer
5k views

Issues with ProxyPass and ProxyPassReverse when proxying to localhost and a different TCP port

I am attempting to use ProxyPass and ProxyPassReverse to proxy requests through Apache to another server instance that is bound to the localhost on a different TCP port that the Vhost exists (VHost is ...
7
votes
3answers
6k views

How do I configure Nginx proxy_pass Node.js HTTP server via UNIX socket?

I am trying to configure a Nginx server to connect to a Node.js HTTP server via a UNIX domain socket. The Nginx configuration file: server { listen 80; location / { proxy_pass ...
1
vote
1answer
541 views

Apache proxypassing to IIS sometimes raises ProxyError

we have an ASP.NET 4 website deployed on two nearly identical VirtualBox VMs with IIS 7.5. They are both hosted on the same Ubuntu system with Apache 2.2.14. Apache decides by hostname ...
0
votes
2answers
183 views

Do I have to open a port for mod_proxy and ProxyPass to work?

Here's my situation: I have a server running Apache on port 80, a node.js application on port 8000, and I'd like to know if I have to open ports in order for ProxyPass and mod_proxy to work. Related ...
0
votes
1answer
2k views

nginx: problem configuring a proxy_pass

I'm converting a web app from apache to nginx. In apache's httpd.conf I have: ProxyPass /proxy/ http:// ProxyPassReverse /proxy/ http:// The idea is the client send this url: ...
1
vote
1answer
495 views

Apache mod_rewrite in proxy mode, .htaccess and ProxyPassReverse

In a .htaccess file, I have something like this to proxy Apache to Tomcat: RewriteRule (.*) http://localhost:8080/tomcat-app/$1 [P] All the redirects as well as internal links in HTML files are ...
1
vote
1answer
384 views

Serving Rails through Apache using ProxyPass

I have a working rails application that I want to be served through another domain name. So I modified the VirtualHost by adding it as a ServerAlias: <VirtualHost *:80> DocumentRoot ...
0
votes
0answers
250 views

Apache2, Tomcat 7 > Subdirectory 404

I've got Apache2 and Tomcat 7 running and I'm using ProxyPass to direct certain VHosts that require Railo (CFML) through port 8080. Things are working great, except for the fact that I can only ...
2
votes
1answer
1k views

Apache proxypass trailing slash / directory issue

I have a legacy site for a charity running on an old Apache 1.3 instance, behind Apache 2 running proxypass. When a request comes to example.com, Apache 2 sends it internally to localhost:8080 which ...
0
votes
1answer
296 views

Question about the syntax of the ProxyPass directive

All over the internet I see examples of people using ProxyPass, where the syntax looks something like this: <Location /> ProxyPass / ajp://localhost:8009/ ProxyPassReverse / ...
1
vote
1answer
517 views

Will using Apache's ProxyPass directive on persistent Ajax connections alleviate the connection limit error?

I've got some javascript that keeps a persistent Ajax connection open for each client, and I know that this can cause some serious issues for apache, but not for lighttpd. One thing I learned from ...
2
votes
2answers
910 views

Nginx user subdomains, should I proxy_pass?

I am trying to setup user subdomains, serving content from specific folders: www.example.com/username served from username.example.com (just like github pages). I've looked at Nginx rewrites, but I ...
0
votes
2answers
1k views

Two Web Hosts, One Domain name, How to share the two?

I have a domain that's hosted on a server. I want to set up another server to sometimes serve up pages instead of the pages on the first server. How do I set this up? I guess it's similar to a ...
1
vote
2answers
1k views

Apache ProxyPass with SSL

I have a QA setup that consists of multiple internal development servers and one world-accessible provisioning machine that is setup to proxy pass the web traffic. Everything works fine for non-SSL ...
0
votes
1answer
606 views

Switch 302 redirect to 301 with Apache 2 ProxyPass in front of Tomcat 6

I'm trying to optimise my site for SEO and it seems as though their is a 302 direct in action for the http requests. I'm hosting my app on a Tomcat 6 server which lies behind an Apache 2 server. I ...
1
vote
1answer
695 views

Apache ProxyPass/ProxyPassReverse to IIS

We have an ASP.NET web application which is mapped to a folder on an apache hosted php site using ProxyPass.ProxyPassReverse. A couple of problems being encountered. cookies are being lost which ...
0
votes
3answers
2k views

Looking for equivalent of ProxyPassReverseMatch in Apache to fix missing trailing forward slash issue

I have two web servers, www.example.com and www.userdir.com. I'm trying to make www.example.com as the front end proxy server to serve requests like in the format of http://www.example.com/~username ...
2
votes
1answer
305 views

Two SSL certificates required for two Apache servers using mod_proxy to serve HTTPS?

Our application originally used a single Apache server with mod_perl installed to serve up all HTTPS requests. Due to memory issues I've added a lighter Apache installation and used ProxyPass to hand ...
0
votes
1answer
2k views

proxy_pass rewrite nginx

location /(0-9)* { #rewrite ^/(0-9)*$ /disp\.cgi?$1 last; rewrite ^(.*)$ /disp\.cgi?$1 break; #include proxy.conf; proxy_pass ...
1
vote
3answers
927 views

nginx proxy pass redirect through load balancer

I have several backend webservers that are load-balanced using LVS. These machines have only internal non-routable IPs on them. The load-balancer is the only machine with an external IP. This setup ...
1
vote
1answer
3k views

REMOTE_USER through Apache reverse proxy

I have an Apache webserver with mod_proxy enabled and a Virtualhost, proxy.domain.com. This proxy is configured to prompt the user for credentials with AuthType Basic. Then, the content of ...
4
votes
1answer
6k views

Apache ProxyPass or ProxyPassMatch to exclude a file from proxying

I have a VirtualHost set to proxy all requests to another server running on port 9000. What I have : ProxyPass / http://localhost:9000/ ProxyPassReverse / http://localhost:9000/ What I've tried : ...
0
votes
1answer
178 views

I run Webmin and I want it to be accessed with two URLs, both using proxypass in apache

This is what I am trying to do: NameVirtualHost * <VirtualHost *> ServerName testsite.org ServerAdmin webmaster@testsite.org DocumentRoot /var/www/ </VirtualHost> ...
1
vote
2answers
2k views

Fall-back location for Apache's ProxyPass directive?

I've set up Apache to send requests to camera.example.com to an a webcam accessible via an IP address not associated with the server Apache's running on, using ProxyPass: [camera] -- [nat / prt ...
22
votes
5answers
26k views

Configure nginx for jboss/tomcat

In order to pass traffic to JBoss/TomCat on port 80 using Apache we used to install and configure mod_jk. Is there an equivalent for nginx? Basically want all port 80 traffic to be passed to jboss.
15
votes
2answers
26k views

Apache ProxyPass with SSL

I want to proxy requests from an SSL site via a non-SSL site. My Apache httpd.conf looks like this: <VirtualHost 1.2.3.4:80> ServerName foo.com ProxyPass / https://bar.com/ ...
2
votes
2answers
2k views

Disable ProxyPass rules within a virtual host on apache 2

I have a global proxypass rule in httpd.conf rules at global level ProxyPass /test/css http://myserver:7788/test/css ProxyPassReverse /test/css http://myserver:7788/test/css and I have a virtual ...
2
votes
5answers
3k views

How do I smoothly migrate a web server's DNS from one IP address to another?

I currently have a domain name registered for a Linux/Apache server that I am going to replace with another on a new IP address. Migrating the data will be relatively quick and a 5 minute disruption ...
5
votes
5answers
9k views

Help me understand how to use ProxyPass

UPDATE: I added a revised question after playing around with it two answers below. Hi there, If you're reading this you're probably familiar with Apache's mod_proxy and its ProxyPass function. Like ...