I had to unraveled apache config in 4.6 when we introduced cfengine.
For admin interface I decided to go for simple apache config instead
of static html landing page w/meta tag. I came up with an apache
config. This redirects http requests to admin ui to https and
redirects "/" to "/sipxconfig". This works, i just want to pass this
thru and apache gurus for validation.
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/sipxconfig/(.*)$ https://%{SERVER_NAME}/sipxconfig/$1 [L,R]
RewriteRule ^/+$ https://%{SERVER_NAME}/sipxconfig/ [L,R]
ProxyPass /sipxconfig http://127.0.0.1:12000/sipxconfig
ProxyPassReverse /sipxconfig http://127.0.0.1:12000/sipxconfig
P.S. I took care of this by removing "base" tag altogether
http://thread.gmane.org/gmane.comp.voip.sipx.devel/6362
Damian never said why tag was needed at all. I read up on the base
tag and i don't think we need it. Basic test verifies we do not need
it.
P.P.S. We using the apache server now that's managed by the OS
instead of launching an apache instance with a separate config file.
P.P.P.S This means we can remove https listener on sipxconfig or any
other internal service if we want and proxy them all thru single
apache server. I'll wait on this one. But it will definitely make
installing web certs easier if nothing else.
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/