1
0
-1

  Hi,

  Does Open-Audit work with HTTP -> HTPPS redirect?

  I followed the steps indicated by P.  McClendon here Configuring Open-Audit with HTTPS/SSL and accessing the application directly by HTTPS works but after I configure the redirect at Apache level either using

RewriteEngine on
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=temp]

or

RedirectMatch ^(.*)$ https://MYSERVER$1

 the application behaves in a different/wrong way (displays less information, change the title to Open-AudIT Community, does not display the Home page with the usual graphs taking me directly to 'https://MYSERVER/open-audit/index.php/groups'

 Am I missing anything?

 Thanks,

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

        It's working now, I was missing a:

      # service omkd restart
      1. Paul McClendon

        Thanks Rafael, I updated the page with this to reduce confusion in the future.

      2. Rafael Angarita

        Hi Paul, I suggest you include a note for those of us who want to do HTTP -> HTTPS redirect, as indicated by schindlerd at https://community.opmantek.com/questions/11305319/how-to-enable-https-for-open-audit: /open-audit must be excluded of the redirect to keep the discovery process working properly: RewriteEngine on RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} !^/open-audit/ RewriteRule ^/(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [NC,R=301,L]

      CommentAdd your comment...