|
高手来帮小菜看一下
问题一:启动不了APACHE服务,我用/usr/local/apache2/bin/apachectl start后提示如下:
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
问题二:怎样新建一个虚拟目录,好像是在配置文件里面加
Alias /test "/usr/lib/xsp/test"
AddMonoApplications default "/test:/usr/lib/xsp/test"
<Location /test>
SetHandler mono
AllowOverride None
Order allow,deny
Allow from all
</Location>
加以后提示
Syntax error on line 407 of /usr/local/apache2/conf/httpd.conf:
Invalid command 'AddMonoApplications', perhaps misspelled or defined by a module not included in the server configuration |
|