ChinaUnix.net
相关文章推荐:

apache 403错误

用浏览器访问服务器时出现403无法访问的错误 error.log文件:[Wed May 05 01:26:27 2010] [error] (13)Permission denied: Couldn't bind unix domain socket /usr/local/httpd/logs/cgisock.1560 [Wed May 05 01:26:27 2010] [warn] pid file /usr/local/httpd/logs/httpd.pid overwritten -- Unclean shutdown of previous apache run? [Wed May 05 01:26:27 2010] [notice] apache/2.2.15 (Unix) mod_jk/1.2.28 configured -- ...

by 轻逐微风 - 服务器应用 - 2010-05-31 18:35:12 阅读(3022) 回复(4)

相关讨论

请教一下各位, 我的svn弄好之后,打开网页 http://192.168.1.70:8088/repos 能够提示输入账号密码了,输入错误的账号密码如要重新输入,但是输入了正确的账号密码就显示HTTP 错误 403 - 禁止访问,我的目录在/var/www/svn/repos 我把repos权限设置成777还是不行。求解啊!!

by yaohong0225 - Linux系统管理 - 2011-07-25 17:19:56 阅读(5127) 回复(7)

今天安装了SELinux,然后apache就出问题了,403错误。 以前apache都没出过问题,现在解决了。原来是SELinux的问题。 解决方法: chcon -R -t httpd_sys_content_t 具体原因如下: apache (httpd) 403 errors & SELinux in FC3 Posted by jwigdahl @ 17 Nov 2004 10:38 am Quick fix: chcon -R -t httpd_sys_content_t Now for the meat: So in Fedora Core 3 we now have SELinux enabled by ...

by cuplinux - Linux文档专区 - 2007-04-14 12:57:59 阅读(1055) 回复(0)

将DocumentRoot设在/var/www/html下可以访问 但是将DocumentRoot设在其他目录(如:/webroot)下就出现Forbidden了。在./etc/httpd/conf/httpd.conf中的相关部分是这样的: Alias /query "/home/query" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all 但是在浏览器中输入:http://localhost/query/ 时,出现Forbidden: Forbidden You don't have permission to access /query on this server. A...

by dao123mao - Linux文档专区 - 2009-08-21 16:05:25 阅读(978) 回复(0)

我在配置 apache+SSL 中出现了一个问题,望得到大家的热心帮助! 我在本地,使用同样的步骤,方式以及命令,使用 openssl 生成证书和公钥,并配置了 apache,且最终环境测试通过! 而在远程的公司服务器上配置,存在两种结果,均不成功: 第一种情况:在服务器上浏览器中 https://... 请求时也提示“不信任的证书”,我也点“查看”了,域名和我生成证书的域名一样,而当我点“继续”后,服务器就响应 HTTP 403,我的是 Windo...

by testdown - 数据安全 - 2008-10-25 12:17:07 阅读(3983) 回复(2)

ServerAdmin [email]webmaster@hwjyw.com.cn[/email] DocumentRoot /var/web/hwjyw ServerName www.hwjyw.com.cn ErrorLog logs/www.hwjyw.com.cn-error_log CustomLog logs/www.hwjyw.com.cn-access_log common [root@localhost var]# service httpd restart Stopping httpd: [ OK ] Starting httpd: Warning: Docu...

by skyzip2 - 服务器应用 - 2007-06-24 14:43:38 阅读(2256) 回复(5)

我用的是FC3+apache+php+mysql httpd.conf下配置的servername为127.0.0.1:80 启动apache后,在地址输入localhost或者127.0.0.1后页面显示为: Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. apache/2.0.53 (Unix) Server at localhost Port 80 请问这是怎么回事呀?怎么解决? :shock:

by abcdefgwto - 服务器应用 - 2005-03-10 16:56:58 阅读(5343) 回复(6)

配置如下 ServerAdmin [email]you@example.com[/email] DocumentRoot /26xmu/EtbTz/EtbNet ServerName www.simplepay.cn ErrorLog /usr/local/apache/logs/error_etbnet_log CustomLog /usr/local/apache/logs/access_etbnet_log common AllowOverride None Options None Order allow,deny Allow from all

by zhaofus - Linux新手园地 - 2012-07-10 11:52:04 阅读(3152) 回复(4)

注释掉 httpd.conf # # AllowOverride None # Order deny,allow # Deny from all # 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/10599/showart_1273246.html

by liuxingyuyuni - BSD文档中心 - 2008-10-06 04:43:15 阅读(1436) 回复(0)

个人在根目录下新建了目录myweb做测试,用于DocumentRoot,里面存放了在安装目录下的htdocs里的所有文件,我拷贝过去的,目录和文件权限为755,并且httpd_user_content_t(不过当前情况下我的SELinux关闭掉了,这个属性存在与否应该也就无所谓了),而且没有防火墙设置,/myweb/目录及其下所有文件组:所有者为nobody:nobody。 对httpd.conf我修改了以下几个参数: DocumentRoot "/myweb/" User nobody Group nobody DirectoryI...

by fuowen20 - 服务器应用 - 2008-04-11 15:28:33 阅读(4104) 回复(2)

01. CentOS 4.4 Server CD / 仅安装开发工具包,其他均不安装; 02. yum upgrade 升级所有索引,然后安装所有必要的编译工具; 03. 源码编译安装: apache 2.2.4 PHP 5.2.3 MySQL Zend Optimizer OpenSSL OpenSSH 启动后访问 http://localhost,apache相应“It's Work!”页面,默认WEB目录在 /etc/local/apache2/htdocs。考虑到FTP上传维护的便利性,在root登录下,增加了一个webmaster账号,同时建立/home/webmaster/htdocs...

by playgamer - 服务器应用 - 2007-08-16 10:13:29 阅读(2368) 回复(4)