Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can not load my website

Status
Not open for further replies.

biswajit123

Technical User
Oct 1, 2002
11
IN
Hi,

I am using solaris and had a sys. crash sometimes back.
The system is made up again without effecting the sys config. Only by mistake i have locked the user "nobody" thinking that its not being used.

I started apache and browsed my website, it is giving
" Forbidden: You don't have permission to access / on this server.Apache/1.3.6 Server at URL. Port 80 " Error.

I checked httpd.conf using user "nobody" and group "nobody"
But I am getting the error even if I unlock back the user "nobody".

DocumentRoot/DirectoryIndex has got the right path/filename.
what could be the problem?

Is there anybody who can help.

regards
Biswajit
IISc
 
You can control access to directories in two ways. One is by creating a Directory container for it in httpd.conf then using the the following two directives:

Order allow, deny
Allow from all

This will allows access by everybody. The second is using chown or chmod. Use chown to change the owner and group of a directory or file. Use chmod to give specific Read, Write and Execute permissions to user/owner, group and world. To find out a little more on these commands, type, for example "man chmod" at the shell prompt.
 
hi RhythmAce

Thanx for ur reply. The httpd.conf is having the same <Directory> container as you said and I also tried changing the file/directory attributes.

But still im getting the same error. Do you find any other alternative?

Thanks
Biswajit
IISc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top