in your configuration are you using mod_proxy_ajp?
On Tue, Nov 2, 2010 at 2:59 PM, Gabe Casey <gca...@franklinamerican.com> wrote: > > That's correct because we are trying to redirect to the virtual host name which is on the https port. The goal here is so we can have the end user go to http://voicemail.example.com or https://voicemail.example.com and get the config portal. The first virtual host just does a redirect to the second virtual host which is where the real magic happens. The second virtual host does a proxy pass to the real sipx server on port 8443. The problem is that all links, javascript and css are using fully qualified URLs rather than relative URLs. So even though the browser is going to https://voicemail.example.com/sipxconfig all the links are to https://sipx.example.com:8443/sipxconfig and this presents a problem when a user clicks a link it goes to the https://sipx.example.com:8443 where there is no existing session or they may not be able to reach it if they are outside the network. > > We are trying to do this for a couple of reasons. 1. So users outside of the network can reach the internal only sipx server. 2. So we can use well known ports and simple url format. 3. Any upgrades or server renames are transparent to our users. > > We had this working before, but once upgrading our system hardware we cannot find the proper file to change the base URL path. > > Gabrial Casey > Telecommunications > Franklin American Mortgage Company > 501 Corporate Center Dr. > Suite 400 > Franklin, TN 37067 > Direct:615-468-2945 > Cell: 615-852-5015 > Fax: 615-628-5698 > Email:gca...@franklinamerican.com <email%3agca...@franklinamerican.com> > > > ________________________________ > From: "Tony Graziano" <tgrazi...@myitdepartment.net> > To: sipx-users@list.sipfoundry.org > Sent: Tuesday, November 2, 2010 1:14:02 PM > Subject: Re: [sipx-users] Issues with external rewrite of the web ui > > The first http redirect says https but leaves out port 8443 which will not > work. > ============================ > Tony Graziano, Manager > Telephone: 434.984.8430 > Fax: 434.984.8431 > > Email: tgrazi...@myitdepartment.net > > LAN/Telephony/Security and Control Systems Helpdesk: > Telephone: 434.984.8426 > Fax: 434.984.8427 > > Helpdesk Contract Customers: > http://www.myitdepartment.net/gethelp/ > > ----- Original Message ----- > From: sipx-users-boun...@list.sipfoundry.org > <sipx-users-boun...@list.sipfoundry.org> > To: Discussion list for users of sipXecs software > <sipx-users@list.sipfoundry.org> > Sent: Tue Nov 02 14:06:41 2010 > Subject: Re: [sipx-users] Issues with external rewrite of the web ui > > ProxyTimeout 1200 > <ProxyMatch "http(s*)://.*.example.com:8443/.*"> > Order deny,allow > Allow from all > </ProxyMatch> > > <VirtualHost *:80> > ServerName voicemail.example.com > ServerAlias voicemail > Redirect / https://voicemail.example.com/sipxconfig/app > </VirtualHost> > > Listen 443 > <VirtualHost *:443> > DocumentRoot /var/www/html > ServerName voicemail.example.com > ServerAlias voicemail > > SSLEngine on > SSLCertificateFile /etc/apache2/ssl/otrs/star_example_com.crt > > SSLCertificateKeyFile /etc/apache2/ssl/otrs/star_example_com.key > SSLCertificateChainFile /etc/apache2/ssl/otrs/DigiCertCA.crt > > ProxyPass /sipxconfig https://sipx.example.com:8443/sipxconfig > ProxyPassReverse /sipxconfig https://sipx.example.com:8443/sipxconfig > > ErrorLog /var/log/apache2/voicemail.example.com_error.log > CustomLog /var/log/apache2/voicemail.example.com_access.log combined > ServerSignature On > > </VirtualHost> > > > > > Gabrial Casey > Telecommunications > Franklin American Mortgage Company > 501 Corporate Center Dr. > Suite 400 > Franklin, TN 37067 > Direct:615-468- 2945 > Cell: 615-852-5015 > Fax: 615-628-5698 > Email:gca...@franklinamerican.com <email%3agca...@franklinamerican.com> > > > > From: "Gabe Casey" <gca...@franklinamerican.com> > To: "Discussion list for users of sipXecs software" > <sipx-users@list.sipfoundry.org> > Sent: Tuesday, November 2, 2010 9:35:56 AM > Subject: Re: [sipx-users] Issues with external rewrite of the web ui > > > Is there any setting changes that would need to be put in so that the portal > understands and accepts the requests from the proxy. We had this working and > after a reinstall could not identify the issue. Links to dojo and other > resources seemed to just cause the portal to die when going through the > Proxy. > > > > > > Gabrial Casey > Telecommunications > Franklin American Mortgage Company > 501 Corporate Center Dr. > Suite 400 > Franklin, TN 37067 > Direct:615-468- 2945 > Cell: 615-852-5015 > Fax: 615-628-5698 > Email:gca...@franklinamerican.com <email%3agca...@franklinamerican.com> > > > > From: "Gabe Casey" <gca...@franklinamerican.com> > To: "Discussion list for users of sipXecs software" > <sipx-users@list.sipfoundry.org> > Sent: Monday, November 1, 2010 3:32:45 PM > Subject: Re: [sipx-users] Issues with external rewrite of the web ui > > > yes sorry i verified that we are using apache as a proxy to the portal. > > > > > > Gabrial Casey > Telecommunications > Franklin American Mortgage Company > 501 Corporate Center Dr. > Suite 400 > Franklin, TN 37067 > Direct:615-468- 2945 > Cell: 615-852-5015 > Fax: 615-628-5698 > Email:gca...@franklinamerican.com <email%3agca...@franklinamerican.com> > > > > From: "Douglas Hubler" <dhub...@ezuce.com> > To: "Discussion list for users of sipXecs software" > <sipx-users@list.sipfoundry.org> > Sent: Monday, November 1, 2010 2:58:43 PM > Subject: Re: [sipx-users] Issues with external rewrite of the web ui > > i'm not an expert, but i think you have to setup a proxy and not a rewrite. > > On Mon, Nov 1, 2010 at 3:27 PM, Gabe Casey <gca...@franklinamerican.com> > wrote: > > is there a setting or ssl crt that needs to be adjusted when doing an > > external rewrite of the url to the end user portal from outside the lan. > > My goal is to allow access of the user portal outside the network, however > > the browser is throwing errors and forcing a logout. > > > > voicemail.example.com ----rewrite---> sipx.lan.example.com = not working > > > > Warm Regards > > > > Gabrial Casey > > Telecommunications > > Franklin American Mortgage Company > > 501 Corporate Center Dr. > > Suite 400 > > Franklin, TN 37067 > > Direct:615-468-2945 > > Cell: 615-852-5015 > > Fax: 615-628-5698 > > Email:gca...@franklinamerican.com <email%3agca...@franklinamerican.com> > > > > > > > > > > _____________________________________________________________________ > > This message contains confidential information. If you are not the named > > addressee you should not disseminate, distribute or copy this e-mail. > > Please > > notify the sender immediately if you have received this e-mail by mistake > > and delete this e-mail from your system. Finally, the recipient should > > check > > this email and any attachments for the presence of viruses. The company > > accepts no liability for any damage caused by any virus transmitted by > > this > > email. > > > > _______________________________________________ > > sipx-users mailing list > > sipx-users@list.sipfoundry.org > > List Archive: http://list.sipfoundry.org/archive/sipx-users/ > > > _______________________________________________ > sipx-users mailing list > sipx-users@list.sipfoundry.org > List Archive: http://list.sipfoundry.org/archive/sipx-users/ > > _______________________________________________ > sipx-users mailing list > sipx-users@list.sipfoundry.org > List Archive: http://list.sipfoundry.org/archive/sipx-users/ > _______________________________________________ > sipx-users mailing list > sipx-users@list.sipfoundry.org > List Archive: http://list.sipfoundry.org/archive/sipx-users/ > > _______________________________________________ > sipx-users mailing list > sipx-users@list.sipfoundry.org > List Archive: http://list.sipfoundry.org/archive/sipx-users/ -- ====================== Tony Graziano, Manager Telephone: 434.984.8430 sip: tgrazi...@voice.myitdepartment.net Fax: 434.326.5325 Email: tgrazi...@myitdepartment.net LAN/Telephony/Security and Control Systems Helpdesk: Telephone: 434.984.8426 sip: helpd...@voice.myitdepartment.net Helpdesk Contract Customers: http://support.myitdepartment.net Linked-In Profile: http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
_______________________________________________ sipx-users mailing list sipx-users@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipx-users/