Can not browse web pages

enginaar

Verified User
Joined
May 20, 2004
Messages
158
Location
Turkiye
Hello,

I've created a new user and copied web pages from shell, via a site.tar file. But i can't see my web page. I've set the owners of the files as my user. Still i can only see a 403 Forbidden page.

I've tried http://domain.com/index.html and didn't worked.

I've looked at the /etc/httpd/conf/httpd.conf file and the
"Include /usr/local/directadmin/data/users/username/httpd.conf" line is OK.

Where can be the problem.
 
Make sure that the permisions give the user/group apache read permissions. So if the file is owned by user1 and group user1 then you would need world readable permissions to access that file or something like -r--r--r-- permissions. If the file were owned by apache, then -r--r----- would be sufficient. The problem is that the web service is run as user/group apache and it does not have permissions to read that file.

If that is not the problem, it could be an .htaccess file problem. Best bet is to look at the apache error log for the exact root of the problem.
 
I looked at the domains error log file and i get these results.

[Sat Jun 12 10:36:04 2004] [error] [client 81.215.112.141] (13)Permission denied: access to /403.shtml failed because search permissions are missing on a component of the path
[Sat Jun 12 10:36:16 2004] [error] [client 81.215.112.141] (13)Permission denied: access to /index.htm failed because search permissions are missing on a component of the path
[Sat Jun 12 10:36:16 2004] [error] [client 81.215.112.141] (13)Permission denied: access to /403.shtml failed because search permissions are missing on a component of the path
[Sat Jun 12 10:36:17 2004] [error] [client 81.215.112.141] (13)Permission denied: access to /index.htm failed because search permissions are missing on a component of the path

What does that mean?

All files has 644 permission (-rw-r--r--) , user and groups are OK. I can upload/download files via ftp.
 
Last edited:
I looked at the html folders permissions and saw that the owner of the html folder was set by user:user i changed it to user:apache and well done! it has fixed. I've never thought about the html folders permissions.

Thanks.
 
that is happening to me to... a new domain an be acced coz the exact same error. I doubled checked permimssinos/owners and is ok..
 
Back
Top