Ad Widget

Collapse

HTTPS redirect to /zabbix

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    HTTPS redirect to /zabbix

    Hi guys,

    I have enabled HTTPS on Aapache and this is working great.
    I would like to rewrite the URL: starting from http://mysite I have the correct redirect to https://mysite (PHP default page) but I want to access automatically to https://mysite/zabbix or, a better solution could be https://mysite pointing to the login page of Zabbix.

    I can't accomplish this, what can I do?

    In /etc/apache2/sites-available/000-default.conf and default-ssl.conf
    I have the DocumentRoot pointing to /var/www/html

    Thank you

    Fabrizio






    #2
    I have DocumentRoot pointing to /usr/share/zabbix for the default-ssl.conf.

    and virtualhost.conf has

    Rediredt / https://<server>

    So if they just use http in the url, they get to https. I've also done it with rewrites, but don't have an example now.

    Comment


      #3
      Thank you! I solved the issue!

      Comment

      Announcement

      Collapse
      No announcement yet.
      Working...
      X