[英]Cannot Access Web Page on Apache 2.2 Server
I've made a simple web page for one of my classes, and uploaded it to an Apache server on campus, from which I'm to view and take a screenshot of. 我为我的一个课程制作了一个简单的网页,并将其上传到校园中的Apache服务器,从中可以查看并截图。
Before trying to view the page I created a sub-directory on the server to put my HTML file. 在尝试查看页面之前,我在服务器上创建了一个子目录来放置HTML文件。 Once the upload was complete, I changed the permissions on the file to
-rwx---rx
and on the sub-directory folder to drwx---rx
. 上传完成后,我将文件的权限更改为
-rwx---rx
,并将子目录文件夹的权限更改为drwx---rx
。
However, I'm not able to view the page. 但是,我无法查看该页面。 I keep getting a message saying
403: Forbidden. You do not have sufficient privileges to view this site on this server
我不断收到消息说
403: Forbidden. You do not have sufficient privileges to view this site on this server
403: Forbidden. You do not have sufficient privileges to view this site on this server
. 403: Forbidden. You do not have sufficient privileges to view this site on this server
。
Is there anything else that I need to do to the file and/or folder to be able to view the web page? 我需要对文件和/或文件夹进行其他操作才能查看网页吗?
Who is the owner and the group of the file? 谁是文件的所有者和组?
You probably need to change the file permissions to -rwxr--r--
and directory to drwxr-xr-x
您可能需要将文件权限更改为
-rwxr--r--
并将目录权限更改为drwxr-xr-x
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.