LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 im 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,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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 im 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 im 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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 03:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration