Linux-Noob Forums
web server, can't access - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: How Do I? (https://www.linux-noob.com/forums/forum-60.html)
+--- Thread: web server, can't access (/thread-925.html)



web server, can't access - amagab - 2008-06-09


I setup Red Hat Enterprise on a virtual machine one my iMac and have enabled port mapping on my airport extreme.

 

I have set up a web server on my linux.

 

However, when I try to access it outside my network, or inside, I get the following error page in my browser:

 

------------------------

 

Forbidden

 

You don't have permission to access /index.html on this server.

 

Apache/2.0.52 (Red Hat) Server at 66.xxx.223.xx Port 80

 

-------------------------

 

What am I doing wrong? How do I fix it?

 

Thanks!




web server, can't access - amagab - 2008-06-09

Duh!! I just realized it was the file permissions. I'm so used to hosted environments.



web server, can't access - anyweb - 2008-06-10


glad you sorted it, for the benefit of other noobs what perms did you set to fix it ?

 

normally 755 for dirs and 644 for files is sufficient