由 huwenyue 在 08-07-2003 10:52 发表:
请教教我啊!!!RedhatLinux9.0下APACHE+PHP+MYSQL的架设
在命令终端用命令:
[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: [ 确定 ]
由 yidou 在 08-07-2003 13:22 发表:
试一下 ......./httpd -k start
还有,查看httpd是否已经启动了?如果启动两次,会报错
由 Glue 在 08-07-2003 13:23 发表:
你的httpd.conf,至少把错的部分贴出来啊
有个错误是说
ErrorDocument 401
后面不可以是URL ( http://adfasdf/asdfa ) 只能是文件名或字符串。
-_-
由 huwenyue 在 08-08-2003 09:22 发表:
[失败]
/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
[失败]
由 huwenyue 在 08-08-2003 09:23 发表:
httpd.conf
1<directory "="">
2
3Options FollowSymLinks
4
5
6
7AllowOverride None
8
9
10
11
12
13
14
15</directory>
1<directory "="" html"="" var="" www="">
2
3Options Indexes Includes FollowSymLinks
4
5
6
7AllowOverride None
8
9Order allow,deny
10
11Allow from all #################974##############
12
13</directory>
<Directory "/var/www/icons">