Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 all,
I would like explain the problem with the summary of what i have done, It would be of great help if someone can get this working.
1. I have installed apache at my home directory to run at port 6060. Assume (appadurai is the user name)
For eg /home/appadurai.
User and Group entries in httpd.conf is
User appadurai
Group apache
2. I have include scripts to run this as a service and it was working fine, if i am logged in as appadurai .
Now comming to the problem, I am getting following error if i access the document root specified in httpd.conf loggged as someother user (not appadurai) You don't have permission to access /index.html on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. .
I get the same error if i change the user entry to nobody in httpd.conf.
My requirement is i must be able to access the pages from browser iresspective of the user logged in.I hope someone could help me on this.
Thanks in advance.
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418
Rep:
Okay,
lets say as you said:
you installed apache in: /home/mydir
and you set your document root to /otherdir/htdocs
is the user appidurai able to browse to both directories ?
Thats the first thing you must check.
If you have the right permissions in both dirs, check de permissions on the html files itself?
Is the owner appadurai ?
Or is the group apache ?
Does the user or group has (at least) read access to the files?
Let me know, and i might be able to help you further...
Thanks once again for your reply, Your replies helps me to keep moving forward,
Replying to the questions,
"appadurai" has permission to access the directories where apache is installed and the document root location.
"appadurai" is the owner of both the directories and i am able to access both the directories logged in as "appadurai".
My question is , if any user can access the page specified in document root for the apache bundled with linux . Then why should
apache installed separately should fail.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.