Re: The requested URL was not found on this server

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



> 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@xxxxxxxxxx
> 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@xxxxxxxxxxx
        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



_______________________________________________
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