We are using apache2 as frontend to redirect https.
Here is the /etc/apache2/conf.d/openmeetings



-- 
Sandro Isoletta
Abteilung 4 Zentrale Dienste und IT-Dienste
Referat 4.07 Schulische IT-Dienstleistungen
PÄDAGOGISCHES LANDESINSTITUT RHEINLAND-PFALZ
 

Hofstraße 257c
56077 Koblenz
0261 9702 317
[email protected]
www.pl.rlp.de 


Am 29.06.2015 um 10:40 schrieb Maxim Solodovnik:
> According to the RFC, 302 is not error but Redirect
> Are you using custom ports, web servers as frontend (Apache, nginx
> etc.), what is your configuration?
>
> On Mon, Jun 29, 2015 at 2:35 PM, Sandro Isoletta
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Thanks for your time.
>
>     I did everything as you told and the openmeetings.log is created and
>     filled contuously with content. (tail -f /opt/om/log/openmeetings.log)
>
>     BUT, when I try to upload anything I get the "HTTP-Error: 302" and
>     absolutly nothing is written into the log.
>
>     --
>     Sandro Isoletta
>     Abteilung 4 Zentrale Dienste und IT-Dienste
>     Referat 4.07 Schulische IT-Dienstleistungen
>     PÄDAGOGISCHES LANDESINSTITUT RHEINLAND-PFALZ
>
>
>     Hofstraße 257c
>     56077 Koblenz
>     0261 9702 317
>     [email protected] <mailto:[email protected]>
>     www.pl.rlp.de <http://www.pl.rlp.de>
>
>
>     Am 29.06.2015 um 10:15 schrieb Maxim Solodovnik:
>     > let's try to investigate your problem:
>     > 1) stop OM
>     > 2) delete everything in the "log" folder
>     > 3) ensure user you are using to start OM has rights to write into
>     > "log", "webapps/openmeetings/upload",
>     > "webapps/openmeetings/uploadtemp" recurcively
>     > 4) start OM
>     > 5) ensure log/openmeetings.log is created (after some delay) and
>     > contuously filled with contents
>     > 6) try to upload anything into room
>
>
>
>
> -- 
> WBR
> Maxim aka solomax

######################
# Redirect from port 80 to 443
######################
<VirtualHost *:80>
        ServerName openmeetings.bildung-rp.de
        
        DocumentRoot /var/www/
        
        RewriteEngine on
        RewriteCond %{HTTPS} !=on
        RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R,L]
</VirtualHost>

######################
# Redirect from old http (5080) to new https
######################
<VirtualHost *:5080>
        ServerName openmeetings.bildung-rp.de

    DocumentRoot /var/www/
        
        RewriteEngine on
        RewriteRule (.*) https://%{SERVER_NAME}$1 [R,L]
#       RewriteLog "/var/log/apache2/rewrite.log"
#       RewriteLogLevel 99
</VirtualHost>

######################
# https config for openmeetings
######################
<VirtualHost *:443>
        ServerName openmeetings.bildung-rp.de
        DocumentRoot /var/www/

        SSLEngine on

        SSLProtocol +TLSv1 +TLSv1.1 +TLSv1.2
    SSLHonorCipherOrder On
    SSLCipherSuite 
ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS

        SSLCertificateKeyFile /etc/ssl/private/wildcard.bildung-rp.de.key
        SSLCertificateFile /etc/ssl/certs/8de24104.0
        SSLCACertificatePath /etc/ssl/certs/

        RewriteEngine on

# Internet Explorer security info
        RewriteCond %{HTTP_USER_AGENT} ^.*MSIE\ ([0-9]+).*$
        RewriteRule !^/noie/.* https://%{SERVER_NAME}/noie/?v=%1 [R,L]
        
        RewriteCond %{REQUEST_URI} !^/noie.*
        RewriteRule !^/openmeetings/(.*) https://%{SERVER_NAME}/openmeetings/$1 
[R,L]

        RewriteLog "/var/log/apache2/rewrite.log"
        RewriteLogLevel 99

        SSLProxyEngine on
        ProxyRequests On
        ProxyPreserveHost On

        <proxy *>
                Order deny,allow
                Allow from all
        </proxy>

        ProxyPass /openmeetings/ 
https://openmeetings.bildung-rp.de:5443/openmeetings/
        ProxyPassReverse /openmeetings/ 
https://openmeetings.bildung-rp.de:5443/openmeetings/

</VirtualHost>

Reply via email to