Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi every body,
I would like to run apache server .
My document root is /var/www/html/
and i have a index.php file in this path: /var/www/html/cacti
when i want to see the page that put http://172.16.1.230/cacti
I envisage the forbbiden error.
I have changed the cacti mod to 755 but this problem has not been solved.
and the httpd service was running.
Is it a 401 or 403 error? Post here the relevant lines from your error_log and access_log to see what is the error number.
What happens if you put a plain index.html in that directory?
Also what distro are you using?
What are the permissions on "/var/www/html/cacti/index.php"? What are the permissions on "/var/www/html/"? Have you used PHPs successfully on this server before?
what should i do in this respect?
do i have to do anything special about php?
I installed the php rpm on my server ,that's it.and start it with apache service.
[Sat Oct 22 09:41:54 2005] [error] [client 172.16.1.230] (13)Permission denied: access to /cacti/index.php denied
[Sat Oct 22 09:41:54 2005] [error] [client 172.16.1.230] File does not exist: /var/www/html/favicon.ico
There's something wrong with your config since apache looks under /cacti and not under /var/www/html/cacti. Thus the 403 error. Perhaps you have something like:
I checked the directory that is Document root :/var/www/html/
and /var/www/html/cacti is the path that i used for this software.
i think that this problem is not under /cacti ,because when i set the index.html this path there is not any problem and the page be displayed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.