配置了APACHE,想支持CGI,但运行的时候总是提示 forbidden You don't have permission to access /test.cgi on this server. -------------------------------------------------------------------------------- Apache/2.2.3 (Red Hat) Server at 192.168.0.4 Port 80 test.cgi 就是那个文件,权限已经是755了。
#+++++++++++++++++++++++++++++++++ 2062 启用SELinux Apache的配置文件httpd.conf里面修改DocumentRoot无用或者出现403 forbidden错误(arbor) chcon -u system_u -t httpd_sys_content_t -R website目录 > 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/81880/showart_1327870.html
我用的是系统自带的apache 2.2.3,系统为RH server 5,apache为随系统安装时候带的RPM包 我安装了MRTG后,在/var/www/html/目录下建立mrtg目录,并将生成的index.html文件放在该目录下 我重启了httpd后仍然不能访问mrtg/index.html,提示: You don't have permission to access /mrtg/index.htmlon this server. 我在/var/www/html下做了个测试页index.html,重启后能够正常访问 我看了/var/www/html目录的权限为755,root,root,我将html...
drwxr-xr-x 2 root root 4096 Apr 10 16:50 html
drwxr-xr-x 3 root root 4096 Apr 2 15:55 icons
drwxrwxr-x 7 root root 4096 Apr 10 16:36 phpmyadmin
[root@web conf.d]# more phpmyadmin.conf
Alias /phpmyadmin /var/www/phpmyadmin
我已经把/var下所有的文件夹权限都设置成777了,但是还是出现You don't have permission to access.....,这个是怎么回事啊
系统环境 web server:solaris 8 apache1.3.6 php4.3.6 db server:solaris 8 oracle 9.2.0.1 偶尔会出现 ocisessionbegin:error while trying to retrieve text for error ora-24327 adodb-oci8.inc.php in 127 然后什么都不动,过一会刷新就好了 请问这个是什么问题,怎么解决?
本帖最后由 aboys 于 2010-07-30 16:49 编辑
Hi~[code]
Nginx中运行项目403 forbidden错误 1:出现此种错误的原因有可能是所有者对目录没有写的权限,此时可用chmod 777 目录名 先完全放开权限,如果问题解决,则在慢慢缩小访问权限。 2:我下载一个phpcms.zip放到了/opt/nginx/html目录下,unzip phpcms.zip 然后运行http://127.0.0.1/phpcms不能正常运行,提示403 forbidden, 很显然是权限的问题。 我立刻chmod -R 777 /opt/nginx/html,然后在去执行http://127.0.0.1/phpcms,...
首先我的系统是Fedora 9的。
装好了apache(httpd-2.2.9)软件,配置了一些环境。
也能正常启动了。访问htdocs下面的文件没有问题。
后面想想Alias 目录
就顺便找了个目录,我是把该目录放在/usr/local/src 目录下的。
比如:test吧。
后面就在配置文件中写上如下内容
Alias /test/ "/usr/local/src/test"
FB7, 重启也没有用处。 按照这个安装配置的,http://forum.icst.org.tw/phpBB2/viewtopic.php?p=47080 403 forbidden forbidden You don't have permission to access /cacti on this server.