Visit Our UNIX and Linux User Community


Apache proxy for web app with ssl


 
Thread Tools Search this Thread
Top Forums Web Development Apache proxy for web app with ssl
# 1  
Old 12-04-2012
Apache proxy for web app with ssl

I have a ubuntu server running subsonic as a web app. Currently the web interface is available from port 4040 for https connections and 4141 for https connections with the context /subsonic as follows:
http://mydomain:4040/subsonic
https://mydomain:4141/subsonic

I would like to loose the port number from the url and force all connections via ssl on port 443. I already have an active ssl connection using apache for my zarafa webaccess by following this guide: http://www.zarafa.com/wiki/index.php...ccess_with_SSL
But I am struggling to get the same to work for the subsonic web app, I think I need to use apaches proxy function??

Any help would be great!!
Thanks

Previous Thread | Next Thread
Test Your Knowledge in Computers #724
Difficulty: Medium
The Plan 9 operating system was the first machine to achieve a Master rating in chess.
True or False?

5 More Discussions You Might Find Interesting

1. Proxy Server

Httpd proxy on AIX: failed to connect SSL

Hi, I am trying to migrate a quite old proxy server with Apache httpd, running on AIX The scenario is that my server accepts connections on http and proxies them to an SSL backend. This is done in a ProxyPass statement, as follows: ProxyPass /myservice/my-ws... (1 Reply)
Discussion started by: trifo75
1 Replies

2. Linux

Apache wildcard ssl on subdomain serves same page for non ssl virtualhosts

Issue observed: I have configured ng.my-site.com using widlcard ssl cert. When I hit https://www.my-site.com it loads ng.my-site.com website! please advise if I missed any concept / configs... Thank you! httpd.conf <VirtualHost *:80> ServerName www.my-site.com ServerAdmin... (0 Replies)
Discussion started by: ashokvpp
0 Replies

3. Red Hat

Proxy tunneling failed: ForbiddenUnable to establish SSL connection.

Tryied both ways curl and wget wget --no-check-certificate https://mysitet.it:61617 --2017-05-05 17:29:02-- https://mysitet.it:61617/ Connecting to myproxy:8080... connected. Proxy tunneling failed: ForbiddenUnable to establish SSL connection. curl https://mysite.it:61617 curl: (56)... (3 Replies)
Discussion started by: charli1
3 Replies

4. Web Development

Httpd proxy with mod_jk,ssl only on login page using .htacess

Hi all, I have a web app with the following pages, browse.jsp and shopping.jsp. I want to protect shopping.jsp with https. (https is only between browser and apache httpd server.)The https for the shopping.jsp page will terminate at the web server. From web server to tomcat application server... (0 Replies)
Discussion started by: new2ss
0 Replies

5. Web Development

Apache, cgi script run twice when ssl, once when not ssl

I have interesting problem. https:/host/some/x.cgi - this script has run twice when I call this url But http:/host/some/x.cgi work fine, only once. Output is text/plain. If I change output format to the Content-type text/html, then both urls works fine - executed only once. (2 Replies)
Discussion started by: kshji
2 Replies
POLIPO(1)						      General Commands Manual							 POLIPO(1)

NAME
polipo - a caching web proxy SYNOPSIS
polipo [ -h | -v | -x ] [ -c config ] [ var=val ]... DESCRIPTION
Polipo is a caching HTTP proxy. It listens to requests for web pages from your browser and forwards them to web servers, and forwards the servers' replies to your browser. In the process, it optimises and cleans up the network traffic. By default, Polipo listens on TCP port 8123. Please configure your web browser to use the proxy on localhost port 8123. OPTIONS
-h Display help and exit. -v Display the list of configuration variables and exit. -x Purge the on-disk cache and exit. -c Select an alternate configuration file. var=val Change the value of a configuration variable. FILES
/etc/polipo/config The default location of Polipo's configuration file. /etc/polipo/forbidden The default location of the list of forbidden URLs. /var/cache/polipo/ The default location of the on-disk cache. /usr/share/polipo/www/ The default root of the local web space. SIGNALS
SIGUSR1 write out all in-memory objects to disk and reload the forbidden URLs file. SIGUSR2 write out all in-memory objects to disk, discard all in-memory objects, and reload the forbidden URLs file. SIGTERM, SIGINT, SIGHUP write out all in-memory objects to disk and quit. SECURITY
The internal web server will follow symbolic links that point outside the local document tree. You should run Polipo in a chroot jail if that is a problem. There is no reason to run Polipo as root. FULL DOCUMENTATION
The full manual for Polipo is maintained in a texinfo file, and is normally available through a web server internal to Polipo. Please make sure that Polipo is running, and point your favourite web browser at http://localhost:8123/ Alternatively, you may type $ info polipo at a shell prompt, or C-h i m polipo RET in Emacs. AUTHOR
Polipo was written by Juliusz Chroboczek. POLIPO(1)

Featured Tech Videos