Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page http server
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 11-29-2006   #1 (permalink)
raghupal
Just Joined!
 
Join Date: Oct 2006
Location: Hyderabad
Posts: 7
Send a message via Yahoo to raghupal
Smile http server

HI to all,

I am using Red Hat Enterprise Linux ES 4. My Apache server is running fine. but when i am trying to browse my index.php file which is in /var/www/html/pragathi/index.php, it is showing below error...

Forbidden

You don't have permission to access /pragathi/ on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.52 (Red Hat) Server at 192.168.169.70 Port 80

and the Permissions are like

Quote:
[root@rajesh html]# ll
total 64
lrwxrwxrwx 1 root root 5 Nov 27 15:07 downloads -> /data
drwxr-xr-x 4 root root 4096 Nov 27 15:39 erg
drwxr-xr-x 2 root root 4096 Nov 27 14:40 ldata
drwxr-xr-x 2 root root 4096 Nov 27 18:13 Linux
drwxr-xr-x 4 root root 4096 Nov 29 08:38 pragathi
drwxr-xr-x 2 root root 4096 Nov 29 08:37 rahes
drwxr-xr-x 2 root root 4096 Nov 27 15:40 site
drwxr-xr-x 2 root root 4096 Nov 27 13:40 test
lrwxrwxrwx 1 root root 6 Nov 27 13:42 xyz -> /home/
and pragathi folder permissions are like:

Quote:
[root@rajesh pragathi]# ll *.php
-rwxr-xr-x 1 root root 41673 Oct 11 15:27 action.php
-rwxr-xr-x 1 root root 71357 Nov 27 16:46 adminaction_271106.php
-rwxr-xr-x 1 root root 71808 Nov 28 14:42 adminaction_28112006.php
-rwxr-xr-x 1 root root 71357 Nov 28 14:59 adminaction.php
-rwxr-xr-x 1 root root 784 Jul 19 14:44 adminlogin.php
-rwxr-xr-x 1 root root 6992 Nov 27 16:37 adminpage_271106.php
-rwxr-xr-x 1 root root 7397 Nov 27 16:40 adminpage.php
-rwxr-xr-x 1 root root 8377 Aug 31 17:05 bel.php
-rwxr-xr-x 1 root root 4842 Nov 27 15:13 dailyreport_271106.php
-rwxr-xr-x 1 root root 4842 Aug 11 17:14 dailyreport.php
-rwxr-xr-x 1 root root 6615 Jul 27 12:02 eveningreport.php
-rwxr-xr-x 1 root root 15842 Oct 2 18:28 holiday.php
-rwxr-xr-x 1 root root 19408 Nov 8 15:39 index.php
-rwxr-xr-x 1 root root 19146 Oct 17 17:58 index_testing.php
-rwxr-xr-x 1 root root 9571 Aug 30 11:56 monthlyreport26082006.php
-rwxr-xr-x 1 root root 14693 Sep 15 15:43 monthlyreport.php
-rwxr-xr-x 1 root root 71357 Nov 28 15:00 newadmin.php
-rwxr-xr-x 1 root root 20 Jul 19 14:44 phpinfo.php
-rwxr-xr-x 1 root root 28035 Jul 27 12:09 printview.php
-rwxr-xr-x 1 root root 10116 Jul 19 17:33 reports.php
-rwxr-xr-x 1 root root 329 Nov 11 14:35 servercnf.php
-rwxr-xr-x 1 root root 1895 Jul 25 16:40 shiftreport.php
-rwxr-xr-x 1 root root 2009 Oct 10 16:49 soaps.php
-rwxr-xr-x 1 root root 10697 Sep 6 15:53 vacation.php
Please help me to solve this problem

Thanks,,
__________________
Rajesh Reddy Kondakindi
Linux Administrator,
Sorokasoft (India) Pvt. Ltd.,
S. R. Nagar,
Hyderabad-38,
Email: rajesh@sorokasoft.com, rajeshkondakindi@gmail.com
Cell: 919866319283.
raghupal is offline   Reply With Quote
Old 11-29-2006   #2 (permalink)
Lavignia Gandepin
Just Joined!
 
Join Date: Nov 2006
Posts: 2
Have you try with the .access file? and i have found that on the apache website.

Quote:
Permission denied
A Permission denied error in the error_log, accompanied by a Forbidden message to the client usually indicates a problem with your filesystem permissions, rather than a problem in the Apache HTTP Server configuration files. Check to make sure that the User and Group running the child processes has adequate permission to access the files in question. Also check that the directory and all parent directories are at least searchable for that user and group (i.e., chmod +x).

Recent releases of Fedora Core and other Linux distributions using SELinux have additional access restrictions beyond those used by the basic filesystem. Violations of these restrictions will also result in a Permission denied message. See the Fedora SELinux FAQ and Apache SELinux Policy Document.
Lavignia Gandepin is offline   Reply With Quote
Old 11-30-2006   #3 (permalink)
raghupal
Just Joined!
 
Join Date: Oct 2006
Location: Hyderabad
Posts: 7
Send a message via Yahoo to raghupal
yes u are right. I resolved that problem with disabling SELinux feature


thanks a lot
__________________
Rajesh Reddy Kondakindi
Linux Administrator,
Sorokasoft (India) Pvt. Ltd.,
S. R. Nagar,
Hyderabad-38,
Email: rajesh@sorokasoft.com, rajeshkondakindi@gmail.com
Cell: 919866319283.
raghupal is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 02:32 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0