LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-01-2007, 11:03 AM   #1
skullhunterph
LQ Newbie
 
Registered: Apr 2005
Location: Philippines
Distribution: none yet
Posts: 4

Rep: Reputation: 0
403 forbidden message


when i´m trying to type my ip on the mozilla i got a forbidden message

i have activated the httpd in services and created an index file under /var/www/html

What do you think I should do?

Last edited by skullhunterph; 04-01-2007 at 11:07 AM.
 
Old 04-01-2007, 01:36 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
check the permissions on the index.html file? needs to be readable by the httpd process owner.
 
Old 04-01-2007, 09:06 PM   #3
skullhunterph
LQ Newbie
 
Registered: Apr 2005
Location: Philippines
Distribution: none yet
Posts: 4

Original Poster
Rep: Reputation: 0
thanks but, how do i check the permissions of my index file.

sorry i´m just new to linux
 
Old 04-02-2007, 07:52 AM   #4
magin
LQ Newbie
 
Registered: Mar 2007
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by skullhunterph
thanks but, how do i check the permissions of my index file.

sorry i´m just new to linux

just move to /var/www/html. (Assumming its redhat or fedora.)

#cd /var/www/html


Then issue "ls -l" for the long listing

#ls -l index.html
-rwxr-xr-x 1 root root 2344 Mar 16 14:55 index.html

This shows root is both the file owner and group of the file index.html
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache - "403 forbidden" message on any DIR below DocumentRoot stevod333 Linux - Software 12 06-12-2006 04:58 AM
Forbidden Error message from Apache.. gobi_dgm Linux - Software 1 02-02-2006 12:59 AM
Change Forbidden message helpme0904 Linux - Newbie 1 11-16-2005 12:57 PM
apache forbidden root message johann519 Linux - General 4 05-07-2004 08:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration