2
votes
3answers
439 views

Apache2 virtual host reverse proxy rewrite asset links

I have a web application running on port 8080 on my server: myip:8080/app I have the following config in my httpd.conf <VirtualHost *:80> ServerName subdomain.mydomain.com ServerAlias ...
2
votes
1answer
76 views

Split the same virtualhost configuration across multiple files

I have multiple django applications on my server that run each within their own virtualhosts, bound to different ports. (I do this so as to isolate each WSGIProcessGroup). Now I would like to proxy ...
1
vote
1answer
263 views

Trouble configuring apache server to proxy an SSL connection

I'm running an application on Tomcat7 with Apache Portable Runtime, I bought an SSL certificate and configured it correctly - when I try to connect through the ip:port combination, it connects fine ...
1
vote
1answer
269 views

Apache as a proxy for Nexus, Jenkins and Foreman (Several VirtualHosts on same domain, IP and Port)

I'd like to configure Apache to be used as a proxy for Nexus, Jenkins and Foreman which are installed and running on the same server. Here is an example of the Virtual host config file for Foreman, ...
0
votes
1answer
459 views

Apache ProxyPass Virtual host

I'm trying to do a similar setup to the one discussed in this older thread. I've enabled the proxy_module, proxy_connect_module, proxy_http_module, and rewrite_module. It worked, but now when I go ...
0
votes
1answer
102 views

Apache2 with mod_proxy_ajp doesn't rewrite url

I have apache2 exposing a jboss through mod_proxy_ajp on / and serving some static content with ProxyPass /static ! ProxyPass / ajp://localhost:8009/ in proxy_ajp.conf. I need to redirect all the ...
5
votes
1answer
4k views

mod_deflate - Optimal configuration for most browsers

I was wondering if someone here could help me determine the optimal standard configuration for using mod deflate with Apache. Basically, mod_deflate recommends using the following configuration for ...
1
vote
1answer
320 views

How to add a specific vhost configuration when using mod_vhost_alias?

I use mod_vhost_alias because it is really easy for me to add new vhost (I just need to create a directory). /etc/apache2/mods-available/vhost_alias.conf UseCanonicalName Off VirtualDocumentRoot ...
0
votes
1answer
909 views

Images and AJAX not loading with mod_proxy_html turned on

Our company is currently supporting a (very old) web-enabled database application written in 4th Dimension (2003) with a built-in web server (provided by an extension called Web Server 4D). Since the ...
1
vote
1answer
2k views

Apache / Glassfish integration

So I currently have a glassfish 3.1 server and an apache 2.2 server running on a single box. However I am trying to figure out to route some traffic through the apache server to the glassfish server ...
0
votes
1answer
333 views

I cannot access to phpmyadmin after installing Jenkins

to install jenkins, as the instructions I followed says, I had to create this virtual host: <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName ci.company.com ServerAlias ...
0
votes
3answers
2k views

How to redirect request for specific domain to a specific web application listening on a specific port?

I have apache2 running on the port 80 and other application server running on 81. I would like to redirect traffic only for one specific, selected domain (mydomain.com) to server running on the port ...
0
votes
2answers
318 views

How can I use mod_proxy to get Apache to use a custom port for a specific URL?

I have a single IP address say 10.10.55.55 I want my VM to use a certain port whenever a specific URL is used, but without having to specify the port. So instead of saying mydev.net:8200 I'd like to ...
2
votes
2answers
5k views

How to properly use VirtualHost and mod_proxy together for different incoming domain names and internal ports?

I am trying to setup httpd.conf properly but regardless of the sub-domain/domain combo below, they all resolve to the same internal URL. <Proxy *> Order Allow,Deny Allow from all ...
3
votes
2answers
421 views

Apache nested virtual hosts

I have two virtual hosts in a apache server and I would like to do something but I don't know if is possible. The thing is that I have the main application developed and ruby and the blog is in ...
0
votes
1answer
210 views

Apache VirtualHost and ModProxy not working as hoped

I have 3 wars set up on a Tomcat instance - these wars are being served at: http://machine:9023/war1 http://machine:9023/war2 http://machine:9023/war3 I have Apache on the same machine. I am ...
0
votes
3answers
2k views

Password protect and serve Apache site by port number?

I'm trying to set-up a password protected development version of a clients web site (Plone CMS driven). The live site serves on port 7373, and is mapped to the public www port 80. The 'dev' site ...
0
votes
2answers
1k views

Tomcat cookies not working via my ProxyPass VirtualHost

I'm having some issues with getting cookies to work when using a ProxyPass to redirect traffic on port 80 to a web-application hosted via Tomcat. My motivation for enabling cookies is to get rid of ...
0
votes
4answers
604 views

The default apache site does not show up when i include httpd-vhosts.conf! Whats the problem?

I am trying to add two virtual hosts to apache. In httpd.conf i uncomment these lines: LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_module modules/mod_proxy_connect.so Include ...