The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
3answers
343 views

Wrong redirection in ProxyPass from http to https

This is the scenario: I have got a linux server accesible only by one url (because the server is a virtual machine in a vpn): url: http://foo.bar.com I have got several web apps accessible in this ...
0
votes
1answer
92 views

Can Nginx proxy to an Nginx virtual host?

I've upstream in my http block: upstream backend.example.com { server 127.0.0.1:443; } And within the frontend's server block: location ~* ^/special { proxy_pass ...
0
votes
1answer
44 views

nginx rewrite in proxy_pass

I need proxing to different backend but whith same url, so rewriting thould be like this URL: http://myservrer.com/server/monitoring1?(parameters) REWRITE TO: ...
0
votes
1answer
3k views

Use ProxyPassMatch on all URLs except the root path

I have searched high a low for a solution for this, and hoping it is just me. What I'm trying to do is redirect all traffic from a URL we host, to another server managed by another provider we ...
0
votes
1answer
2k views

Using apache ProxyPass to forward URL on new site to old webserver

We are currently moving our site to a CMS, and in the process moving to a different server. There is some code on the older server that we do not want to move to the new server. We want the URLs to be ...
1
vote
1answer
2k views

ProxyPass: Redirect directory URL to non-standard port

I've been searching Google and have no had much success in finding an answer. I'm running a server on Ubuntu and I have programs installed that use various non-standard ports. Each one uses a ...
0
votes
1answer
175 views

apache2 proxypass hangs

We have apache2 proxy server at front end and running couple of application servers at backend, one of the buggy app server hangs and reboots, which takes 2-4 minutes, during this time all of other ...
1
vote
0answers
270 views

nginx proxy_pass to different backends based on location / passing rewrited url

What the quickest and cleanest solution if you want to proxy URL request to two different backends via proxypass based on location. location /app1/ { alias /var/www/ruby/public; ...
0
votes
1answer
453 views

nginx proxy_pass POST 404 errors

I have nginx proxying to an app server, with the following configuration: location /app/ { # send to app server without the /app qualifier rewrite /app/(.*)$ /$1 break; ...
1
vote
0answers
135 views

ProxyPass on httpd breaking encoding

We are sending content with multibyte character data to proxypass, which is converting the characters to %uFFFD when it hits our database. How do i prevent httpd from messing with the encoding like ...
0
votes
1answer
101 views

2 virtual domains: one on port 80 one on port 8080, how?

I've been struggling with this, basically what I want is this: A virtual domain to run on the 80 another virtual domain to run FROM 80 TO 8080 what I've done so far is trying different combinations ...
1
vote
1answer
445 views

Fisheye + Nginx Reverse Proxy

I'm trying to run Fisheye behind a proxy. So far, I've managed to get Jira and Stash to work behind the proxy, but not Fisheye. Here's my config file in Nginx: server { listen 80; server_name ...
0
votes
1answer
370 views

Nginx Reverse Proxy as folders

I'm trying to configure Nginx to proxy stuff on a subdomain: dev.int.com I want dev.int.com to be proxied to IP:8080, and dev.int.com/stash to be proxied to IP:7990 Here's my current config file ...
0
votes
0answers
292 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
149 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
246 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
195 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
129 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
344 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
1k 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
133 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
773 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
723 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
94 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
3k 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
3k 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
1k 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
3k 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
208 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
1k 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
220 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
640 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
7k 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
653 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
189 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
557 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
462 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
281 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
345 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
543 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
968 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
647 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
742 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
320 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 ...