The requested URL was not found on this server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Greetings Dear Friends,

I am seeking assistance from Apache experts friends. i recently installed
cacti Graphing Solution.

The main Cacti folder exist under "/var/www/html/cacti" and we all knows
that default DocumentRoot under CentOS is

DocumentRoot "/var/www/html"

Following is Virtual Virtual Host under "conf.d"

Alias /cacti /var/www/html/cacti/
<Directory /var/www/html/cacti/>
    DirectoryIndex index.php
    Options -Indexes
    AllowOverride all
    AddType application/x-httpd-php .php
    php_flag magic_quotes_gpc on
    php_flag track_vars on
</Directory>

if i try browsing cacti, i can login without problem. But if i try to
follow other links on the page. For example i have clicked on Graphs icon.
i see the following error.

The requested URL /graph_view.php was not found on this server

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".


if i change DocuemtRoot to following, (And virtual host directory and
alias directive as well) everything is fine.

DocumentRoot "/var/www/html/cacti"

Changing DocumentRoot actually disturb other front ends setup. i have
Nagios & zabbix installed on same machine. which i use to monitor stuff.

is there anything i can do to maintain DocumentRoot to default that is.
DocumentRoot "/var/www/html"

Regards / Thanks
Prabhpal Singh






Thanks / Regards
Prabhpal S. Mavi



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux