免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2485 | 回复: 6
打印 上一主题 下一主题

[Web] HP-UX配置apache问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-09-21 10:44 |只看该作者 |倒序浏览
我在hp-ux 上面配置一个PHP格式的网站,根目录下的文件夹中的文件不能打开,都已经设置为777了还是不行,
Apache文档的根目录
DocumentRoot /opt/hpws/apache/htdocs"

就是htdocs/下面的index.php 可以, htdocs/admin/index.php就找不到晕死了!
   

论坛徽章:
0
2 [报告]
发表于 2004-09-21 16:59 |只看该作者

HP-UX配置apache问题

chmod -R 755 htdocs
chmod -R 755 htdocs/*
试下

论坛徽章:
0
3 [报告]
发表于 2004-09-21 22:40 |只看该作者

HP-UX配置apache问题

不 行!

论坛徽章:
0
4 [报告]
发表于 2004-09-22 08:57 |只看该作者

HP-UX配置apache问题

.......
安装php4了么

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
5 [报告]
发表于 2004-09-22 09:41 |只看该作者

HP-UX配置apache问题

都不知道你的安装过程,你的配置方法

论坛徽章:
0
6 [报告]
发表于 2004-09-22 17:02 |只看该作者

HP-UX配置apache问题

装了!
# ./php-config --version
4.2.3
apache error_log提示:
[Sat Sep 18 19:00:45 2004] [error] [client 192.192.0.19] (13)Permission denied:
file permissions deny server access: /opt/hpws/apache/bbs/install.php
Tue Sep 21 15:15:58 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Tue Sep 21 15:15:58 2004] [notice] LDAP: SSL support unavailable
[Tue Sep 21 15:15:58 2004] [notice] HP-UX_Apache-based_Web_Server/2.0.46 (Unix)
mod_perl/1.99_09 Perl/v5.6.1 DAV/2 PHP/4.2.3 configured -- resuming normal opera
tions
[Tue Sep 21 15:22:13 2004] [notice] SIGHUP received.  Attempting to restart
[Tue Sep 21 15:22:13 2004] [notice] Digest: generating secret for digest authent
ication ...
[Tue Sep 21 15:22:13 2004] [notice] Digest: done
[Tue Sep 21 15:22:13 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Tue Sep 21 15:22:13 2004] [notice] LDAP: SSL support unavailable
[Tue Sep 21 15:22:13 2004] [notice] HP-UX_Apache-based_Web_Server/2.0.46 (Unix)
mod_perl/1.99_09 Perl/v5.6.1 DAV/2 PHP/4.2.3 configured -- resuming normal opera
tions
[Wed Sep 22 01:36:32 2004] [error] [client 202.155.158.21] File does not exist:
/opt/hpws/apache/htdocs/default.ida
[Wed Sep 22 04:08:07 2004] [error] [client 220.189.246.82] File does not exist:
/opt/hpws/apache/htdocs/333333
[Wed Sep 22 04:25:25 2004] [error] [client 202.194.7.237] File does not exist: /
opt/hpws/apache/htdocs/default.ida
[Wed Sep 22 15:18:42 2004] [error] [client 202.28.110.162] File does not exist:
/opt/hpws/apache/htdocs/default.ida

看提示是没有访问权限,可是我都设置为777了!
# ll
total 656
drwxrwxrwx   2 www        other         8192 Sep 18 12:45 admin
-rwxrwxrwx   1 www        other         3135 Sep 18 12:45 admin.php
drwxrwxrwx   2 www        other           96 Sep 18 17:50 attachments
drwxrwxrwx   2 www        other         8192 Sep 18 17:53 bbsdata
-rwxrwxrwx   1 www        other          200 Sep 18 12:45 faq.php
-rwxrwxrwx   1 www        other        10717 Sep 18 12:45 global.php
-rwxrwxrwx   1 www        other          840 Sep 18 12:45 header.php
drwxrwxrwx   5 www        other           96 Sep 18 12:45 images
-rwxrwxrwx   1 www        other         7004 Sep 18 12:45 index.php
drwxrwxrwx   2 www        other           96 Sep 18 12:45 ipdata
-rwxrwxrwx   1 www        other        13985 Sep 18 12:45 job.php
-rwxrwxrwx   1 www        other         2463 Sep 18 12:45 login.php
-rwxrwxrwx   1 www        other         6116 Sep 18 12:45 logo.gif
-rwxrwxrwx   1 www        other        14678 Sep 18 12:45 masingle.php
-rwxrwxrwx   1 www        other        13397 Sep 18 12:45 mawhole.php
-rwxrwxrwx   1 www        other         2328 Sep 18 12:45 member.php
这是什么原因!

论坛徽章:
0
7 [报告]
发表于 2004-09-23 09:16 |只看该作者

HP-UX配置apache问题

把详细记录发上来吧
比如怎么安装的
安装完毕以后你都做了些什么
还有你的配置文件
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP