LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Forbidden Access Problems. (https://www.linuxquestions.org/questions/suse-opensuse-60/forbidden-access-problems-408805/)

ivanagrozny 01-27-2006 11:23 PM

Forbidden Access Problems.
 
I just did the http setup wizard for apache 2 with YaST set the port to port 69 and everything when i try localhost:69 or myip:69 it doesent work and says access forbidden, im wondering why its doing this?

HenchmenResourc 01-28-2006 12:18 AM

if your getting an Error 403 ACCESS FORBIDDEN message you should look at the permissions on the index.html file in you web root folder, System permissions also apply to documents served out by Apache. The default Apache user in SuSE is wwwrun so generally the permissions I put on any documents I have served out by apache are given the permission code of 755 or Owner: Read,Write,Execute Group and Others:Read,Execute. When it comes to folders on my website I give them the permission code of 711 or Owner:Read,Write,Execute Group and Other: Execute. On folders the execute permission bit lets them enter the folder, but without the read permission bit set they can not view any of the content of the folder unless they know it by name.

once again those permissions are:

permissions owner group

folder rwx--x--x myuserid users
file rwxr-xr-x myuserid users


hope this helps get things woking

ivanagrozny 01-29-2006 12:29 PM

hrmm yea im pretty sure all my permissions are 777 or something like that, when you go under permissions i made them all view and can edit, or read and write, but it still has that forbidden acesss error

Motown 02-06-2006 05:55 PM

I'm having the same damn problem. It doesn't seem to matter how loose I set permisions on the directory or the file, from any computer other than the host server, I get a 403 error. On the suse box, however, everything shows up fine. I don't have a firewall running, and hosts.allow is set to ALL:ALL

Any suggestions?


All times are GMT -5. The time now is 05:01 PM.