1

Recently I tried to install ITop on my xubuntu but all of my tries were unsuccessful. I used a lot of links like http://www.unixmen.com/setup-operational-portal-using-itop-centosdebian/ and the official page as well, I installed apache and it works but when I type localhost/itop it raises the following error :

Forbidden

You don't have permission to access /itop/ on this server.

does anybody had such experience with Itop?

Kasravnd
  • 153

1 Answers1

1

I just figure it out. The problem was because of the root path in file 000-default.conf at /etc/apache2/sites-enabled directory.

If we lunch this file in terminal we'll see the following result:

<VirtualHost *:80>
...
        #ServerName www.example.com

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

...
</VirtualHost>

As you can see in line DocumentRoot /var/www/html the DocumentRoot has been set to /var/www/html which it should be set on following address :

/var/www/itop

and in file :

<VirtualHost *:80>
...
        #ServerName www.example.com

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/itop

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

...
</VirtualHost>
Kasravnd
  • 153