On 18/04/12 10:04, Prabhpal S. Mavi wrote:
where as this URL (graph_view.php) exist on the server, that is under Cacti folder "/var/www/html/cacti/graph_view.php".
But Apache is looking under DocumentRoot that is "/var/www/html/graph_view.php".
You need to tell Cacti where the root of the installation is. Have a look for the line
$url_path = "/";
in config.php and set as needed. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Dear Community Friends,
sorry to inform that following solutions did not solve the error "The requested URL was not found on this server"
$url_path = "/cacti/"; or Alias /cacti /var/www/html/cacti/
in the end to make it work, i have to leave the default DocumetRoot in httpd.conf to "/var/www/html" and crate virtual host for cacti and give it's DocumetRoot as following and everything is fine now.
Alias /cacti /var/www/cacti/
<VirtualHost *:80> ServerAdmin xxxx@example.com ServerName xxxx.example.com
DocumentRoot /var/www/cacti/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/cacti/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost>
Thanks / Regards Prabhpal Singh