Ad Widget

Collapse

Move domain/zabbix to domain

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • haxorme
    Junior Member
    • Sep 2014
    • 7

    #1

    Move domain/zabbix to domain

    Tried all type of searches nothing really came up in search on how to move the folder to main site.. kinda dislike having domain/zabbix , I would like to move it to domain... please advise..

    os:centos 6.5
    zabbix: latest version
  • morrolan
    Junior Member
    • Aug 2013
    • 15

    #2
    This is rather simple, there are several options:
    • Copy the entire contents of /var/www/zabbix/ to /var/www/ and ensure that the zabbix user has the same permissions on /var/www as it does on /var/www/zabbix. However please be aware that this means that anything new added to this server has to be in a sub-folder ideally. You can test this without being destructive by not deleting the zabbix directory until you are totally sure this works for you.
    • Add an HTTP redirect to /var/www/index.html.
    • Define a URL rewrite rule for Apache. Read the following for information: http://httpd.apache.org/docs/current...d_rewrite.html


    I cannot say which is best, but those are your options as I see them.

    Tip for the future - don't list "zabbix: latest version" because sooner or later it won't be, and you may end up with incorrect advice. I advise you to clearly specify your version number in future.

    Kind Regards,
    Morrolan

    Comment

    Working...