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:

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:
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!!

Previous Thread | Next Thread
Test Your Knowledge in Computers #166
Difficulty: Easy
The Internet is a packet-switched network.
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 using widlcard ssl cert. When I hit it loads website! please advise if I missed any concept / configs... Thank you! httpd.conf <VirtualHost *:80> ServerName 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 --2017-05-05 17:29:02-- Connecting to myproxy:8080... connected. Proxy tunneling failed: ForbiddenUnable to establish SSL connection. curl 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
Plack::Handler(3pm)					User Contributed Perl Documentation				       Plack::Handler(3pm)

Plack::Handler - Connects PSGI applications and Web servers SYNOPSIS
package Plack::Handler::AwesomeWebServer; sub new { my($class, %opt) = @_; ... return $self; } sub run { my($self, $app) = @_; # launch the AwesomeWebServer and run $app in the loop } # then from command line plackup -s AwesomeWebServer -a app.psgi DESCRIPTION
Plack::Handler defines an adapter (connector) interface to adapt plackup and Plack::Runner to various PSGI web servers, such as Apache2 for mod_perl and Standalone for HTTP::Server::PSGI. It is an empty class, and as long as they implement the methods defined as an Server adapter interface, they do not need to inherit Plack::Handler. If you write a new handler for existing web servers, I recommend you to include the full name of the server module after Plack::Handler prefix, like Plack::Handler::Net::Server::Coro if you write a handler for Net::Server::Coro. That way you'll be using plackup command line option like: plackup -s Net::Server::Coro that makes it easy to figure out which web server you're going to use. METHODS
new $server = FooBarServer->new(%args); Creates a new adapter object. %args can take arbitrary parameters to configure server environments but common parameters are: port Port number the server listens to. host Address the server listens to. Set to undef to listen any interface. run $server->run($app); Starts the server process and when a request comes in, run the PSGI application passed in $app in the loop. register_service $server->register_service($app); Optional interface if your server should run in parallel with other event loop, particularly AnyEvent. This is the same as "run" but doesn't run the main loop. SEE ALSO
rackup perl v5.14.2 2011-02-27 Plack::Handler(3pm)

Featured Tech Videos