[CentOS] The requested URL was not found on this server
Prabhpal S. Mavi
prabhpal at digital-infotech.netWed Apr 18 09:04:39 UTC 2012
- Previous message: [CentOS] 3TB system drive partitioning question
- Next message: [CentOS] The requested URL was not found on this server
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
  - Previous message: [CentOS] 3TB system drive partitioning question
- Next message: [CentOS] The requested URL was not found on this server
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list