[CentOS] The requested URL was not found on this server - Solved!

Thu Apr 19 12:28:33 UTC 2012
Prabhpal S. Mavi <prabhpal at digital-infotech.net>

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 at 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>


> On Wed, Apr 18, 2012 at 7:21 AM, William Hooper <whooperhsd at gmail.com>
> wrote:
>> On Wed, Apr 18, 2012 at 5:04 AM, Prabhpal S. Mavi
>> <prabhpal at digital-infotech.net> wrote:
>> [snip]
>>> 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
>> [snip]
>>
>> Did you not see my reply on the 14th?  I quote:
>>
>> Notice the error doesn't have /cacti/ in the URL.  Check your cacti
>> configuration for $url_path.
>>
>> http://lists.repoforge.org/pipermail/users/2012-April/022775.html
>> http://forums.cacti.net/viewtopic.php?f=2&t=46997
>> http://docs.cacti.net/manual:087:1_installation.9_pia#configuration
>>
>
> Also, there is a packaged version in epel that should come up working.
>
> --
>   Les Mikesell
>      lesmikesell at gmail.com
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


Thanks / Regards
Prabhpal S. Mavi