Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hm, I put this in the newbie forum since it should be an easy answer, even though I've been using Linux/Unix for over a decade. I just have never seen this before...
I'm getting a "403 forbidden" error from Apache, and I'm trying to narrow the problem down since everything looks correct. Anyway, the listing for public_html looks like this:
drwxr-xr-x. 2 username users 4096 Jun 28 22:08 public_html
and inside public_html looks like this:
-rw-r--r--. 1 username man 76 Jun 28 22:08 index.html
So my question is: What the hell is that DOT following the rwx columns? I've never seen it before, and can't find any documentation describing it. Also, could this be part of the problem? This is RHEL 6.1, btw.
Error 403 mean clear deny by the web server. It means web server do not even want to negotiate.
As far as . is concerned I don't think so that is part of the problem as I can see that . in each and every file and directory when I do ll or ls -l in any directory.
Try the following:
As I can see that index.html is owned by someother user. Can you try chown root.root index.html and then restart httpd service. Once done try to access via browser.
EDIT: Just checked on my test environment. Dot (.) was not there in previous version of RHEL I just checked it on RHEL5. However, it is there on each and every file on RHEL6
Last edited by T3RM1NVT0R; 06-29-2011 at 02:16 PM.
Hm, I put this in the newbie forum since it should be an easy answer, even though I've been using Linux/Unix for over a decade. I just have never seen this before...
I'm getting a "403 forbidden" error from Apache, and I'm trying to narrow the problem down since everything looks correct. Anyway, the listing for public_html looks like this:
drwxr-xr-x. 2 username users 4096 Jun 28 22:08 public_html
and inside public_html looks like this:
-rw-r--r--. 1 username man 76 Jun 28 22:08 index.html
So my question is: What the hell is that DOT following the rwx columns? I've never seen it before, and can't find any documentation describing it. Also, could this be part of the problem? This is RHEL 6.1, btw.
Can you show the output of a tail /var/log/httpd/error_log? That would help diagnose the issue ...
Well, I did it again - I'm getting into a bad habit of answering my own questions immediately after posting them. After 1 week of troubleshooting, I was sure that I had SELinux disabled, but of course I didn't. That was the problem. Thanks for the reply though, sandwormusmc and opnsrc!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.