LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 676|回复: 5

请教教我啊!!!RedhatLinux9.0下APACHE+PHP+MYSQL的架设

[复制链接]
发表于 2003-8-7 10:52:03 | 显示全部楼层 |阅读模式
在命令终端用命令:
[root@server root]# /etc/init.d/httpd start
启动 httpd:[Tue Aug 05 10:47:08 2003] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
Syntax error on line 933 of /etc/httpd/conf/httpd.conf:
ErrorDocument takes two arguments, Change responses for HTTP errors
                                                           [失败]
[root@server root]# /etc/init.d/mysqld start
初始化 MySQL 数据库:                                      [  确定  ]
启动 MySQL:                                               [  确定  ]
发表于 2003-8-7 13:22:30 | 显示全部楼层
试一下    ......./httpd -k  start
还有,查看httpd是否已经启动了?如果启动两次,会报错
发表于 2003-8-7 13:23:37 | 显示全部楼层
你的httpd.conf,至少把错的部分贴出来啊

有个错误是说
ErrorDocument 401
后面不可以是URL (http://adfasdf/asdfa) 只能是文件名或字符串。
 楼主| 发表于 2003-8-8 09:22:11 | 显示全部楼层

[失败]

/etc/init.d/httpd start
启动 httpd:[Fri Aug 08 09:19:15 2003] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
Syntax error on line 974 of /etc/httpd/conf/httpd.conf:
Invalid command '!!!!!!!!!', perhaps mis-spelled or defined by a module not included in the server configuration
                                                           [失败]
 楼主| 发表于 2003-8-8 09:23:57 | 显示全部楼层

httpd.conf

<Directory "/">
        Options FollowSymLinks
        
        AllowOverride None
        
        
        
</Directory>

<Directory "/var/www/html">
        Options Indexes Includes FollowSymLinks
        
        AllowOverride None
        Order allow,deny
        Allow from all #################974##############
</Directory>

<Directory "/var/www/icons">
        Options Indexes MultiViews
        
        AllowOverride None
        Allow from from all

        
        Order allow,deny
</Directory>

<Directory "/var/www/cgi-bin">
        Options ExecCGI
        
        AllowOverride None
        Allow from from all

        
        Order allow,deny
</Directory>
 楼主| 发表于 2003-8-8 09:35:04 | 显示全部楼层

new

/etc/init.d/httpd start
启动 httpd:[Fri Aug 08 09:32:42 2003] [notice] cannot use a full URL in a 401 ErrorDocument directi
ve --- ignoring!
                                                           [  确定  ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表